diff options
author | 2025-01-06 12:08:42 +0100 | |
---|---|---|
committer | 2025-01-06 12:08:42 +0100 | |
commit | 0c0214df28f0dba8de084cb4dedc0c459dfbc083 (patch) | |
tree | 3f5e8fd9f5e1f1be6cd1784bbd05b724459df008 /scripts/generate_rust_analyzer.py | |
parent | fs: don't block write during exec on pre-content watched files (diff) | |
download | wireguard-linux-0c0214df28f0dba8de084cb4dedc0c459dfbc083.tar.xz wireguard-linux-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: syzbot+6a3aa63412255587b21b@syzkaller.appspotmail.com
Fixes: ebe559609d78 ("fs: get rid of __FMODE_NONOTIFY kludge")
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions