[moderation] [fs?] KCSAN: data-race in d_delete / step_into_slowpath

1 view
Skip to first unread message

syzbot

unread,
12:22 AM (7 hours ago) 12:22 AM
to syzkaller-upst...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 8f7aa3d3c732 Merge tag 'net-next-6.19' of git://git.kernel..
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=13c96ab4580000
kernel config: https://syzkaller.appspot.com/x/.config?x=3d1f9e5744fd618
dashboard link: https://syzkaller.appspot.com/bug?extid=b33915cb4c9e1c5692ec
compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8
CC: [bra...@kernel.org ja...@suse.cz linux-...@vger.kernel.org linux-...@vger.kernel.org vi...@zeniv.linux.org.uk]

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/73d62664bf16/disk-8f7aa3d3.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/6ce0df27aee8/vmlinux-8f7aa3d3.xz
kernel image: https://storage.googleapis.com/syzbot-assets/0359ef461462/bzImage-8f7aa3d3.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+b33915...@syzkaller.appspotmail.com

==================================================================
BUG: KCSAN: data-race in d_delete / step_into_slowpath

read-write to 0xffff88810728d600 of 4 bytes by task 4824 on cpu 1:
d_delete+0x15a/0x180 fs/dcache.c:2478
d_delete_notify+0x32/0x100 include/linux/fsnotify.h:375
vfs_unlink+0x32c/0x440 fs/namei.c:5384
do_unlinkat+0x1cd/0x4b0 fs/namei.c:5439
__do_sys_unlink fs/namei.c:5474 [inline]
__se_sys_unlink fs/namei.c:5472 [inline]
__x64_sys_unlink+0x2e/0x40 fs/namei.c:5472
x64_sys_call+0x2f48/0x3000 arch/x86/include/generated/asm/syscalls_64.h:88
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xd8/0x2a0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f

read to 0xffff88810728d600 of 4 bytes by task 3004 on cpu 0:
__d_entry_type include/linux/dcache.h:414 [inline]
d_is_symlink include/linux/dcache.h:444 [inline]
step_into_slowpath+0x120/0x480 fs/namei.c:2047
step_into fs/namei.c:2091 [inline]
walk_component fs/namei.c:2227 [inline]
lookup_last fs/namei.c:2722 [inline]
path_lookupat+0x330/0x500 fs/namei.c:2746
filename_lookup+0x147/0x340 fs/namei.c:2775
do_readlinkat+0x7d/0x320 fs/stat.c:576
__do_sys_readlink fs/stat.c:613 [inline]
__se_sys_readlink fs/stat.c:610 [inline]
__x64_sys_readlink+0x47/0x60 fs/stat.c:610
x64_sys_call+0x2af1/0x3000 arch/x86/include/generated/asm/syscalls_64.h:90
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xd8/0x2a0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f

value changed: 0x00300180 -> 0x00004080

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 UID: 0 PID: 3004 Comm: udevd Tainted: G W syzkaller #0 PREEMPT(voluntary)
Tainted: [W]=WARN
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
==================================================================


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title

If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)

If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report

If you want to undo deduplication, reply with:
#syz undup
Reply all
Reply to author
Forward
0 new messages