syzbot


KCSAN: data-race in __dentry_kill / lookup_fast (9)

Status: auto-obsoleted due to no activity on 2024/02/17 10:11
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+de370e210f18d6b44129@syzkaller.appspotmail.com
First crash: 357d, last: 136d
Similar bugs (9)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in __dentry_kill / lookup_fast (5) fs 12 1093d 1165d 0/26 auto-closed as invalid on 2021/07/05 09:49
upstream KCSAN: data-race in __dentry_kill / lookup_fast (8) fs 8 404d 467d 0/26 auto-obsoleted due to no activity on 2023/05/25 00:07
upstream KCSAN: data-race in __dentry_kill / lookup_fast (2) fs 5 1374d 1434d 0/26 auto-closed as invalid on 2020/09/27 09:27
upstream KCSAN: data-race in __dentry_kill / lookup_fast fs 10 1456d 1550d 0/26 closed as invalid on 2020/06/18 14:24
upstream KCSAN: data-race in __dentry_kill / lookup_fast (10) fs 3 58d 95d 0/26 auto-obsoleted due to no activity on 2024/05/05 12:07
upstream KCSAN: data-race in __dentry_kill / lookup_fast (7) fs 27 514d 775d 0/26 auto-obsoleted due to no activity on 2023/02/12 11:35
upstream KCSAN: data-race in __dentry_kill / lookup_fast (6) fs 1 920d 920d 0/26 auto-closed as invalid on 2021/12/25 02:52
upstream KCSAN: data-race in __dentry_kill / lookup_fast (4) fs 3 1213d 1238d 0/26 auto-closed as invalid on 2021/03/06 20:57
upstream KCSAN: data-race in __dentry_kill / lookup_fast (3) fs 3 1275d 1268d 0/26 auto-closed as invalid on 2021/01/03 16:37

Sample crash report:
==================================================================
BUG: KCSAN: data-race in __dentry_kill / lookup_fast

read-write to 0xffff888106ba33c0 of 4 bytes by task 28411 on cpu 1:
 dentry_unlist fs/dcache.c:548 [inline]
 __dentry_kill+0x21c/0x4a0 fs/dcache.c:617
 dput+0x54/0xc0 fs/dcache.c:845
 do_unlinkat+0x257/0x4c0 fs/namei.c:4401
 __do_sys_unlink fs/namei.c:4446 [inline]
 __se_sys_unlink fs/namei.c:4444 [inline]
 __x64_sys_unlink+0x30/0x40 fs/namei.c:4444
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0x59/0x120 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b

read to 0xffff888106ba33c0 of 4 bytes by task 2763 on cpu 0:
 d_revalidate fs/namei.c:861 [inline]
 lookup_fast+0xd9/0x290 fs/namei.c:1642
 walk_component+0x3f/0x230 fs/namei.c:1997
 lookup_last fs/namei.c:2458 [inline]
 path_lookupat+0x10a/0x2a0 fs/namei.c:2482
 filename_lookup+0x126/0x300 fs/namei.c:2511
 user_path_at_empty+0x42/0x110 fs/namei.c:2920
 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+0x59/0x120 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b

value changed: 0x00600008 -> 0x00008008

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 2763 Comm: udevd Not tainted 6.7.0-syzkaller-09928-g052d534373b7 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
==================================================================

Crashes (31):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/01/13 10:10 upstream 052d534373b7 551587c1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dentry_kill / lookup_fast
2024/01/13 04:51 upstream 70d201a40823 551587c1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dentry_kill / lookup_fast
2024/01/10 13:32 upstream 35f11a3710cd b438bd66 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dentry_kill / lookup_fast
2024/01/06 10:00 upstream a4ab2706bb12 d0304e9c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dentry_kill / lookup_fast
2023/12/28 06:55 upstream f5837722ffec fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dentry_kill / lookup_fast
2023/12/22 21:58 upstream 24e0d2e527a3 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dentry_kill / lookup_fast
2023/12/22 07:09 upstream 9a6b294ab496 4f9530a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dentry_kill / lookup_fast
2023/12/13 05:24 upstream eaadbbaaff74 ebcad15c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dentry_kill / lookup_fast
2023/12/07 23:58 upstream 9ace34a8e446 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dentry_kill / lookup_fast
2023/12/07 13:43 upstream bee0e7762ad2 0a02ce36 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dentry_kill / lookup_fast
2023/11/21 07:52 upstream 98b1cc82c4af cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dentry_kill / lookup_fast
2023/10/28 19:05 upstream 51a7691038c3 3c418d72 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dentry_kill / lookup_fast
2023/10/26 04:16 upstream 611da07b89fd 72e794c4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dentry_kill / lookup_fast
2023/10/20 09:25 upstream ce55c22ec8b2 a42250d2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dentry_kill / lookup_fast
2023/10/18 16:34 upstream 06dc10eae55b 342b9c55 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dentry_kill / lookup_fast
2023/09/17 00:47 upstream ad8a69f361b9 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dentry_kill / lookup_fast
2023/09/16 00:17 upstream e42bebf6db29 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dentry_kill / lookup_fast
2023/09/08 10:23 upstream 4a0fc73da97e 72324844 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dentry_kill / lookup_fast
2023/09/05 05:17 upstream 3f86ed6ec0b3 0b6286dc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dentry_kill / lookup_fast
2023/09/01 22:20 upstream b84acc11b1c9 696ea0d2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dentry_kill / lookup_fast
2023/08/31 04:11 upstream ef2a0b7cdbc5 84803932 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dentry_kill / lookup_fast
2023/08/25 02:13 upstream 93f5de5f648d 49be837e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dentry_kill / lookup_fast
2023/08/22 21:29 upstream 53663f4103ff b81ca3f6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dentry_kill / lookup_fast
2023/08/14 12:11 upstream 2ccdd1b13c59 39990d51 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dentry_kill / lookup_fast
2023/08/09 19:07 upstream cacc6e22932f 13ca4cd6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dentry_kill / lookup_fast
2023/07/14 07:31 upstream 4b810bf037e5 d624500f .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dentry_kill / lookup_fast
2023/07/10 09:01 upstream 06c2afb862f9 668cb1fa .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dentry_kill / lookup_fast
2023/07/08 22:45 upstream 8fc3b8f082cc 668cb1fa .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dentry_kill / lookup_fast
2023/06/26 20:02 upstream c0a572d9d32f 4cd5bb25 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dentry_kill / lookup_fast
2023/06/09 08:39 upstream 25041a4c02c7 058b3a5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dentry_kill / lookup_fast
2023/06/06 01:05 upstream f8dba31b0a82 a4ae4f42 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dentry_kill / lookup_fast
* Struck through repros no longer work on HEAD.