Hello,
syzbot found the following issue on:
HEAD commit: 85a90500f9a1 Merge tag 'io_uring-5.14-2021-08-07' of git:/..
git tree: upstream
console output:
https://syzkaller.appspot.com/x/log.txt?x=154ce4fa300000
kernel config:
https://syzkaller.appspot.com/x/.config?x=325496b7f882bca
dashboard link:
https://syzkaller.appspot.com/bug?extid=7bedbf121b039aa171b7
compiler: Debian clang version 11.0.1-2, GNU ld (GNU Binutils for Debian) 2.35.1
CC: [
ax...@kernel.dk linux...@vger.kernel.org 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+7bedbf...@syzkaller.appspotmail.com
==================================================================
BUG: KCSAN: data-race in blkdev_put / blkdev_put
write to 0xffff888100405060 of 4 bytes by task 1037 on cpu 1:
blkdev_put_whole fs/block_dev.c:1276 [inline]
blkdev_put+0x2ff/0x4e0 fs/block_dev.c:1576
blkdev_close+0x47/0x50 fs/block_dev.c:1586
__fput+0x25b/0x4e0 fs/file_table.c:280
____fput+0x11/0x20 fs/file_table.c:313
task_work_run+0xae/0x130 kernel/task_work.c:164
tracehook_notify_resume include/linux/tracehook.h:189 [inline]
exit_to_user_mode_loop kernel/entry/common.c:175 [inline]
exit_to_user_mode_prepare+0x156/0x190 kernel/entry/common.c:209
__syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline]
syscall_exit_to_user_mode+0x20/0x40 kernel/entry/common.c:302
do_syscall_64+0x49/0x90 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x44/0xae
read to 0xffff888100405060 of 4 bytes by task 19178 on cpu 0:
blkdev_put+0x3b/0x4e0 fs/block_dev.c:1531
blkdev_close+0x47/0x50 fs/block_dev.c:1586
__fput+0x25b/0x4e0 fs/file_table.c:280
____fput+0x11/0x20 fs/file_table.c:313
task_work_run+0xae/0x130 kernel/task_work.c:164
tracehook_notify_resume include/linux/tracehook.h:189 [inline]
exit_to_user_mode_loop kernel/entry/common.c:175 [inline]
exit_to_user_mode_prepare+0x156/0x190 kernel/entry/common.c:209
__syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline]
syscall_exit_to_user_mode+0x20/0x40 kernel/entry/common.c:302
do_syscall_64+0x49/0x90 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x44/0xae
value changed: 0x00000002 -> 0x00000001
Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 19178 Comm: systemd-udevd Not tainted 5.14.0-rc4-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================
---
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.