syzbot


KCSAN: data-race in fsnotify / fsnotify_detach_connector_from_object (3)

Status: auto-obsoleted due to no activity on 2024/05/05 06:09
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+7c0ddce2d1a4b4e14449@syzkaller.appspotmail.com
First crash: 733d, last: 52d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in fsnotify / fsnotify_detach_connector_from_object (2) fs 44 1441d 1611d 0/26 closed as invalid on 2020/06/18 14:24
upstream KCSAN: data-race in fsnotify / fsnotify_detach_connector_from_object (4) fs 1 21d 21d 0/26 moderation: reported on 2024/05/08 06:08
upstream KCSAN: data-race in fsnotify / fsnotify_detach_connector_from_object fs 2 1662d 1664d 0/26 closed as invalid on 2019/11/19 14:44

Sample crash report:
loop3: detected capacity change from 0 to 512
ext4: Unknown parameter '0x0000000000000000'
==================================================================
BUG: KCSAN: data-race in fsnotify / fsnotify_detach_connector_from_object

write to 0xffff888100e43aa4 of 4 bytes by task 12426 on cpu 0:
 fsnotify_detach_connector_from_object+0xcc/0x280 fs/notify/mark.c:253
 fsnotify_put_mark+0x198/0x3c0 fs/notify/mark.c:316
 __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
 do_syscall_64+0xd3/0x1d0
 entry_SYSCALL_64_after_hwframe+0x72/0x7a

read to 0xffff888100e43aa4 of 4 bytes by task 14671 on cpu 1:
 fsnotify+0x2b9/0x1160 fs/notify/fsnotify.c:538
 __fsnotify_parent+0x285/0x370 fs/notify/fsnotify.c:236
 fsnotify_parent include/linux/fsnotify.h:83 [inline]
 fsnotify_file include/linux/fsnotify.h:106 [inline]
 fsnotify_close include/linux/fsnotify.h:387 [inline]
 __fput+0x1ff/0x660 fs/file_table.c:408
 __fput_sync+0x44/0x60 fs/file_table.c:507
 __do_sys_close fs/open.c:1556 [inline]
 __se_sys_close+0x101/0x1b0 fs/open.c:1541
 __x64_sys_close+0x1f/0x30 fs/open.c:1541
 do_syscall_64+0xd3/0x1d0
 entry_SYSCALL_64_after_hwframe+0x72/0x7a

value changed: 0x00002008 -> 0x00000000

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 14671 Comm: syz-executor.3 Tainted: G        W          6.9.0-rc2-syzkaller-00413-gf2f80ac80987 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
==================================================================

Crashes (957):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/04/07 06:08 upstream f2f80ac80987 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_connector_from_object
2024/04/01 01:33 upstream 18737353cca0 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_connector_from_object
2024/03/28 06:08 upstream 498e47cd1d1f 120789fd .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_connector_from_object
2024/03/26 21:53 upstream 928a87efa423 454571b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_connector_from_object
2024/03/12 12:05 upstream 855684c7d938 c35c26ec .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_connector_from_object
2024/03/10 12:21 upstream 005f6f34bd47 6ee49f2e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_connector_from_object
2024/03/09 20:09 upstream 09e5c48fea17 6ee49f2e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_connector_from_object
2024/03/09 13:18 upstream 10d48d70e82d 6ee49f2e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_connector_from_object
2024/03/08 23:33 upstream 10d48d70e82d 8e75c913 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_connector_from_object
2024/03/08 06:29 upstream 3aaa8ce7a335 cf82cde1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_connector_from_object
2024/03/07 19:52 upstream 135288b73cef 2b789849 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_connector_from_object
2024/03/06 13:58 upstream 5847c9777c30 f39a7eed .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_connector_from_object
2024/03/05 23:37 upstream 29cd507cbec2 f39a7eed .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_connector_from_object
2024/03/05 16:02 upstream 90d35da658da f39a7eed .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_connector_from_object
2024/03/05 12:31 upstream 90d35da658da 5fc53669 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_connector_from_object
2024/03/04 15:59 upstream 90d35da658da 3717835d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_connector_from_object
2024/03/03 22:37 upstream 58c806d867bf 25905f5d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_connector_from_object
2024/03/03 08:22 upstream 04b8076df253 25905f5d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_connector_from_object
2024/03/03 03:45 upstream 5ad3cb0ed525 25905f5d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_connector_from_object
2024/03/02 03:56 upstream 17ba56605bfd 25905f5d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_connector_from_object
2024/03/02 00:19 upstream 17ba56605bfd 83acf9e0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_connector_from_object
2024/03/01 05:49 upstream 87adedeba51a 352ab904 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_connector_from_object
2024/02/29 06:33 upstream e326df53af00 352ab904 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_connector_from_object
2024/02/28 18:12 upstream cf1182944c7c 55d6f11d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_connector_from_object
2024/02/28 04:29 upstream cf1182944c7c d367cbe5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_connector_from_object
2024/02/27 03:31 upstream 45ec2f5f6ed3 05e69c83 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_connector_from_object
2024/02/26 18:17 upstream d206a76d7d27 da36a36b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_connector_from_object
2024/02/26 02:58 upstream 70ff1fe626a1 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_connector_from_object
2024/02/25 18:26 upstream ab0a97cffa0b 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_connector_from_object
2024/02/24 05:10 upstream 603c04e27c3e 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_connector_from_object
2024/02/23 14:06 upstream ffd2cb6b718e 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_connector_from_object
2024/02/21 11:24 upstream 9fc1ccccfd8d 3af7dd65 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_connector_from_object
2024/02/21 01:30 upstream fca7526b7d89 3af7dd65 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_connector_from_object
2024/02/19 13:13 upstream b401b621758e 3af7dd65 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_connector_from_object
2024/02/19 11:54 upstream b401b621758e 578f7538 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_connector_from_object
2024/02/18 16:13 upstream c02197fc9076 578f7538 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_connector_from_object
2024/02/18 05:24 upstream ced590523156 578f7538 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_connector_from_object
2024/02/17 09:56 upstream c1ca10ceffbb 578f7538 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_connector_from_object
2024/02/16 19:42 upstream 0f1dd5e91e2b 578f7538 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_connector_from_object
2024/02/16 06:59 upstream 4f5e5092fdbf 578f7538 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_connector_from_object
2024/02/15 12:11 upstream 8d3dea210042 d9b1cdd5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_connector_from_object
2024/02/14 20:16 upstream 7e90b5c295ec d9b1cdd5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_connector_from_object
2024/02/14 05:28 upstream 7e90b5c295ec d902085f .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_connector_from_object
2024/02/14 01:19 upstream c664e16bb1ba e66542d7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_connector_from_object
2024/02/13 08:55 upstream c664e16bb1ba 77b23aa1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_connector_from_object
2024/02/13 02:38 upstream 716f4aaa7b48 77b23aa1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_connector_from_object
2024/02/12 05:16 upstream 841c35169323 77b23aa1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_connector_from_object
2024/02/11 15:59 upstream 7521f258ea30 77b23aa1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_connector_from_object
2023/12/07 21:08 upstream bee0e7762ad2 0a02ce36 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_connector_from_object
2023/12/05 04:54 upstream bee0e7762ad2 f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_connector_from_object
2022/05/27 05:31 upstream 16477cdfefdb 3037caa9 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in fsnotify / fsnotify_detach_connector_from_object
* Struck through repros no longer work on HEAD.