syzbot


KCSAN: data-race in __dput_to_list / dput (3)

Status: auto-obsoleted due to no activity on 2023/08/15 19:19
Subsystems: fs
[Documentation on labels]
First crash: 298d, last: 298d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in __dput_to_list / dput (2) fs 1 337d 337d 0/26 auto-obsoleted due to no activity on 2023/07/07 12:52
upstream KCSAN: data-race in __dput_to_list / dput fs 1 591d 591d 0/26 auto-obsoleted due to no activity on 2022/10/26 01:04

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

write to 0xffff88810a33bf00 of 4 bytes by task 3083 on cpu 1:
 d_lru_del fs/dcache.c:437 [inline]
 __dput_to_list+0xab/0x240 fs/dcache.c:926
 shrink_dentry_list+0x196/0x380 fs/dcache.c:1200
 shrink_dcache_parent+0x44/0x1a0
 vfs_rmdir+0x283/0x2f0 fs/namei.c:4204
 do_rmdir+0x194/0x310 fs/namei.c:4259
 __do_sys_unlinkat fs/namei.c:4437 [inline]
 __se_sys_unlinkat fs/namei.c:4431 [inline]
 __x64_sys_unlinkat+0xa4/0xb0 fs/namei.c:4431
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

read to 0xffff88810a33bf00 of 4 bytes by task 14579 on cpu 0:
 fast_dput fs/dcache.c:774 [inline]
 dput+0x35/0x1f0 fs/dcache.c:900
 path_put+0x1f/0x40 fs/namei.c:561
 free_fs_struct fs/fs_struct.c:91 [inline]
 exit_fs+0xaf/0xe0 fs/fs_struct.c:108
 do_exit+0x5e8/0x1670 kernel/exit.c:870
 __do_sys_exit kernel/exit.c:991 [inline]
 __se_sys_exit kernel/exit.c:989 [inline]
 __x64_sys_exit+0x1f/0x20 kernel/exit.c:989
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

value changed: 0x00280000 -> 0x00200100

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 14579 Comm: syz-executor.1 Not tainted 6.5.0-rc1-syzkaller-00006-g3f01e9fed845 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/07/11 19:11 upstream 3f01e9fed845 2f19aa4f .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __dput_to_list / dput
* Struck through repros no longer work on HEAD.