[moderation] [fs?] KCSAN: data-race in __dentry_kill / __dentry_kill (4)

4 views
Skip to first unread message

syzbot

unread,
Oct 21, 2024, 2:27:27 AM10/21/24
to syzkaller-upst...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 42f7652d3eb5 Linux 6.12-rc4
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=1768e430580000
kernel config: https://syzkaller.appspot.com/x/.config?x=91af2aaf073838b1
dashboard link: https://syzkaller.appspot.com/bug?extid=d2d8117208036e13d980
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
CC: [linux-...@vger.kernel.org linux-...@vger.kernel.org]

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

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/05297e9a3f4d/disk-42f7652d.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/56e162d198b4/vmlinux-42f7652d.xz
kernel image: https://storage.googleapis.com/syzbot-assets/06739c955299/bzImage-42f7652d.xz

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

==================================================================
BUG: KCSAN: data-race in __dentry_kill / __dentry_kill

write to 0xffff888106d89f00 of 4 bytes by task 3271 on cpu 1:
d_lru_del fs/dcache.c:449 [inline]
__dentry_kill+0xa3/0x4c0 fs/dcache.c:610
dput+0x5c/0xd0 fs/dcache.c:857
proc_invalidate_siblings_dcache+0x1e3/0x2b0 fs/proc/inode.c:143
proc_flush_pid+0x1d/0x30 fs/proc/base.c:3477
release_task+0xad9/0xc20 kernel/exit.c:280
wait_task_zombie kernel/exit.c:1250 [inline]
wait_consider_task+0x116e/0x1680 kernel/exit.c:1477
do_wait_thread kernel/exit.c:1540 [inline]
__do_wait+0x100/0x500 kernel/exit.c:1658
do_wait+0xaf/0x270 kernel/exit.c:1692
kernel_wait4+0x164/0x1d0 kernel/exit.c:1851
__do_sys_wait4 kernel/exit.c:1879 [inline]
__se_sys_wait4 kernel/exit.c:1875 [inline]
__x64_sys_wait4+0x94/0x120 kernel/exit.c:1875
x64_sys_call+0x2529/0x2d60 arch/x86/include/generated/asm/syscalls_64.h:62
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f

read to 0xffff888106d89f00 of 4 bytes by task 10148 on cpu 0:
dentry_unlist fs/dcache.c:585 [inline]
__dentry_kill+0x2af/0x4c0 fs/dcache.c:629
dput+0x5c/0xd0 fs/dcache.c:857
proc_invalidate_siblings_dcache+0x1e3/0x2b0 fs/proc/inode.c:143
proc_flush_pid+0x1d/0x30 fs/proc/base.c:3477
release_task+0xb7f/0xc20 kernel/exit.c:280
exit_notify kernel/exit.c:776 [inline]
do_exit+0xf62/0x17f0 kernel/exit.c:959
do_group_exit+0x102/0x150 kernel/exit.c:1088
get_signal+0xf2a/0x1070 kernel/signal.c:2917
arch_do_signal_or_restart+0x95/0x4b0 arch/x86/kernel/signal.c:337
exit_to_user_mode_loop kernel/entry/common.c:111 [inline]
exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline]
__syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
syscall_exit_to_user_mode+0x59/0x130 kernel/entry/common.c:218
do_syscall_64+0xd6/0x1c0 arch/x86/entry/common.c:89
entry_SYSCALL_64_after_hwframe+0x77/0x7f

value changed: 0x0028000c -> 0x0000000c

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 UID: 0 PID: 10148 Comm: syz.2.2110 Not tainted 6.12.0-rc4-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
==================================================================


---
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

syzbot

unread,
Dec 22, 2024, 12:35:13 AM12/22/24
to syzkaller-upst...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Reply all
Reply to author
Forward
0 new messages