summaryrefslogtreecommitdiff
path: root/arch/powerpc/sysdev/timer.c
diff options
context:
space:
mode:
authorNeilBrown <neil@brown.name>2025-11-28 12:22:35 +1100
committerChristian Brauner <brauner@kernel.org>2025-11-28 10:42:32 +0100
commite9c70084a64e51b65bb68f810692a03dc8bedffa (patch)
treec60df6e8d321623c713abde42894ee7ebf8e701b /arch/powerpc/sysdev/timer.c
parent7b6dcd9bfd869eee7693e45b1817dac8c56e5f86 (diff)
ovl: fail ovl_lock_rename_workdir() if either target is unhashed
As well as checking that the parent hasn't changed after getting the lock we need to check that the dentry hasn't been unhashed. Otherwise we might try to rename something that has been removed. Reported-by: syzbot+bfc9a0ccf0de47d04e8c@syzkaller.appspotmail.com Fixes: d2c995581c7c ("ovl: Call ovl_create_temp() without lock held.") Signed-off-by: NeilBrown <neil@brown.name> Link: https://patch.msgid.link/176429295510.634289.1552337113663461690@noble.neil.brown.name Tested-by: syzbot+bfc9a0ccf0de47d04e8c@syzkaller.appspotmail.com Reviewed-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'arch/powerpc/sysdev/timer.c')
0 files changed, 0 insertions, 0 deletions