syzbot


KCSAN: data-race in d_invalidate / dput

Status: auto-obsoleted due to no activity on 2023/10/01 00:03
Subsystems: fs
[Documentation on labels]
First crash: 521d, last: 521d

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

write to 0xffff888140030d90 of 8 bytes by task 21202 on cpu 1:
 __d_drop fs/dcache.c:508 [inline]
 d_invalidate+0x59/0x1c0 fs/dcache.c:1730
 lookup_open fs/namei.c:3429 [inline]
 open_last_lookups fs/namei.c:3560 [inline]
 path_openat+0x6eb/0x1d10 fs/namei.c:3790
 do_filp_open+0xf6/0x200 fs/namei.c:3820
 do_sys_openat2+0xab/0x110 fs/open.c:1407
 do_sys_open fs/open.c:1422 [inline]
 __do_sys_open fs/open.c:1430 [inline]
 __se_sys_open fs/open.c:1426 [inline]
 __x64_sys_open+0xe6/0x110 fs/open.c:1426
 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 0xffff888140030d90 of 8 bytes by task 21217 on cpu 0:
 hlist_bl_unhashed include/linux/list_bl.h:54 [inline]
 d_unhashed include/linux/dcache.h:335 [inline]
 fast_dput fs/dcache.c:837 [inline]
 dput+0xa8/0x1f0 fs/dcache.c:900
 handle_mounts fs/namei.c:1551 [inline]
 step_into+0x21a/0x800 fs/namei.c:1836
 open_last_lookups fs/namei.c:3583 [inline]
 path_openat+0x10bb/0x1d10 fs/namei.c:3790
 do_filp_open+0xf6/0x200 fs/namei.c:3820
 do_sys_openat2+0xab/0x110 fs/open.c:1407
 do_sys_open fs/open.c:1422 [inline]
 __do_sys_open fs/open.c:1430 [inline]
 __se_sys_open fs/open.c:1426 [inline]
 __x64_sys_open+0xe6/0x110 fs/open.c:1426
 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: 0xffff88823790b230 -> 0x0000000000000000

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 21217 Comm: syz-executor.5 Not tainted 6.5.0-rc7-syzkaller-00182-g3b35375f19fe #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/08/27 00:01 upstream 3b35375f19fe 7ba13a15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in d_invalidate / dput
* Struck through repros no longer work on HEAD.