summaryrefslogtreecommitdiff
path: root/security/commoncap.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2021-01-05 22:43:46 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2021-01-16 23:11:35 +0300
commitd36a1dd9f77ae1e72da48f4123ed35627848507d (patch)
tree7252b0d4174a46d062a76fea648fdde2fd992f9a /security/commoncap.c
parenta959a9782fa87669feeed095ced5d78181a7c02d (diff)
downloadlinux-d36a1dd9f77ae1e72da48f4123ed35627848507d.tar.xz
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: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'security/commoncap.c')
0 files changed, 0 insertions, 0 deletions