syzbot


kernel BUG in blk_mq_dispatch_rq_list

Status: closed as invalid on 2022/07/28 16:56
Reported-by: syzbot+4f441e6ca0fcad141421@syzkaller.appspotmail.com
First crash: 1054d, last: 854d
Cause bisection: failed (error log, bisect log)
  
Duplicate bugs (2)
duplicates (2):
Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
kernel BUG in blk_mq_dispatch_rq_list (2) C error 7 810d 824d 0/2 closed as dup on 2022/09/14 20:17
kernel BUG in blk_mq_dispatch_rq_list (3) C error 2 789d 778d 0/2 closed as dup on 2022/10/05 23:45
Discussions (1)
Title Replies (including bot) Last reply
[PATCH 5.10 1/2] block: split bio_kmalloc from bio_alloc_bioset 7 (7) 2022/07/28 15:19
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-10 kernel BUG in blk_mq_dispatch_rq_list (4) fat C error 16 507d 759d 0/2 upstream: reported C repro on 2022/10/24 04:39
android-5-10 kernel BUG in blk_mq_dispatch_rq_list (2) C error 7 810d 824d 0/2 closed as dup on 2022/09/14 20:17
android-5-10 kernel BUG in blk_mq_dispatch_rq_list (3) C error 2 789d 778d 0/2 closed as dup on 2022/10/05 23:45
Last patch testing requests (4)
Created Duration User Patch Repo Result
2022/07/18 20:09 13m tadeusz.struk@linaro.org patch android12-5.10-lts log
2022/06/16 20:57 13m tadeusz.struk@linaro.org android12-5.10-lts log
2022/06/16 20:25 17m tadeusz.struk@linaro.org git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git linux-5.10.y log
2022/05/31 16:39 16m tadeusz.struk@linaro.org git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master OK
Fix bisection attempts (2)
Created Duration User Patch Repo Result
2022/07/13 23:06 25m bisect fix android12-5.10-lts OK (0) job log log
2022/04/24 05:41 24m bisect fix android12-5.10-lts OK (0) job log log

Sample crash report:
------------[ cut here ]------------
kernel BUG at block/blk-mq.c:567!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 79 Comm: kworker/1:1H Tainted: G        W         5.10.119-syzkaller-00334-gebc9fb07d294 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022
Workqueue: kblockd blk_mq_requeue_work
RIP: 0010:blk_mq_end_request block/blk-mq.c:567 [inline]
RIP: 0010:blk_mq_dispatch_rq_list+0x17f5/0x1800 block/blk-mq.c:1395
Code: 68 ff e9 24 f5 ff ff 44 89 e9 80 e1 07 80 c1 03 38 c1 0f 8c 25 fe ff ff 4c 89 ef e8 55 8d 68 ff e9 18 fe ff ff e8 cb 90 2e ff <0f> 0b e8 c4 5a 52 02 0f 1f 40 00 55 48 89 e5 41 57 41 56 41 55 41
RSP: 0018:ffffc9000023f700 EFLAGS: 00010293
RAX: ffffffff823e24a5 RBX: ffff88810a9294c0 RCX: ffff8881065b93c0
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88810a92958a
RBP: ffffc9000023f870 R08: ffffffff823cf5cf R09: ffffffff823cf565
R10: 0000000000000004 R11: ffff8881065b93c0 R12: dffffc0000000000
R13: ffffc9000023f960 R14: ffff888109f2b000 R15: 1ffff92000047f2c
FS:  0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007faa58ba3f48 CR3: 0000000126b1f000 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:1521
 __blk_mq_delay_run_hw_queue+0x22a/0x570 block/blk-mq.c:1598
 blk_mq_run_hw_queue+0x29d/0x3b0 block/blk-mq.c:1651
 blk_mq_run_hw_queues+0x37c/0x450 block/blk-mq.c:1714
 blk_mq_requeue_work+0x73b/0x780 block/blk-mq.c:819
 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:296
