]> 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:33:55 +0000 (13:33 +0100)
commit9ed87718876b303ed074d8ab25eef1d88fd825e5
tree3ad24d809644fbedce54eab1c72a97e1aa52fe1a
parent717196d0326156a41ad8186f204dd378448069ae
ext4: fix possible double unlock when moving a directory

commit ae7f28a94c8fca8514e031ba80fb5c6161e730b2 upstream.

Fixes: 9561e8b4f5bb ("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