syzbot


KCSAN: data-race in dentry_unlink_inode / step_into

Status: moderation: reported syz repro on 2023/12/08 00:00
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+10935029822fbc89bbfa@syzkaller.appspotmail.com
First crash: 840d, last: 2h21m

Sample crash report:
==================================================================
BUG: KCSAN: data-race in dentry_unlink_inode / step_into

write to 0xffff88810acf5930 of 8 bytes by task 3114 on cpu 1:
 __d_clear_type_and_inode fs/dcache.c:358 [inline]
 dentry_unlink_inode+0x65/0x240 fs/dcache.c:391
 d_delete+0x70/0xa0 fs/dcache.c:2565
 d_delete_notify+0x30/0xe0 include/linux/fsnotify.h:259
 vfs_unlink+0x306/0x3e0 fs/namei.c:4267
 do_unlinkat+0x258/0x510 fs/namei.c:4320
 __do_sys_unlink fs/namei.c:4368 [inline]
 __se_sys_unlink fs/namei.c:4366 [inline]
 __x64_sys_unlink+0x2c/0x30 fs/namei.c:4366
 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 0xffff88810acf5930 of 8 bytes by task 2737 on cpu 0:
 step_into+0x115/0x7d0 fs/namei.c:1835
 walk_component+0x164/0x230 fs/namei.c:1999
 lookup_last fs/namei.c:2450 [inline]
 path_lookupat+0x11d/0x2b0 fs/namei.c:2474
 filename_lookup+0x133/0x310 fs/namei.c:2503
 user_path_at_empty+0x3e/0x110 fs/namei.c:2876
 do_readlinkat+0x98/0x210 fs/stat.c:471
 __do_sys_readlink fs/stat.c:504 [inline]
 __se_sys_readlink fs/stat.c:501 [inline]
 __x64_sys_readlink+0x43/0x50 fs/stat.c:501
 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

value changed: 0xffff88810bc26a58 -> 0x0000000000000000

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 2737 Comm: udevd Not tainted 6.1.0-syzkaller-13822-g6feb57c2fd7c-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
==================================================================

