syzbot


KCSAN: data-race in d_delete / step_into (6)

Status: moderation: reported on 2023/12/07 10:03
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+67b54b5d7a1e21b943ac@syzkaller.appspotmail.com
First crash: 921d, last: 7h51m
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in d_delete / step_into (5) fs 3 959d 994d 0/26 auto-closed as invalid on 2021/08/17 20:13
upstream KCSAN: data-race in d_delete / step_into fs 2 1379d 1380d 0/26 closed as invalid on 2020/06/18 14:13
upstream KCSAN: data-race in d_delete / step_into (3) fs 1 1136d 1136d 0/26 auto-closed as invalid on 2021/02/21 16:24
upstream KCSAN: data-race in d_delete / step_into (2) fs 2 1311d 1327d 0/26 auto-closed as invalid on 2020/08/30 20:17
upstream KCSAN: data-race in d_delete / step_into (4) fs 3 1071d 1084d 0/26 auto-closed as invalid on 2021/05/17 11:48

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

read-write to 0xffff88813752e780 of 4 bytes by task 5434 on cpu 0:
 d_delete+0x6c/0xf0 fs/dcache.c:2388
 d_delete_notify+0x30/0xe0 include/linux/fsnotify.h:299
 vfs_unlink+0x305/0x3e0 fs/namei.c:4353
 do_unlinkat+0x236/0x4c0 fs/namei.c:4402
 __do_sys_unlink fs/namei.c:4450 [inline]
 __se_sys_unlink fs/namei.c:4448 [inline]
 __x64_sys_unlink+0x30/0x40 fs/namei.c:4448
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xcd/0x1d0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b

read to 0xffff88813752e780 of 4 bytes by task 2775 on cpu 1:
 __follow_mount_rcu fs/namei.c:1486 [inline]
 handle_mounts fs/namei.c:1537 [inline]
 step_into+0xe7/0x800 fs/namei.c:1843
 walk_component+0x164/0x230 fs/namei.c:2011
 lookup_last fs/namei.c:2462 [inline]
 path_lookupat+0x10a/0x2a0 fs/namei.c:2486
 filename_lookup+0x126/0x300 fs/namei.c:2515
 user_path_at_empty+0x42/0x120 fs/namei.c:2924
 do_readlinkat+0x92/0x210 fs/stat.c:499
 __do_sys_readlink fs/stat.c:532 [inline]
 __se_sys_readlink fs/stat.c:529 [inline]
 __x64_sys_readlink+0x47/0x50 fs/stat.c:529
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xcd/0x1d0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b

value changed: 0x00600108 -> 0x00008008

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 2775 Comm: udevd Not tainted 6.8.0-rc6-syzkaller-00011-g45ec2f5f6ed3 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
==================================================================

