syzbot


KCSAN: data-race in fsnotify / fsnotify_put_mark
Status: moderation: reported on 2020/08/12 16:37
Reported-by: syzbot+68fa3855e60a3d51a81d@syzkaller.appspotmail.com
First crash: 701d, last: 6h12m

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

write to 0xffff888102701f1c of 4 bytes by task 2051 on cpu 1:
 fsnotify_detach_connector_from_object fs/notify/mark.c:215 [inline]
 fsnotify_put_mark+0x2b9/0x6d0 fs/notify/mark.c:274
 __do_sys_inotify_rm_watch fs/notify/inotify/inotify_user.c:807 [inline]
 __se_sys_inotify_rm_watch+0xff/0x170 fs/notify/inotify/inotify_user.c:781
 __x64_sys_inotify_rm_watch+0x2d/0x40 fs/notify/inotify/inotify_user.c:781
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

read to 0xffff888102701f1c of 4 bytes by task 1441 on cpu 0:
 fsnotify+0x2b9/0x1680 fs/notify/fsnotify.c:526
 __fsnotify_parent+0x30b/0x470 fs/notify/fsnotify.c:230
 fsnotify_parent include/linux/fsnotify.h:77 [inline]
 fsnotify_file include/linux/fsnotify.h:99 [inline]
 fsnotify_close include/linux/fsnotify.h:341 [inline]
 __fput+0x1d7/0x510 fs/file_table.c:303
 ____fput+0x11/0x20 fs/file_table.c:350
 task_work_run+0x8e/0x110 kernel/task_work.c:164
 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
 exit_to_user_mode_loop+0x124/0x130 kernel/entry/common.c:169
 exit_to_user_mode_prepare kernel/entry/common.c:201 [inline]
 __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline]
 syscall_exit_to_user_mode+0x6a/0x90 kernel/entry/common.c:294
 do_syscall_64+0x37/0x70 arch/x86/entry/common.c:86
 entry_SYSCALL_64_after_hwframe+0x44/0xae

