summaryrefslogtreecommitdiffstats
path: root/init/initramfs.c
diff options
context:
space:
mode:
authorBaokun Li <libaokun1@huawei.com>2021-11-15 02:31:43 +0100
committerRichard Weinberger <richard@nod.at>2021-12-23 22:28:23 +0100
commit0d76502172d83e1e09aedbdced3d8be0ef1abcb5 (patch)
treee02cb685339c7435445626520ecd116925833bfa /init/initramfs.c
parentubifs: fix slab-out-of-bounds in ubifs_change_lp (diff)
downloadlinux-0d76502172d83e1e09aedbdced3d8be0ef1abcb5.tar.xz
linux-0d76502172d83e1e09aedbdced3d8be0ef1abcb5.zip
ubifs: fix double return leb in ubifs_garbage_collect
If ubifs_garbage_collect_leb() returns -EAGAIN and enters the "out" branch, ubifs_return_leb will execute twice on the same lnum. This can cause data loss in concurrency situations. Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Baokun Li <libaokun1@huawei.com> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'init/initramfs.c')
0 files changed, 0 insertions, 0 deletions