syzbot


KCSAN: data-race in fsnotify / fsnotify_put_mark

Status: auto-closed as invalid on 2022/06/30 10:12
Reported-by: syzbot+68fa3855e60a3d51a81d@syzkaller.appspotmail.com
First crash: 903d, last: 196d

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

write to 0xffff8881027f9c2c of 4 bytes by task 2452 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+0x46/0xb0

read to 0xffff8881027f9c2c of 4 bytes by task 1859 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_open include/linux/fsnotify.h:330 [inline]
 do_sys_openat2+0x23a/0x2a0 fs/open.c:1218
 do_sys_open fs/open.c:1229 [inline]
 __do_sys_openat fs/open.c:1245 [inline]
 __se_sys_openat fs/open.c:1240 [inline]
 __x64_sys_openat+0xef/0x110 fs/open.c:1240
 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+0x46/0xb0

value changed: 0x00002008 -> 0x00000000

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 1859 Comm: syz-executor.3 Not tainted 5.18.0-syzkaller-07496-gd7227785e384-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (832):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2022/05/26 10:11 upstream d7227785e384 3037caa9 .config log report info KCSAN: data-race in fsnotify / fsnotify_put_mark
ci2-upstream-kcsan-gce 2022/05/25 13:35 upstream fdaf9a5840ac 3037caa9 .config log report info KCSAN: data-race in fsnotify / fsnotify_put_mark
ci2-upstream-kcsan-gce 2022/05/24 23:28 upstream 0350785b0a09 647c0e27 .config log report info KCSAN: data-race in fsnotify / fsnotify_put_mark
ci2-upstream-kcsan-gce 2022/05/24 16:16 upstream 143a6252e1b8 fcfad4ff .config log report info KCSAN: data-race in fsnotify / fsnotify_put_mark
ci2-upstream-kcsan-gce 2022/05/23 23:39 upstream 140e40e39a29 e7f9308d .config log report info KCSAN: data-race in fsnotify / fsnotify_put_mark
ci2-upstream-kcsan-gce 2022/05/23 12:45 upstream 4b0986a3613c 4c7657cb .config log report info KCSAN: data-race in fsnotify / fsnotify_put_mark
ci2-upstream-kcsan-gce 2022/05/22 21:10 upstream 978df3e15846 7268fa62 .config log report info KCSAN: data-race in fsnotify / fsnotify_put_mark
ci2-upstream-kcsan-gce 2022/05/22 10:26 upstream eaea45fc0e7b 7268fa62 .config log report info KCSAN: data-race in fsnotify / fsnotify_put_mark
ci2-upstream-kcsan-gce 2022/05/21 20:41 upstream 6c3f5bec9b40 7268fa62 .config log report info KCSAN: data-race in fsnotify / fsnotify_put_mark
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 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
* Struck through repros no longer work on HEAD.