Skip to content
Commit d36a1dd9 authored by Al Viro's avatar Al Viro
Browse files

dump_common_audit_data(): fix racy accesses to ->d_name



We are not guaranteed the locking environment that would prevent
dentry getting renamed right under us.  And it's possible for
old long name to be freed after rename, leading to UAF here.

Cc: stable@kernel.org # v2.6.2+
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent a959a978
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment