Hello,
syzbot found the following issue on:
HEAD commit: 34816d20 Merge tag 'gfs2-v5.10-rc5-fixes' of git://git.ker..
git tree: upstream
console output:
https://syzkaller.appspot.com/x/log.txt?x=111f0dc9500000
kernel config:
https://syzkaller.appspot.com/x/.config?x=c949fed53798f819
dashboard link:
https://syzkaller.appspot.com/bug?extid=7accc0b9c3e3b924a735
compiler: clang version 12.0.0 (
https://github.com/llvm/llvm-project.git 913f6005669cfb590c99865a90bc51ed0983d09d)
CC: [
linux-...@vger.kernel.org linux-...@vger.kernel.org vi...@zeniv.linux.org.uk]
Unfortunately, I don't have any reproducer for this issue yet.
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by:
syzbot+7accc0...@syzkaller.appspotmail.com
==================================================================
BUG: KCSAN: data-race in __fsnotify_parent / vfs_rename
read-write to 0xffff88810fdc99c0 of 4 bytes by task 13524 on cpu 1:
dont_mount include/linux/dcache.h:354 [inline]
vfs_rename+0xcd9/0xe20 fs/namei.c:4320
do_renameat2+0x56c/0x930 fs/namei.c:4457
__do_sys_rename fs/namei.c:4503 [inline]
__se_sys_rename fs/namei.c:4501 [inline]
__x64_sys_rename+0x3a/0x40 fs/namei.c:4501
do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46
entry_SYSCALL_64_after_hwframe+0x44/0xa9
read to 0xffff88810fdc99c0 of 4 bytes by task 12868 on cpu 0:
__fsnotify_parent+0x7d/0x430 fs/notify/fsnotify.c:180
fsnotify_parent include/linux/fsnotify.h:68 [inline]
fsnotify_file include/linux/fsnotify.h:90 [inline]
fsnotify_access include/linux/fsnotify.h:247 [inline]
vfs_read+0x364/0x5c0 fs/read_write.c:500
ksys_read+0xce/0x180 fs/read_write.c:634
__do_sys_read fs/read_write.c:644 [inline]
__se_sys_read fs/read_write.c:642 [inline]
__x64_sys_read+0x3e/0x50 fs/read_write.c:642
do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46
entry_SYSCALL_64_after_hwframe+0x44/0xa9
Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 12868 Comm: systemd-udevd Not tainted 5.10.0-rc6-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================
Kernel panic - not syncing: panic_on_warn set ...
CPU: 0 PID: 12868 Comm: systemd-udevd Not tainted 5.10.0-rc6-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x116/0x15d lib/dump_stack.c:118
panic+0x1e7/0x5fa kernel/panic.c:231
kcsan_report+0x67b/0x680 kernel/kcsan/report.c:634
kcsan_setup_watchpoint+0x46a/0x4d0 kernel/kcsan/core.c:568
__fsnotify_parent+0x7d/0x430 fs/notify/fsnotify.c:180
fsnotify_parent include/linux/fsnotify.h:68 [inline]
fsnotify_file include/linux/fsnotify.h:90 [inline]
fsnotify_access include/linux/fsnotify.h:247 [inline]
vfs_read+0x364/0x5c0 fs/read_write.c:500
ksys_read+0xce/0x180 fs/read_write.c:634
__do_sys_read fs/read_write.c:644 [inline]
__se_sys_read fs/read_write.c:642 [inline]
__x64_sys_read+0x3e/0x50 fs/read_write.c:642
do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46
entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x7f0325c56910
Code: b6 fe ff ff 48 8d 3d 0f be 08 00 48 83 ec 08 e8 06 db 01 00 66 0f 1f 44 00 00 83 3d f9 2d 2c 00 00 75 10 b8 00 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 de 9b 01 00 48 89 04 24
RSP: 002b:00007ffcc8057cd8 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
RAX: ffffffffffffffda RBX: 000055f87561c0c0 RCX: 00007f0325c56910
RDX: 0000000000001000 RSI: 000055f87560e9b0 RDI: 000000000000000f
RBP: 0000000000000d68 R08: 00007f0325f151a8 R09: 0000000000001010
R10: 0000000000000020 R11: 0000000000000246 R12: 00007f0325f11440
R13: 00007f0325f10900 R14: 000055f87561ec20 R15: 00007f0325f10900
Kernel Offset: disabled
Rebooting in 86400 seconds..
---
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.