syzbot


KCSAN: data-race in fsnotify_event_needs_parent / fsnotify_put_mark

Status: moderation: reported on 2024/05/23 10:15
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+8e392ba0f2f77b424b3f@syzkaller.appspotmail.com
First crash: 33d, last: 3h00m

Sample crash report:
==================================================================
BUG: KCSAN: data-race in fsnotify_event_needs_parent / fsnotify_put_mark

write to 0xffff888101244e94 of 4 bytes by task 3256 on cpu 0:
 fsnotify_detach_connector_from_object fs/notify/mark.c:304 [inline]
 fsnotify_put_mark+0x2d8/0x5d0 fs/notify/mark.c:367
 __do_sys_inotify_rm_watch fs/notify/inotify/inotify_user.c:819 [inline]
 __se_sys_inotify_rm_watch+0x105/0x180 fs/notify/inotify/inotify_user.c:793
 __x64_sys_inotify_rm_watch+0x31/0x40 fs/notify/inotify/inotify_user.c:793
 x64_sys_call+0x1b06/0x2d70 arch/x86/include/generated/asm/syscalls_64.h:256
 do_sysc

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/06/25 23:57 upstream 55027e689933 dec8bc94 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify_event_needs_parent / fsnotify_put_mark
2024/06/02 04:47 upstream 89be4025b0db 3113787f .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify_event_needs_parent / fsnotify_put_mark
2024/05/27 16:29 upstream 2bfcfd584ff5 761766e6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify_event_needs_parent / fsnotify_put_mark
2024/05/27 09:08 upstream 1613e604df0c a10a183e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify_event_needs_parent / fsnotify_put_mark
2024/05/23 10:15 upstream 2a8120d7b482 4c2072ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify_event_needs_parent / fsnotify_put_mark
* Struck through repros no longer work on HEAD.