aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_fortify/write_overflow-strlcpy-src.c
diff options
context:
space:
mode:
authorNeilBrown <[email protected]>2025-11-28 01:22:35 +0000
committerChristian Brauner <[email protected]>2025-11-28 09:42:32 +0000
commite9c70084a64e51b65bb68f810692a03dc8bedffa (patch)
treec60df6e8d321623c713abde42894ee7ebf8e701b /lib/test_fortify/write_overflow-strlcpy-src.c
parentfs/namespace: fix reference leak in grab_requested_mnt_ns (diff)
downloadkernel-e9c70084a64e51b65bb68f810692a03dc8bedffa.tar.gz
kernel-e9c70084a64e51b65bb68f810692a03dc8bedffa.zip
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: [email protected] Fixes: d2c995581c7c ("ovl: Call ovl_create_temp() without lock held.") Signed-off-by: NeilBrown <[email protected]> Link: https://patch.msgid.link/[email protected] Tested-by: [email protected] Reviewed-by: Amir Goldstein <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions