Buffer I/O error on dev sr0, logical block 1, lost async page write Buffer I/O error on dev sr0, logical block 2, lost async page write Buffer I/O error on dev sr0, logical block 3, lost async page write Buffer I/O error on dev sr0, logical block 4, lost async page write Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 0 UID: 0 PID: 4025 Comm: syz-executor.0 Tainted: G W 6.17.0-rc4-next-20250901 #1 PREEMPT(voluntary) Tainted: [W]=WARN Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:destroy_workqueue+0x5a2/0xa00 Code: 3f 0f 87 24 01 00 00 e8 3c 67 31 00 89 de 48 89 ef e8 52 6b fe ff 49 89 c7 48 85 c0 74 41 e8 25 67 31 00 4c 89 fa 48 c1 ea 03 <42> 80 3c 22 00 0f 85 89 03 00 00 49 8b 3f e8 bb a0 7b 03 4c 89 ff RSP: 0018:ffff88804644fd40 EFLAGS: 00010256 RAX: 000000000000e1ef RBX: 0000000000000000 RCX: ffffc9000088e000 RDX: 0000000000000000 RSI: ffffffff81428f8b RDI: 0000000000000005 RBP: ffff888046557800 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: dffffc0000000000 R13: ffffffff85852560 R14: ffffed1008caaf39 R15: 0000000000000001 FS: 00007ff9f13a0700(0000) GS:ffff8880e55d8000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2cd23000 CR3: 000000000c7aa000 CR4: 0000000000350ef0 Call Trace: lo_free_disk+0x6b/0xb0 disk_release+0x25d/0x420 device_release+0xa6/0x240 kobject_put+0x162/0x260 put_device+0x1f/0x30 put_disk+0x48/0x60 loop_control_ioctl+0x4d9/0x640 __x64_sys_ioctl+0x18f/0x210 do_syscall_64+0xbf/0x360 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ff9f3e2ab19 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff9f13a0188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007ff9f3f3df60 RCX: 00007ff9f3e2ab19 RDX: 0000000000000002 RSI: 0000000000004c81 RDI: 0000000000000003 RBP: 00007ff9f3e84f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff2def41bf R14: 00007ff9f13a0300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:destroy_workqueue+0x5a2/0xa00 Code: 3f 0f 87 24 01 00 00 e8 3c 67 31 00 89 de 48 89 ef e8 52 6b fe ff 49 89 c7 48 85 c0 74 41 e8 25 67 31 00 4c 89 fa 48 c1 ea 03 <42> 80 3c 22 00 0f 85 89 03 00 00 49 8b 3f e8 bb a0 7b 03 4c 89 ff RSP: 0018:ffff88804644fd40 EFLAGS: 00010256 RAX: 000000000000e1ef RBX: 0000000000000000 RCX: ffffc9000088e000 RDX: 0000000000000000 RSI: ffffffff81428f8b RDI: 0000000000000005 RBP: ffff888046557800 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: dffffc0000000000 R13: ffffffff85852560 R14: ffffed1008caaf39 R15: 0000000000000001 FS: 00007ff9f13a0700(0000) GS:ffff8880e55d8000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2cd23000 CR3: 000000000c7aa000 CR4: 0000000000350ef0 BUG: sleeping function called from invalid context at ./include/linux/percpu-rwsem.h:51 in_atomic(): 0, irqs_disabled(): 0, non_block: 0, pid: 4025, name: syz-executor.0 preempt_count: 0, expected: 0 RCU nest depth: 1, expected: 0 INFO: lockdep is turned off. CPU: 0 UID: 0 PID: 4025 Comm: syz-executor.0 Tainted: G D W 6.17.0-rc4-next-20250901 #1 PREEMPT(voluntary) Tainted: [D]=DIE, [W]=WARN Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 Call Trace: dump_stack_lvl+0xfa/0x120 __might_resched+0x2f3/0x510 exit_signals+0x25/0x940 do_exit+0x2db/0x2970 make_task_dead+0x174/0x3b0 rewind_stack_and_make_dead+0x16/0x20 RIP: 0033:0x7ff9f3e2ab19 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff9f13a0188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007ff9f3f3df60 RCX: 00007ff9f3e2ab19 RDX: 0000000000000002 RSI: 0000000000004c81 RDI: 0000000000000003 RBP: 00007ff9f3e84f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff2def41bf R14: 00007ff9f13a0300 R15: 0000000000022000 audit: type=1326 audit(1756784149.970:13): auid=0 uid=0 gid=0 ses=4 subj=system_u:system_r:kernel_t:s0 pid=4034 comm="syz-executor.3" exe="/syz-executor.3" sig=31 arch=c000003e syscall=202 compat=0 ip=0x7f601f77ab19 code=0x0 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 0f 87 24 01 00 00 ja 0x12a 6: e8 3c 67 31 00 callq 0x316747 b: 89 de mov %ebx,%esi d: 48 89 ef mov %rbp,%rdi 10: e8 52 6b fe ff callq 0xfffe6b67 15: 49 89 c7 mov %rax,%r15 18: 48 85 c0 test %rax,%rax 1b: 74 41 je 0x5e 1d: e8 25 67 31 00 callq 0x316747 22: 4c 89 fa mov %r15,%rdx 25: 48 c1 ea 03 shr $0x3,%rdx * 29: 42 80 3c 22 00 cmpb $0x0,(%rdx,%r12,1) <-- trapping instruction 2e: 0f 85 89 03 00 00 jne 0x3bd 34: 49 8b 3f mov (%r15),%rdi 37: e8 bb a0 7b 03 callq 0x37ba0f7 3c: 4c 89 ff mov %r15,%rdi