syzbot


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

Status: auto-obsoleted due to no activity on 2025/02/24 08:27
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+cc0d7c280a30e1e2e347@syzkaller.appspotmail.com
First crash: 112d, last: 59d
Similar bugs (12)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in __dentry_kill / lookup_fast (5) fs 12 1368d 1441d 0/28 auto-closed as invalid on 2021/07/05 09:49
upstream KCSAN: data-race in __dentry_kill / lookup_fast (8) fs 8 680d 743d 0/28 auto-obsoleted due to no activity on 2023/05/25 00:07
upstream KCSAN: data-race in __dentry_kill / lookup_fast (13) fs 1 3d07h 3d07h 0/28 moderation: reported on 2025/02/24 20:41
upstream KCSAN: data-race in __dentry_kill / lookup_fast (2) fs 5 1649d 1709d 0/28 auto-closed as invalid on 2020/09/27 09:27
upstream KCSAN: data-race in __dentry_kill / lookup_fast fs 10 1732d 1825d 0/28 closed as invalid on 2020/06/18 14:24
upstream KCSAN: data-race in __dentry_kill / lookup_fast (11) fs 1 223d 223d 0/28 auto-obsoleted due to no activity on 2024/08/23 20:28
upstream KCSAN: data-race in __dentry_kill / lookup_fast (10) fs 3 333d 371d 0/28 auto-obsoleted due to no activity on 2024/05/05 12:07
upstream KCSAN: data-race in __dentry_kill / lookup_fast (7) fs 27 790d 1050d 0/28 auto-obsoleted due to no activity on 2023/02/12 11:35
upstream KCSAN: data-race in __dentry_kill / lookup_fast (6) fs 1 1196d 1196d 0/28 auto-closed as invalid on 2021/12/25 02:52
upstream KCSAN: data-race in __dentry_kill / lookup_fast (4) fs 3 1489d 1514d 0/28 auto-closed as invalid on 2021/03/06 20:57
upstream KCSAN: data-race in __dentry_kill / lookup_fast (3) fs 3 1551d 1543d 0/28 auto-closed as invalid on 2021/01/03 16:37
upstream KCSAN: data-race in __dentry_kill / lookup_fast (9) fs 31 411d 447d 0/28 auto-obsoleted due to no activity on 2024/02/17 10:11

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

read-write to 0xffff88811944e900 of 4 bytes by task 6052 on cpu 1:
 dentry_unlist fs/dcache.c:570 [inline]
 __dentry_kill+0x22e/0x4c0 fs/dcache.c:639
 dput+0x5c/0xd0 fs/dcache.c:867
 do_renameat2+0x748/0xa70 fs/namei.c:5226
 __do_sys_rename fs/namei.c:5271 [inline]
 __se_sys_rename fs/namei.c:5269 [inline]
 __x64_sys_rename+0x58/0x70 fs/namei.c:5269
 x64_sys_call+0x2b1c/0x2dc0 arch/x86/include/generated/asm/syscalls_64.h:83
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

read to 0xffff88811944e900 of 4 bytes by task 3609 on cpu 0:
 d_revalidate fs/namei.c:926 [inline]
 lookup_fast+0xd9/0x2a0 fs/namei.c:1740
 walk_component+0x3f/0x230 fs/namei.c:2108
 lookup_last fs/namei.c:2610 [inline]
 path_lookupat+0x10a/0x2b0 fs/namei.c:2634
 filename_lookup+0x150/0x340 fs/namei.c:2663
 user_path_at+0x3c/0x120 fs/namei.c:3070
 do_utimes_path fs/utimes.c:95 [inline]
 do_utimes+0xc7/0x1f0 fs/utimes.c:140
 __do_sys_utimensat fs/utimes.c:159 [inline]
 __se_sys_utimensat fs/utimes.c:143 [inline]
 __x64_sys_utimensat+0xc6/0x170 fs/utimes.c:143
 x64_sys_call+0x272a/0x2dc0 arch/x86/include/generated/asm/syscalls_64.h:281
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

value changed: 0x00600108 -> 0x00008108

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 UID: 0 PID: 3609 Comm: udevd Not tainted 6.13.0-rc5-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
==================================================================

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/12/30 08:27 upstream fc033cf25e61 d3ccff63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dentry_kill / lookup_fast
2024/12/04 02:14 upstream ceb8bf2ceaa7 b50eb251 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dentry_kill / lookup_fast
2024/11/07 05:42 upstream 7758b206117d df3dc63b .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.