WARNING in __blkdev_put

6 views
Skip to first unread message

syzbot

unread,
Sep 22, 2022, 5:06:40 AM9/22/22
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 3f8a27f9e27b Linux 4.19.211
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=173f53f8880000
kernel config: https://syzkaller.appspot.com/x/.config?x=9b9277b418617afe
dashboard link: https://syzkaller.appspot.com/bug?extid=3e92c4a53b3176459c89
compiler: gcc version 10.2.1 20210110 (Debian 10.2.1-6)
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=10368dd5080000

Downloadable assets:
disk image: https://storage.googleapis.com/98c0bdb4abb3/disk-3f8a27f9.raw.xz
vmlinux: https://storage.googleapis.com/ea228ff02669/vmlinux-3f8a27f9.xz

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

loop4: p1 < > p3 < >
loop5: p1 < > p3 < >
loop2: p1 < > p3 < >
loop3: p1 < > p3 < >
loop1: p1 < > p3 < >
WARNING: CPU: 0 PID: 11484 at fs/block_dev.c:1811 __blkdev_put+0x68c/0x870 fs/block_dev.c:1811
Kernel panic - not syncing: panic_on_warn set ...

loop0: p1 < > p3 < >
CPU: 0 PID: 11484 Comm: syz-executor.2 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2022
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
panic+0x26a/0x50e kernel/panic.c:186
__warn.cold+0x20/0x5a kernel/panic.c:541
report_bug+0x262/0x2b0 lib/bug.c:183
fixup_bug arch/x86/kernel/traps.c:178 [inline]
fixup_bug arch/x86/kernel/traps.c:173 [inline]
do_error_trap+0x1d7/0x310 arch/x86/kernel/traps.c:296
invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038
RIP: 0010:__blkdev_put+0x68c/0x870 fs/block_dev.c:1811
Code: 8d 7c 24 30 48 89 f8 48 c1 e8 03 42 80 3c 38 00 0f 85 ee 01 00 00 49 8b 7c 24 30 e8 3e 06 cb ff e9 5d fa ff ff e8 c4 a3 b0 ff <0f> 0b e9 1c fb ff ff 48 c7 04 24 08 00 00 00 e9 44 fa ff ff e8 ab
RSP: 0018:ffff888092c8fd20 EFLAGS: 00010293
RAX: ffff88808f750000 RBX: ffff88808e400900 RCX: ffffffff81b1dcc7
RDX: 0000000000000000 RSI: ffffffff81b1e1ac RDI: 0000000000000005
RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: ffff88808e400a98
R13: ffff88808e400904 R14: ffffffff81b1e8b0 R15: dffffc0000000000
blkdev_close+0x86/0xb0 fs/block_dev.c:1888
__fput+0x2ce/0x890 fs/file_table.c:278
task_work_run+0x148/0x1c0 kernel/task_work.c:113
tracehook_notify_resume include/linux/tracehook.h:193 [inline]
exit_to_usermode_loop+0x251/0x2a0 arch/x86/entry/common.c:167
prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline]
syscall_return_slowpath arch/x86/entry/common.c:271 [inline]
do_syscall_64+0x538/0x620 arch/x86/entry/common.c:296
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f882e82141b
Code: 0f 05 48 3d 00 f0 ff ff 77 45 c3 0f 1f 40 00 48 83 ec 18 89 7c 24 0c e8 63 fc ff ff 8b 7c 24 0c 41 89 c0 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 44 89 c7 89 44 24 0c e8 a1 fc ff ff 8b 44
RSP: 002b:00007f882dfe2ec0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 00007f882dfe2f20 RCX: 00007f882e82141b
RDX: 0000000000000000 RSI: 0000000000004c01 RDI: 0000000000000004
RBP: 00007f882dfe36b8 R08: 0000000000000000 R09: 00007f882dfe2d70
R10: 00007f882dfe2c27 R11: 0000000000000293 R12: 0000000000000008
R13: 0000000000000000 R14: 0000000000000002 R15: 00007f882dfe2f60
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.
syzbot can test patches for this issue, for details see:
https://goo.gl/tpsmEJ#testing-patches
Reply all
Reply to author
Forward
0 new messages