aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorJan Kara <[email protected]>2025-01-06 11:08:42 +0000
committerJan Kara <[email protected]>2025-01-06 11:08:42 +0000
commit0c0214df28f0dba8de084cb4dedc0c459dfbc083 (patch)
tree3f5e8fd9f5e1f1be6cd1784bbd05b724459df008 /security/selinux/hooks.c
parentfs: don't block write during exec on pre-content watched files (diff)
downloadkernel-0c0214df28f0dba8de084cb4dedc0c459dfbc083.tar.gz
kernel-0c0214df28f0dba8de084cb4dedc0c459dfbc083.zip
fanotify: Fix crash in fanotify_init(2)
The rrror handling in fanotify_init(2) is buggy and overwrites 'fd' before calling put_unused_fd() leading to possible access beyond the end of fd bitmap. Fix it. Reported-by: [email protected] Fixes: ebe559609d78 ("fs: get rid of __FMODE_NONOTIFY kludge") Signed-off-by: Jan Kara <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions