syzbot


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

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

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

write to 0xffff88810995dc00 of 4 bytes by task 3080 on cpu 0:
 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:4202
 do_rmdir+0x194/0x310 fs/namei.c:4257
 __do_sys_unlinkat fs/namei.c:4435 [inline]
 __se_sys_unlinkat fs/namei.c:4429 [inline]
 __x64_sys_unlinkat+0xa4/0xb0 fs/namei.c:4429
 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 0xffff88810995dc00 of 4 bytes by task 9605 on cpu 1:
 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+0x5c0/0x1660 kernel/exit.c:867
 do_group_exit+0x141/0x150 kernel/exit.c:1021
 get_signal+0xeb1/0xff0 kernel/signal.c:2874
 arch_do_signal_or_restart+0x89/0x2a0 arch/x86/kernel/signal.c:306
 exit_to_user_mode_loop+0x6f/0xe0 kernel/entry/common.c:168
 exit_to_user_mode_prepare+0x6c/0xb0 kernel/entry/common.c:204
 irqentry_exit_to_user_mode+0x9/0x20 kernel/entry/common.c:310
 irqentry_exit+0x12/0x40 kernel/entry/common.c:413
 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570

value changed: 0x00280000 -> 0x00200100

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 9605 Comm: syz-executor.3 Not tainted 6.4.0-rc4-syzkaller-00099-g1874a42a7d74 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/06/02 12:47 upstream 1874a42a7d74 a4ae4f42 .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.