kernel BUG in blk_mq_dispatch_rq_list (3)

1 view
Skip to first unread message

syzbot

unread,
Oct 5, 2022, 6:32:37 AM10/5/22
to syzkaller-a...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 51659937e310 Revert "USB: core: Prevent nested device-rese..
git tree: android12-5.10-lts
console output: https://syzkaller.appspot.com/x/log.txt?x=1563d728880000
kernel config: https://syzkaller.appspot.com/x/.config?x=3807b51de40d6284
dashboard link: https://syzkaller.appspot.com/bug?extid=02b72767f0f246c0aa71
compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1493ac40880000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=17bfb038880000

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/966d284be4e1/disk-51659937.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/bc51b4e95f63/vmlinux-51659937.xz

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

kthread+0x349/0x3d0 kernel/kthread.c:313
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:299
---[ end trace 7e57a0a2266768a3 ]---
blk_update_request: I/O error, dev sda, sector 598512 op 0x1:(WRITE) flags 0xc800 phys_seg 0 prio class 0
------------[ cut here ]------------
kernel BUG at block/blk-mq.c:569!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 79 Comm: kworker/1:1H Tainted: G W 5.10.142-syzkaller-00950-g51659937e310 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022
Workqueue: kblockd blk_mq_requeue_work
RIP: 0010:blk_mq_end_request block/blk-mq.c:569 [inline]
RIP: 0010:blk_mq_dispatch_rq_list+0x17ef/0x1800 block/blk-mq.c:1397
Code: 68 ff e9 63 f5 ff ff 44 89 e9 80 e1 07 80 c1 03 38 c1 0f 8c 83 f6 ff ff 4c 89 ef e8 bb a5 68 ff e9 76 f6 ff ff e8 41 96 2e ff <0f> 0b e8 8a 4d 54 02 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 e5 41
RSP: 0000:ffffc9000032f6e0 EFLAGS: 00010293
RAX: ffffffff823e545f RBX: ffff88810a949d40 RCX: ffff8881055a3b40
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88810a949e0a
RBP: ffffc9000032f870 R08: ffffffff823d253f R09: ffffffff823d24d5
R10: 0000000000000004 R11: ffff8881055a3b40 R12: dffffc0000000000
R13: ffffc9000032f960 R14: ffffc9000032f800 R15: ffff888109402800
FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000148 CR3: 00000001075a2000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__blk_mq_do_dispatch_sched block/blk-mq-sched.c:186 [inline]
blk_mq_do_dispatch_sched+0x63c/0xc60 block/blk-mq-sched.c:200
__blk_mq_sched_dispatch_requests+0x3de/0x4d0 block/blk-mq-sched.c:317
blk_mq_sched_dispatch_requests+0xf0/0x160 block/blk-mq-sched.c:348
__blk_mq_run_hw_queue+0x14d/0x260 block/blk-mq.c:1524
__blk_mq_delay_run_hw_queue+0x22a/0x570 block/blk-mq.c:1601
blk_mq_run_hw_queue+0x29d/0x3b0 block/blk-mq.c:1654
blk_mq_run_hw_queues+0x37c/0x450 block/blk-mq.c:1717
blk_mq_requeue_work+0x73b/0x780 block/blk-mq.c:821
process_one_work+0x726/0xc10 kernel/workqueue.c:2296
worker_thread+0xb27/0x1550 kernel/workqueue.c:2442
kthread+0x349/0x3d0 kernel/kthread.c:313
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:299
Modules linked in:
---[ end trace 7e57a0a2266768a4 ]---
RIP: 0010:blk_mq_end_request block/blk-mq.c:569 [inline]
RIP: 0010:blk_mq_dispatch_rq_list+0x17ef/0x1800 block/blk-mq.c:1397
Code: 68 ff e9 63 f5 ff ff 44 89 e9 80 e1 07 80 c1 03 38 c1 0f 8c 83 f6 ff ff 4c 89 ef e8 bb a5 68 ff e9 76 f6 ff ff e8 41 96 2e ff <0f> 0b e8 8a 4d 54 02 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 e5 41
RSP: 0000:ffffc9000032f6e0 EFLAGS: 00010293
RAX: ffffffff823e545f RBX: ffff88810a949d40 RCX: ffff8881055a3b40
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88810a949e0a
RBP: ffffc9000032f870 R08: ffffffff823d253f R09: ffffffff823d24d5
R10: 0000000000000004 R11: ffff8881055a3b40 R12: dffffc0000000000
R13: ffffc9000032f960 R14: ffffc9000032f800 R15: ffff888109402800
FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000148 CR3: 00000001075a2000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400


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