Modules linked in:
---[ end trace 329676399ff88707 ]---
RIP: 0010:blk_mq_end_request block/blk-mq.c:567 [inline]
RIP: 0010:blk_mq_dispatch_rq_list+0x17f5/0x1800 block/blk-mq.c:1395
Code: 68 ff e9 24 f5 ff ff 44 89 e9 80 e1 07 80 c1 03 38 c1 0f 8c 25 fe ff ff 4c 89 ef e8 55 8d 68 ff e9 18 fe ff ff e8 cb 90 2e ff <0f> 0b e8 c4 5a 52 02 0f 1f 40 00 55 48 89 e5 41 57 41 56 41 55 41
RSP: 0018:ffffc9000023f700 EFLAGS: 00010293
RAX: ffffffff823e24a5 RBX: ffff88810a9294c0 RCX: ffff8881065b93c0
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88810a92958a
RBP: ffffc9000023f870 R08: ffffffff823cf5cf R09: ffffffff823cf565
R10: 0000000000000004 R11: ffff8881065b93c0 R12: dffffc0000000000
R13: ffffc9000023f960 R14: ffff888109f2b000 R15: 1ffff92000047f2c
FS:  0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007faa58ba3f48 CR3: 0000000126b1f000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (16):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/07/20 21:24 android12-5.10-lts ebc9fb07d294 88cb1383 .config strace log report syz C ci2-android-5-10 kernel BUG in blk_mq_dispatch_rq_list
2022/05/29 20:57 android12-5.10-lts 0974b8411a58 a46af346 .config strace log report syz C ci2-android-5-10 kernel BUG in blk_mq_dispatch_rq_list
2022/06/04 18:39 android12-5.10-lts fdd06dc6b0f8 c8857892 .config strace log report syz ci2-android-5-10 kernel BUG in blk_mq_dispatch_rq_list
2022/05/29 19:43 android12-5.10-lts 0974b8411a58 a46af346 .config console log report syz ci2-android-5-10 kernel BUG in blk_mq_dispatch_rq_list
2022/03/20 20:58 android12-5.10-lts 5287773dba0d e2d91b1d .config console log report syz ci2-android-5-10 kernel BUG in blk_mq_dispatch_rq_list
2022/03/01 11:20 android12-5.10-lts e1b86e7f5cbb 45a13a73 .config console log report syz ci2-android-5-10 kernel BUG in blk_mq_dispatch_rq_list
2022/01/21 07:35 android12-5.10-lts 0347b1658399 ab3d9f17 .config console log report syz ci2-android-5-10 kernel BUG in blk_mq_dispatch_rq_list
2022/01/20 12:40 android12-5.10-lts f45f895af546 5da9499f .config console log report syz ci2-android-5-10 kernel BUG in blk_mq_dispatch_rq_list
2022/01/02 05:11 android12-5.10-lts 9b28b48fb343 e1768e9c .config console log report syz ci2-android-5-10 kernel BUG in blk_mq_dispatch_rq_list
2022/07/18 09:03 android12-5.10-lts ebc9fb07d294 95cb00d1 .config console log report info ci2-android-5-10 kernel BUG in blk_mq_dispatch_rq_list
2022/07/14 17:14 android12-5.10-lts fa7f6a5f56d9 5d921b08 .config console log report info ci2-android-5-10 kernel BUG in blk_mq_dispatch_rq_list
2022/06/13 23:06 android12-5.10-lts fdd06dc6b0f8 0f087040 .config console log report info ci2-android-5-10 kernel BUG in blk_mq_dispatch_rq_list
2022/05/20 01:29 android12-5.10-lts 0974b8411a58 cb1ac2e7 .config console log report info ci2-android-5-10 kernel BUG in blk_mq_dispatch_rq_list
2022/03/25 05:41 android12-5.10-lts ab2d1d40a128 89bc8608 .config console log report info ci2-android-5-10 kernel BUG in blk_mq_dispatch_rq_list
2022/02/04 20:43 android12-5.10-lts 34fd8cb7e75c a3e470b2 .config console log report info ci2-android-5-10 kernel BUG in blk_mq_dispatch_rq_list
2022/01/02 04:50 android12-5.10-lts 9b28b48fb343 e1768e9c .config console log report info ci2-android-5-10 kernel BUG in blk_mq_dispatch_rq_list
* Struck through repros no longer work on HEAD.