------------[ cut here ]------------
WARNING: block/blk-mq-dma.c:309 at __blk_rq_map_sg+0x636/0x740, CPU#0: kworker/0:0H/11
Modules linked in:
CPU: 0 UID: 0 PID: 11 Comm: kworker/0:0H Not tainted 6.19.0-rc4-next-20260108 #1 PREEMPT(voluntary)
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014
Workqueue: kblockd blk_mq_run_work_fn
RIP: 0010:__blk_rq_map_sg+0x636/0x740
Code: ff ff e8 5d 20 30 ff b9 06 00 00 00 48 89 d8 48 8d bc 24 98 00 00 00 48 89 7c 24 20 f3 48 ab e9 fd fa ff ff e8 3b 20 30 ff 90 <0f> 0b 90 e9 f8 fd ff ff 48 89 cf e8 aa 6c 6e ff e9 66 fa ff ff 48
RSP: 0018:ffff888009a07670 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 0000000000000004 RCX: ffffffff8245564e
RDX: ffff8880099eb700 RSI: ffffffff82455855 RDI: 0000000000000004
RBP: 0000000000000002 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000002 R11: 0000000000000000 R12: dffffc0000000000
R13: 0000000000000800 R14: ffff88800ba5e2c0 R15: ffff888009a077f8
FS: 0000000000000000(0000) GS:ffff8880e534d000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2d62c000 CR3: 0000000047988000 CR4: 0000000000350ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
scsi_alloc_sgtables+0x206/0xc30
sd_init_command+0x8d8/0x30e0
scsi_queue_rq+0x133b/0x3280
blk_mq_dispatch_rq_list+0x3ad/0x1c00
__blk_mq_sched_dispatch_requests+0xc37/0x13e0
blk_mq_sched_dispatch_requests+0xd7/0x1b0
blk_mq_run_work_fn+0x1f9/0x380
process_one_work+0x8e1/0x1960
worker_thread+0x67e/0xe90
kthread+0x385/0x490
ret_from_fork+0x67a/0x7a0
ret_from_fork_asm+0x1a/0x30
irq event stamp: 176891
hardirqs last enabled at (176899): [] __up_console_sem+0x78/0x80
hardirqs last disabled at (176908): [] __up_console_sem+0x5d/0x80
softirqs last enabled at (176788): [] __irq_exit_rcu+0xc4/0x100
softirqs last disabled at (176773): [] __irq_exit_rcu+0xc4/0x100
---[ end trace 0000000000000000 ]---
------------[ cut here ]------------
kernel BUG at drivers/scsi/scsi_lib.c:1173!
Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI
CPU: 0 UID: 0 PID: 11 Comm: kworker/0:0H Tainted: G W 6.19.0-rc4-next-20260108 #1 PREEMPT(voluntary)
Tainted: [W]=WARN
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014
Workqueue: kblockd blk_mq_run_work_fn
RIP: 0010:scsi_alloc_sgtables+0xa32/0xc30
Code: e9 71 f7 ff ff e8 de 0c 32 fe 90 0f 0b 90 41 bc 0a 00 00 00 e9 c8 fc ff ff 41 bc 09 00 00 00 e9 bd fc ff ff e8 bf 0c 32 fe 90 <0f> 0b 45 31 f6 e9 b7 f9 ff ff e8 af 0c 32 fe be 01 00 00 00 31 ff
RSP: 0018:ffff888009a077b0 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffff88800ba5e3b8 RCX: ffffffff834367ed
RDX: ffff8880099eb700 RSI: ffffffff83436bd1 RDI: 0000000000000004
RBP: 0000000000000004 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000004 R11: 0000000000000000 R12: 0000000000000002
R13: ffff88800ba5e2dc R14: 0000000000000000 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8880e534d000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2d62c000 CR3: 0000000047988000 CR4: 0000000000350ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
sd_init_command+0x8d8/0x30e0
scsi_queue_rq+0x133b/0x3280
blk_mq_dispatch_rq_list+0x3ad/0x1c00
__blk_mq_sched_dispatch_requests+0xc37/0x13e0
blk_mq_sched_dispatch_requests+0xd7/0x1b0
blk_mq_run_work_fn+0x1f9/0x380
process_one_work+0x8e1/0x1960
worker_thread+0x67e/0xe90
kthread+0x385/0x490
ret_from_fork+0x67a/0x7a0
ret_from_fork_asm+0x1a/0x30
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:scsi_alloc_sgtables+0xa32/0xc30
Code: e9 71 f7 ff ff e8 de 0c 32 fe 90 0f 0b 90 41 bc 0a 00 00 00 e9 c8 fc ff ff 41 bc 09 00 00 00 e9 bd fc ff ff e8 bf 0c 32 fe 90 <0f> 0b 45 31 f6 e9 b7 f9 ff ff e8 af 0c 32 fe be 01 00 00 00 31 ff
RSP: 0018:ffff888009a077b0 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffff88800ba5e3b8 RCX: ffffffff834367ed
RDX: ffff8880099eb700 RSI: ffffffff83436bd1 RDI: 0000000000000004
RBP: 0000000000000004 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000004 R11: 0000000000000000 R12: 0000000000000002
R13: ffff88800ba5e2dc R14: 0000000000000000 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8880e534d000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2d62c000 CR3: 0000000047988000 CR4: 0000000000350ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
BUG: sleeping function called from invalid context at ./include/linux/percpu-rwsem.h:51
in_atomic(): 0, irqs_disabled(): 0, non_block: 0, pid: 11, name: kworker/0:0H
preempt_count: 0, expected: 0
RCU nest depth: 1, expected: 0
INFO: lockdep is turned off.
CPU: 0 UID: 0 PID: 11 Comm: kworker/0:0H Tainted: G D W 6.19.0-rc4-next-20260108 #1 PREEMPT(voluntary)
Tainted: [D]=DIE, [W]=WARN
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014
Workqueue: kblockd blk_mq_run_work_fn
Call Trace:
dump_stack_lvl+0xfa/0x120
__might_resched+0x2f3/0x510
exit_signals+0x2b/0xae0
do_exit+0x2e3/0x2950
make_task_dead+0x174/0x3b0
rewind_stack_and_make_dead+0x16/0x20
RIP: 0000:0x0
Code: Unable to access opcode bytes at 0xffffffffffffffd6.
RSP: 0000:0000000000000000 EFLAGS: 00000000 ORIG_RAX: 0000000000000000
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000