Crashes (638):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/02/27 15:54 upstream 45ec2f5f6ed3 05e69c83 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in d_delete / step_into
2024/02/26 15:31 upstream d206a76d7d27 da36a36b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in d_delete / step_into
2024/02/25 13:37 upstream ab0a97cffa0b 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in d_delete / step_into
2024/02/24 22:14 upstream f2e367d6ad3b 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in d_delete / step_into
2024/02/21 20:00 upstream 39133352cbed 345111b5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in d_delete / step_into
2024/02/19 17:32 upstream b401b621758e 3af7dd65 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in d_delete / step_into
2024/02/18 22:57 upstream b401b621758e 578f7538 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in d_delete / step_into
2024/02/17 11:11 upstream c1ca10ceffbb 578f7538 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in d_delete / step_into
2024/02/16 09:25 upstream 4f5e5092fdbf 578f7538 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in d_delete / step_into
2024/02/15 13:47 upstream 8d3dea210042 fd39cf6f .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in d_delete / step_into
2024/02/13 14:13 upstream c664e16bb1ba e66542d7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in d_delete / step_into
2024/02/10 23:33 upstream a5b6244cf87c 77b23aa1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in d_delete / step_into
2024/02/10 01:14 upstream e6f39a90de92 77b23aa1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in d_delete / step_into
2024/02/09 07:40 upstream 1f719a2f3fa6 7f07e9b0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in d_delete / step_into
2024/02/08 13:46 upstream 047371968ffc 6404acf9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in d_delete / step_into
2024/02/05 11:40 upstream 54be6c6c5ae8 e23e8c20 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in d_delete / step_into
2024/02/02 08:21 upstream 5c24e4e9e708 d61103fc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in d_delete / step_into
2024/02/01 21:59 upstream 5c24e4e9e708 81024119 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in d_delete / step_into
2024/02/01 07:03 upstream 6764c317b6bb 373b66cd .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in d_delete / step_into
2024/01/30 03:48 upstream 861c0981648f 991a98f4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in d_delete / step_into
2024/01/29 15:28 upstream 41bccc98fb79 991a98f4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in d_delete / step_into
2024/01/28 17:53 upstream 8a696a29c690 cc4a4020 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in d_delete / step_into
2024/01/27 15:14 upstream 3a5879d495b2 cc4a4020 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in d_delete / step_into
2024/01/26 03:31 upstream ecb1b8288dc7 cc4a4020 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in d_delete / step_into
2024/01/25 09:44 upstream 6098d87eaf31 1e153dc8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in d_delete / step_into
2024/01/24 21:06 upstream 443b349019f2 1e153dc8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in d_delete / step_into
2024/01/23 08:42 upstream 5d9248eed480 1c0ecc51 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in d_delete / step_into
2024/01/22 18:10 upstream 6613476e225e 9bd8dcda .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in d_delete / step_into
2024/01/22 00:08 upstream 4fbbed787267 9bd8dcda .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in d_delete / step_into
2024/01/21 09:55 upstream 7a396820222d 9bd8dcda .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in d_delete / step_into
2024/01/20 19:04 upstream 125514880ddd 9bd8dcda .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in d_delete / step_into
2024/01/20 08:50 upstream 9d64bf433c53 9bd8dcda .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in d_delete / step_into
2024/01/19 19:03 upstream 9d1694dc91ce 9bd8dcda .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in d_delete / step_into
2024/01/19 14:05 upstream 9d1694dc91ce 21772ce4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in d_delete / step_into
2024/01/19 02:37 upstream 86c4d58a99ab 21772ce4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in d_delete / step_into
2024/01/17 10:26 upstream 052d534373b7 c9a1c95b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in d_delete / step_into
2024/01/16 05:41 upstream 052d534373b7 2a7bcc7f .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in d_delete / step_into
2024/01/13 09:51 upstream 052d534373b7 551587c1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in d_delete / step_into
2024/01/12 15:18 upstream 70d201a40823 f6fa7c28 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in d_delete / step_into
2024/01/11 13:00 upstream de927f6c0b07 00f3cc59 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in d_delete / step_into
2024/01/10 21:16 upstream ab27740f7665 04815ef1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in d_delete / step_into
2024/01/10 14:40 upstream ab27740f7665 b438bd66 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in d_delete / step_into
2024/01/10 01:36 upstream 35f11a3710cd b438bd66 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in d_delete / step_into
2024/01/09 16:41 upstream 9f8413c4a66f 4807fb37 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in d_delete / step_into
2024/01/06 19:53 upstream 95c8a35f1c01 d0304e9c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in d_delete / step_into
2024/01/04 22:29 upstream 5eff55d725a4 28c42cff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in d_delete / step_into
2024/01/04 00:21 upstream ac865f00af29 28c42cff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in d_delete / step_into
2024/01/01 11:05 upstream 610a9b8f49fb fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in d_delete / step_into
2023/12/31 06:25 upstream 453f5db0619e fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in d_delete / step_into
2023/12/06 16:38 upstream bee0e7762ad2 e3299f55 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in d_delete / step_into
2023/12/03 03:28 upstream 1b8af6552cb7 f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in d_delete / step_into
2021/08/20 02:45 upstream f87d64319e6f b599f2fc .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in d_delete / step_into
* Struck through repros no longer work on HEAD.