value changed: 0x00002008 -> 0x00000000

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 1441 Comm: udevd Not tainted 5.18.0-rc7-syzkaller-00136-g3b5e1590a267-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (823):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2022/05/21 05:54 upstream 3b5e1590a267 7268fa62 .config log report info KCSAN: data-race in fsnotify / fsnotify_put_mark
ci2-upstream-kcsan-gce 2022/05/20 19:34 upstream 3d7285a335ed bd37ad7e .config log report info KCSAN: data-race in fsnotify / fsnotify_put_mark
ci2-upstream-kcsan-gce 2022/05/20 07:26 upstream b015dcd62b86 cb1ac2e7 .config log report info KCSAN: data-race in fsnotify / fsnotify_put_mark
ci2-upstream-kcsan-gce 2022/05/19 13:19 upstream f993aed406ea cb1ac2e7 .config log report info KCSAN: data-race in fsnotify / fsnotify_put_mark
ci2-upstream-kcsan-gce 2022/05/19 06:01 upstream f993aed406ea 50c53f39 .config log report info KCSAN: data-race in fsnotify / fsnotify_put_mark
ci2-upstream-kcsan-gce 2022/05/18 17:57 upstream ef1302160bfb 50c53f39 .config log report info KCSAN: data-race in fsnotify / fsnotify_put_mark
ci2-upstream-kcsan-gce 2022/05/18 05:32 upstream 210e04ff7681 744a39e2 .config log report info KCSAN: data-race in fsnotify / fsnotify_put_mark
ci2-upstream-kcsan-gce 2022/05/16 09:16 upstream 42226c989789 744a39e2 .config log report info KCSAN: data-race in fsnotify / fsnotify_put_mark
ci2-upstream-kcsan-gce 2022/05/15 15:11 upstream bc403203d65a 744a39e2 .config log report info KCSAN: data-race in fsnotify / fsnotify_put_mark
ci2-upstream-kcsan-gce 2022/05/15 00:20 upstream 2fe1020d73ca 744a39e2 .config log report info KCSAN: data-race in fsnotify / fsnotify_put_mark
ci2-upstream-kcsan-gce 2022/05/14 11:51 upstream ec7f49619d8e 744a39e2 .config log report info KCSAN: data-race in fsnotify / fsnotify_put_mark
ci2-upstream-kcsan-gce 2022/05/14 00:04 upstream f2dd007445b1 107f6434 .config log report info KCSAN: data-race in fsnotify / fsnotify_put_mark
ci2-upstream-kcsan-gce 2022/05/13 08:45 upstream f3f19f939c11 9ad6612a .config log report info KCSAN: data-race in fsnotify / fsnotify_put_mark
ci2-upstream-kcsan-gce 2022/05/12 23:17 upstream 0ac824f379fb 9ad6612a .config log report info KCSAN: data-race in fsnotify / fsnotify_put_mark
ci2-upstream-kcsan-gce 2022/05/11 20:24 upstream feb9c5e19e91 beb0b407 .config log report info KCSAN: data-race in fsnotify / fsnotify_put_mark
ci2-upstream-kcsan-gce 2022/05/11 00:18 upstream feb9c5e19e91 8d7b3b67 .config log report info KCSAN: data-race in fsnotify / fsnotify_put_mark
ci2-upstream-kcsan-gce 2022/05/09 22:03 upstream 9be9ed2612b5 8b277b8e .config log report info KCSAN: data-race in fsnotify / fsnotify_put_mark
ci2-upstream-kcsan-gce 2022/05/09 13:37 upstream c5eb0a61238d 8b277b8e .config log report info KCSAN: data-race in fsnotify / fsnotify_put_mark
ci2-upstream-kcsan-gce 2022/05/09 05:01 upstream c5eb0a61238d e60b1103 .config log report info KCSAN: data-race in fsnotify / fsnotify_put_mark
ci2-upstream-kcsan-gce 2022/05/09 03:21 upstream c5eb0a61238d e60b1103 .config log report info KCSAN: data-race in fsnotify / fsnotify_put_mark
ci2-upstream-kcsan-gce 2022/05/09 02:03 upstream c5eb0a61238d e60b1103 .config log report info KCSAN: data-race in fsnotify / fsnotify_put_mark
ci2-upstream-kcsan-gce 2022/05/08 17:57 upstream 379c72654524 e60b1103 .config log report info KCSAN: data-race in fsnotify / fsnotify_put_mark
ci2-upstream-kcsan-gce 2022/05/08 10:06 upstream 30c8e80f7932 e60b1103 .config log report info KCSAN: data-race in fsnotify / fsnotify_put_mark
ci2-upstream-kcsan-gce 2022/05/07 12:41 upstream 4b97bac0756a e60b1103 .config log report info KCSAN: data-race in fsnotify / fsnotify_put_mark
ci2-upstream-kcsan-gce 2022/05/07 09:03 upstream 4b97bac0756a e60b1103 .config log report info KCSAN: data-race in fsnotify / fsnotify_put_mark
ci2-upstream-kcsan-gce 2022/05/07 04:40 upstream 4b97bac0756a e60b1103 .config log report info KCSAN: data-race in fsnotify / fsnotify_put_mark
ci2-upstream-kcsan-gce 2022/05/07 02:17 upstream 4b97bac0756a e60b1103 .config log report info KCSAN: data-race in fsnotify / fsnotify_put_mark
ci2-upstream-kcsan-gce 2022/05/06 14:36 upstream fe27d189e3f4 efeff0a5 .config log report info KCSAN: data-race in fsnotify / fsnotify_put_mark
ci2-upstream-kcsan-gce 2022/05/05 13:57 upstream a7391ad35724 b3f09415 .config log report info KCSAN: data-race in fsnotify / fsnotify_put_mark
ci2-upstream-kcsan-gce 2022/05/05 00:36 upstream a7391ad35724 dc9e5259 .config log report info KCSAN: data-race in fsnotify / fsnotify_put_mark
ci2-upstream-kcsan-gce 2022/05/04 16:31 upstream 107c948d1d3e dc9e5259 .config log report info KCSAN: data-race in fsnotify / fsnotify_put_mark
ci2-upstream-kcsan-gce 2022/05/03 18:00 upstream ef8e4d3c2ab1 dc9e5259 .config log report info KCSAN: data-race in fsnotify / fsnotify_put_mark
ci2-upstream-kcsan-gce 2022/05/03 14:47 upstream 9050ba3a61a4 2df221f6 .config log report info KCSAN: data-race in fsnotify / fsnotify_put_mark
ci2-upstream-kcsan-gce 2022/05/02 13:19 upstream 672c0c517342 2df221f6 .config log report info KCSAN: data-race in fsnotify / fsnotify_put_mark
ci2-upstream-kcsan-gce 2022/05/01 22:07 upstream b2da7df52e16 2df221f6 .config log report info KCSAN: data-race in fsnotify / fsnotify_put_mark
ci2-upstream-kcsan-gce 2022/04/30 23:55 upstream 57ae8a492116 2df221f6 .config log report info KCSAN: data-race in fsnotify / fsnotify_put_mark
ci2-upstream-kcsan-gce 2022/04/30 12:22 upstream 8013d1d3d2e3 2df221f6 .config log report info KCSAN: data-race in fsnotify / fsnotify_put_mark
ci2-upstream-kcsan-gce 2022/04/30 04:45 upstream 8013d1d3d2e3 ad6b95d8 .config log report info KCSAN: data-race in fsnotify / fsnotify_put_mark
ci2-upstream-kcsan-gce 2022/04/29 20:13 upstream 38d741cb70b3 44a5ca63 .config log report info KCSAN: data-race in fsnotify / fsnotify_put_mark
ci2-upstream-kcsan-gce 2022/04/29 10:00 upstream 38d741cb70b3 e9076525 .config log report info KCSAN: data-race in fsnotify / fsnotify_put_mark
ci2-upstream-kcsan-gce 2022/04/28 22:14 upstream 259b897e5a79 e9076525 .config log report info KCSAN: data-race in fsnotify / fsnotify_put_mark
ci2-upstream-kcsan-gce 2022/04/28 01:56 upstream 8f4dd16603ce 8a1f1f07 .config log report info KCSAN: data-race in fsnotify / fsnotify_put_mark
ci2-upstream-kcsan-gce 2022/04/27 14:58 upstream 46cf2c613f4b 1fa34c1b .config log report info KCSAN: data-race in fsnotify / fsnotify_put_mark
ci2-upstream-kcsan-gce 2022/04/27 03:48 upstream cf424ef014ac 1fa34c1b .config log report info KCSAN: data-race in fsnotify / fsnotify_put_mark
ci2-upstream-kcsan-gce 2021/01/15 16:00 upstream 146620506274 65a7a854 .config log report info
ci2-upstream-kcsan-gce 2020/08/12 04:43 upstream bb5baaa9238e bb3e5fe6 .config log report
ci2-upstream-kcsan-gce 2020/06/18 14:52 upstream 1b5044021070 3ea11d3f .config log report