syzbot


KCSAN: data-race in fsnotify / fsnotify_detach_mark (9)

Status: auto-obsoleted due to no activity on 2023/04/10 23:59
Subsystems: fs
[Documentation on labels]
First crash: 752d, last: 512d
Similar bugs (8)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in fsnotify / fsnotify_detach_mark (5) fs 2 1303d 1290d 0/27 auto-closed as invalid on 2020/12/28 12:08
upstream KCSAN: data-race in fsnotify / fsnotify_detach_mark (4) fs 1 1359d 1359d 0/27 auto-closed as invalid on 2020/11/02 17:43
upstream KCSAN: data-race in fsnotify / fsnotify_detach_mark (8) fs 1 907d 907d 0/27 auto-closed as invalid on 2022/01/29 00:14
upstream KCSAN: data-race in fsnotify / fsnotify_detach_mark fs 6 1517d 1663d 0/27 auto-closed as invalid on 2020/06/18 13:43
upstream KCSAN: data-race in fsnotify / fsnotify_detach_mark (7) fs 1 987d 987d 0/27 auto-closed as invalid on 2021/11/09 20:25
upstream KCSAN: data-race in fsnotify / fsnotify_detach_mark (6) fs 1 1262d 1262d 0/27 auto-closed as invalid on 2021/02/08 06:39
upstream KCSAN: data-race in fsnotify / fsnotify_detach_mark (2) fs 1 1454d 1454d 0/27 auto-closed as invalid on 2020/07/31 05:33
upstream KCSAN: data-race in fsnotify / fsnotify_detach_mark (3) fs 1 1403d 1403d 0/27 auto-closed as invalid on 2020/09/19 20:21

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

write to 0xffff888101976544 of 4 bytes by task 4884 on cpu 1:
 fsnotify_detach_mark+0xdd/0x180 fs/notify/mark.c:455
 fsnotify_destroy_mark+0xae/0x1c0 fs/notify/mark.c:497
 __do_sys_inotify_rm_watch fs/notify/inotify/inotify_user.c:817 [inline]
 __se_sys_inotify_rm_watch+0xf7/0x170 fs/notify/inotify/inotify_user.c:794
 __x64_sys_inotify_rm_watch+0x2d/0x40 fs/notify/inotify/inotify_user.c:794
 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+0x63/0xcd

read to 0xffff888101976544 of 4 bytes by task 7681 on cpu 0:
 fsnotify_handle_inode_event fs/notify/fsnotify.c:256 [inline]
 fsnotify_handle_event fs/notify/fsnotify.c:316 [inline]
 send_to_group fs/notify/fsnotify.c:364 [inline]
 fsnotify+0x12f8/0x1550 fs/notify/fsnotify.c:570
 __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+0x4b0/0x570 fs/file_table.c:306
 ____fput+0x11/0x20 fs/file_table.c:348
 task_work_run+0xde/0x110 kernel/task_work.c:179
 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
 exit_to_user_mode_loop+0x124/0x130 kernel/entry/common.c:171
 exit_to_user_mode_prepare kernel/entry/common.c:203 [inline]
 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline]
 syscall_exit_to_user_mode+0x6a/0x90 kernel/entry/common.c:296
 do_syscall_64+0x37/0x70 arch/x86/entry/common.c:86
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

value changed: 0x00000003 -> 0x00000000

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 7681 Comm: syz-executor.5 Not tainted 6.2.0-rc5-syzkaller-00013-g2475bf0250de-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
==================================================================
netlink: 24 bytes leftover after parsing attributes in process `syz-executor.5'.

Crashes (31):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/01/23 13:20 upstream 2475bf0250de 44388686 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_mark
2023/01/15 07:21 upstream 7c6984405241 a63719e7 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_mark
2023/01/10 06:25 upstream 1fe4fd6f5cad 48bc529a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_mark
2023/01/07 02:37 upstream 1f5abbd77e2c 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_mark
2022/12/23 18:49 upstream 8395ae05cb5a 9da18ae8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_mark
2022/12/23 02:07 upstream 0a924817d2ed 9da18ae8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_mark
2022/12/12 08:59 upstream 4cee37b3a4e6 67be1ae7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_mark
2022/12/10 11:31 upstream 3ecc37918c80 67be1ae7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_mark
2022/12/05 07:37 upstream 0ba09b173387 e080de16 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_mark
2022/11/20 16:33 upstream 77c51ba552a1 5bb70014 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_mark
2022/11/15 05:11 upstream e01d50cbd6ee 97de9cfc .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_mark
2022/11/07 19:12 upstream f0c4d9fc9cc9 a779b11a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_mark
2022/10/25 03:38 upstream 337a0a0b63f1 faae2fda .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_mark
2022/10/24 18:07 upstream 247f34f7b803 faae2fda .config console log report info [disk image] [vmlinux] ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_mark
2022/10/06 23:17 upstream 833477fce7a1 80b58a42 .config console log report info [disk image] [vmlinux] ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_mark
2022/09/25 08:05 upstream 1a61b828566f 0042f2b4 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_mark
2022/09/22 18:32 upstream dc164f4fb00a 0042f2b4 .config console log report info [disk image] [vmlinux] ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_mark
2022/09/14 17:26 upstream 3245cb65fd91 b884348d .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_mark
2022/08/27 01:46 upstream e022620b5d05 07177916 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_mark
2022/08/23 08:54 upstream 072e51356cd5 26a13b38 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_mark
2022/08/21 21:15 upstream e3f259d33c0e 26a13b38 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_mark
2022/08/19 17:33 upstream 4c2d0b039c5c 26a13b38 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_mark
2022/07/31 10:46 upstream 6a010258447d fef302b1 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_mark
2022/07/17 14:00 upstream 972a278fe60c 95cb00d1 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_mark
2022/06/19 20:15 upstream 05c6ca8512f2 8f633d84 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_mark
2022/06/14 15:53 upstream b13baccc3850 127d1faf .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_mark
2022/06/11 14:37 upstream 0885eacdc81f 0d5abf15 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_mark
2022/06/08 17:21 upstream 34f4335c16a5 b2706118 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_mark
2022/06/06 04:40 upstream f2906aa86338 c8857892 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_mark
2022/05/31 14:16 upstream 8ab2afa23bd1 af70c3a9 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_mark
2022/05/28 13:17 upstream 9d004b2f4fea a46af346 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_mark
* Struck through repros no longer work on HEAD.