Crashes (1538):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/12/21 03:28 upstream 6feb57c2fd7c d3e76707 .config console log report syz [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dentry_unlink_inode / step_into
2022/12/15 08:56 upstream e2ca6ba6ba01 b18f0a64 .config console log report syz [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dentry_unlink_inode / step_into
2024/11/21 04:36 upstream 8f7c8b88bda4 4b25d554 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dentry_unlink_inode / step_into
2024/11/20 22:33 upstream 8f7c8b88bda4 4fca1650 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dentry_unlink_inode / step_into
2024/11/20 12:25 upstream bf9aa14fc523 4fca1650 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dentry_unlink_inode / step_into
2024/11/20 06:54 upstream bf9aa14fc523 7d02db5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dentry_unlink_inode / step_into
2024/11/19 19:07 upstream 158f238aa69d 7d02db5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dentry_unlink_inode / step_into
2024/11/18 23:01 upstream 23acd177540d e7bb5d6e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dentry_unlink_inode / step_into
2024/11/18 10:11 upstream adc218676eef e7bb5d6e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dentry_unlink_inode / step_into
2024/11/17 11:23 upstream 4a5df3796467 cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dentry_unlink_inode / step_into
2024/11/16 22:05 upstream b5a24181e461 cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dentry_unlink_inode / step_into
2024/11/16 12:27 upstream e8bdb3c8be08 cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dentry_unlink_inode / step_into
2024/11/15 19:28 upstream f868cd251776 cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dentry_unlink_inode / step_into
2024/11/15 17:46 upstream cfaaa7d010d1 cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dentry_unlink_inode / step_into
2024/11/15 09:27 upstream cfaaa7d010d1 f6ede3a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dentry_unlink_inode / step_into
2024/11/14 20:39 upstream cfaaa7d010d1 a8c99394 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dentry_unlink_inode / step_into
2024/11/14 08:53 upstream 0a9b9d17f3a7 a8c99394 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dentry_unlink_inode / step_into
2024/11/13 11:32 upstream f1b785f4c787 bb3f8425 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dentry_unlink_inode / step_into
2024/11/13 09:43 upstream f1b785f4c787 62026c85 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dentry_unlink_inode / step_into
2024/11/12 22:13 upstream 3022e9d00ebe 62026c85 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dentry_unlink_inode / step_into
2024/11/12 18:38 upstream 3022e9d00ebe 75bb1b32 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dentry_unlink_inode / step_into
2024/11/12 14:12 upstream 2d5404caa8c7 75bb1b32 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dentry_unlink_inode / step_into
2024/11/11 09:30 upstream 2d5404caa8c7 0c4b1325 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dentry_unlink_inode / step_into
2024/11/10 23:19 upstream a9cda7c0ffed 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dentry_unlink_inode / step_into
2024/11/09 23:06 upstream de2f378f2b77 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dentry_unlink_inode / step_into
2024/11/09 08:11 upstream da4373fbcf00 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dentry_unlink_inode / step_into
2024/11/09 03:04 upstream f1dce1f09380 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dentry_unlink_inode / step_into
2024/11/08 17:24 upstream 906bd684e4b1 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dentry_unlink_inode / step_into
2024/11/08 03:17 upstream 906bd684e4b1 179b040e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dentry_unlink_inode / step_into
2024/11/08 00:30 upstream ff7afaeca1a1 867e44df .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dentry_unlink_inode / step_into
2024/11/07 00:53 upstream 7758b206117d df3dc63b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dentry_unlink_inode / step_into
2024/11/06 05:49 upstream 2e1b3cc9d7f7 3a465482 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dentry_unlink_inode / step_into
2024/11/05 12:43 upstream 2e1b3cc9d7f7 da38b4c9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dentry_unlink_inode / step_into
2024/11/05 08:44 upstream 2e1b3cc9d7f7 509da429 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dentry_unlink_inode / step_into
2024/11/04 21:37 upstream 557329bcecc2 509da429 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dentry_unlink_inode / step_into
2024/11/04 16:07 upstream 59b723cd2adb f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dentry_unlink_inode / step_into
2024/11/04 03:55 upstream a33ab3f94f51 f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dentry_unlink_inode / step_into
2024/11/02 21:10 upstream 11066801dd4b f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dentry_unlink_inode / step_into
2024/11/01 23:19 upstream 6c52d4da1c74 f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dentry_unlink_inode / step_into
2024/11/01 15:12 upstream 5635f189425e 96eb609f .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dentry_unlink_inode / step_into
2024/10/31 15:54 upstream 0fc810ae3ae1 96eb609f .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dentry_unlink_inode / step_into
2024/10/31 04:08 upstream 4236f913808c 96eb609f .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dentry_unlink_inode / step_into
2024/10/30 19:17 upstream 4236f913808c fb888278 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dentry_unlink_inode / step_into
2024/10/30 14:51 upstream c1e939a21eb1 fb888278 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dentry_unlink_inode / step_into
2024/10/30 08:30 upstream c1e939a21eb1 66aeb999 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dentry_unlink_inode / step_into
2024/10/29 18:41 upstream e42b1a9a2557 66aeb999 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dentry_unlink_inode / step_into
2024/10/29 08:00 upstream e42b1a9a2557 66aeb999 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dentry_unlink_inode / step_into
2024/10/28 09:06 upstream 819837584309 65e8686b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dentry_unlink_inode / step_into
2024/10/28 02:13 upstream 284a2f899676 65e8686b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dentry_unlink_inode / step_into
2023/12/04 23:21 upstream bee0e7762ad2 f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dentry_unlink_inode / step_into
2022/08/03 23:23 upstream ff89dd08c0f0 1c9013ac .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in dentry_unlink_inode / step_into
* Struck through repros no longer work on HEAD.