]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: fix possible double unlock when moving a directory
authorTheodore Ts'o <tytso@mit.edu>
Sat, 18 Mar 2023 01:53:52 +0000 (21:53 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Mar 2023 12:28:08 +0000 (13:28 +0100)
commit900fdf72b4f1a80c0cec2cda3fc03307d627a028
tree3f2dc95d3d305b775059755166e5bc62beb43f7b
parent2947178d876cac7ae92bf5396bed478177e6776a
ext4: fix possible double unlock when moving a directory

commit 70e42feab2e20618ddd0cbfc4ab4b08628236ecd upstream.

Fixes: 0813299c586b ("ext4: Fix possible corruption when moving a directory")
Link: https://lore.kernel.org/r/5efbe1b9-ad8b-4a4f-b422-24824d2b775c@kili.mountain
Reported-by: Dan Carpenter <error27@gmail.com>
Reported-by: syzbot+0c73d1d8b952c5f3d714@syzkaller.appspotmail.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ext4/namei.c