summaryrefslogtreecommitdiffstats
path: root/include/drm/drm_connector.h
diff options
context:
space:
mode:
authorAl Viro2019-03-26 02:43:37 +0100
committerAl Viro2019-04-01 06:31:02 +0200
commit93b919da64c15b90953f96a536e5e61df896ca57 (patch)
tree61aa43c048da6f2f480bd999cd9835cf3ef47d9d /include/drm/drm_connector.h
parentubifs: fix use-after-free on symlink traversal (diff)
downloadkernel-qcow2-linux-93b919da64c15b90953f96a536e5e61df896ca57.tar.gz
kernel-qcow2-linux-93b919da64c15b90953f96a536e5e61df896ca57.tar.xz
kernel-qcow2-linux-93b919da64c15b90953f96a536e5e61df896ca57.zip
debugfs: fix use-after-free on symlink traversal
symlink body shouldn't be freed without an RCU delay. Switch debugfs to ->destroy_inode() and use of call_rcu(); free both the inode and symlink body in the callback. Similar to solution for bpf, only here it's even more obvious that ->evict_inode() can be dropped. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/drm/drm_connector.h')
0 files changed, 0 insertions, 0 deletions