syzbot


KCSAN: data-race in dput / shrink_dentry_list (4)

Status: auto-obsoleted due to no activity on 2022/11/02 13:46
Subsystems: fs
[Documentation on labels]
First crash: 576d, last: 576d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in dput / shrink_dentry_list (2) fs 1 1191d 1191d 0/26 auto-closed as invalid on 2021/02/25 05:57
upstream KCSAN: data-race in dput / shrink_dentry_list fs 1 1235d 1235d 0/26 auto-closed as invalid on 2021/01/12 13:00
upstream KCSAN: data-race in dput / shrink_dentry_list (3) fs 5 835d 879d 0/26 auto-closed as invalid on 2022/02/16 22:40

Sample crash report:
==================================================================
BUG: KCSAN: data-race in dput / shrink_dentry_list

read-write to 0xffff88813a567e40 of 4 bytes by task 1428 on cpu 1:
 d_shrink_del fs/dcache.c:448 [inline]
 shrink_dentry_list+0x1cf/0x380 fs/dcache.c:1188
 shrink_dcache_sb+0x16d/0x2b0 fs/dcache.c:1321
 reconfigure_super+0x146/0x540 fs/super.c:917
 do_remount fs/namespace.c:2702 [inline]
 path_mount+0xa11/0xbb0 fs/namespace.c:3362
 do_mount fs/namespace.c:3383 [inline]
 __do_sys_mount fs/namespace.c:3591 [inline]
 __se_sys_mount+0x281/0x2d0 fs/namespace.c:3568
 __x64_sys_mount+0x63/0x70 fs/namespace.c:3568
 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 0xffff88813a567e40 of 4 bytes by task 3973 on cpu 0:
 fast_dput fs/dcache.c:774 [inline]
 dput+0x31/0x1f0 fs/dcache.c:900
 path_put fs/namei.c:558 [inline]
 terminate_walk+0xfa/0x270 fs/namei.c:680
 path_openat+0x1767/0x1b00 fs/namei.c:3692
 do_filp_open+0x105/0x220 fs/namei.c:3718
 do_sys_openat2+0xb5/0x2a0 fs/open.c:1313
 do_sys_open fs/open.c:1329 [inline]
 __do_sys_openat fs/open.c:1345 [inline]
 __se_sys_openat fs/open.c:1340 [inline]
 __x64_sys_openat+0xef/0x110 fs/open.c:1340
 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: 0x00280440 -> 0x00200040

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 3973 Comm: syz-executor.0 Not tainted 6.0.0-rc7-syzkaller-00042-g46452d3786a8-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/09/28 13:42 upstream 46452d3786a8 75c78242 .config console log report info [disk image] [vmlinux] ci2-upstream-kcsan-gce KCSAN: data-race in dput / shrink_dentry_list
* Struck through repros no longer work on HEAD.