RBP: 00007fdc81c35888 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fdc81e26038 R14: 00007fdc81e25fa0 R15: 00007ffecdf45268 ---[ end trace 0000000000000000 ]--- scsi_alloc_sdev: Allocation failure during SCSI scanning, some SCSI devices might not be configured ------------[ cut here ]------------ kernel BUG at drivers/scsi/scsi_scan.c:595! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 26464 Comm: syz.7.2471 Tainted: G W syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026 RIP: 0010:scsi_target_reap+0x169/0x170 drivers/scsi/scsi_scan.c:595 Code: bc fe e9 f4 fe ff ff 44 89 e9 80 e1 07 80 c1 03 38 c1 0f 8c 4b ff ff ff 4c 89 ef e8 c1 b6 bc fe e9 3e ff ff ff e8 17 2a 77 fe <0f> 0b 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 b8 f5 24 0c RSP: 0018:ffffc90000ce7808 EFLAGS: 00010246 RAX: ffffffff82fa4429 RBX: ffff8881128b0800 RCX: 0000000000080000 RDX: ffffc90010415000 RSI: 000000000007ffff RDI: 0000000000080000 RBP: ffffc90000ce7830 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffff5200019cee8 R12: ffff8881128b0800 R13: ffff8881128b0bc4 R14: 1ffff11022516178 R15: 0000000000000005 FS: 00007fdc82a506c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f041b3ead58 CR3: 0000000125874000 CR4: 00000000003506a0 DR0: 000000000000000c DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: __scsi_scan_target+0x5c0/0xc20 drivers/scsi/scsi_scan.c:1738 scsi_scan_channel drivers/scsi/scsi_scan.c:1809 [inline] scsi_scan_host_selected+0x34e/0x600 drivers/scsi/scsi_scan.c:1838 scsi_scan drivers/scsi/scsi_sysfs.c:151 [inline] store_scan+0x4aa/0x540 drivers/scsi/scsi_sysfs.c:191 dev_attr_store+0x6c/0x90 drivers/base/core.c:2389 sysfs_kf_write+0x137/0x150 fs/sysfs/file.c:136 kernfs_fop_write_iter+0x307/0x470 fs/kernfs/file.c:352 call_write_iter include/linux/fs.h:2282 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x5ef/0xd00 fs/read_write.c:584 ksys_write+0x14a/0x260 fs/read_write.c:637 __do_sys_write fs/read_write.c:649 [inline] __se_sys_write fs/read_write.c:646 [inline] __x64_sys_write+0x7b/0x90 fs/read_write.c:646 x64_sys_call+0x27b/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:2 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fdc81b9e1d9 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fdc82a50028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fdc81e25fa0 RCX: 00007fdc81b9e1d9 RDX: 0000000000000005 RSI: 0000200000000180 RDI: 0000000000000003 RBP: 00007fdc81c35888 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fdc81e26038 R14: 00007fdc81e25fa0 R15: 00007ffecdf45268 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:scsi_target_reap+0x169/0x170 drivers/scsi/scsi_scan.c:595 Code: bc fe e9 f4 fe ff ff 44 89 e9 80 e1 07 80 c1 03 38 c1 0f 8c 4b ff ff ff 4c 89 ef e8 c1 b6 bc fe e9 3e ff ff ff e8 17 2a 77 fe <0f> 0b 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 b8 f5 24 0c RSP: 0018:ffffc90000ce7808 EFLAGS: 00010246 RAX: ffffffff82fa4429 RBX: ffff8881128b0800 RCX: 0000000000080000 RDX: ffffc90010415000 RSI: 000000000007ffff RDI: 0000000000080000 RBP: ffffc90000ce7830 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffff5200019cee8 R12: ffff8881128b0800 R13: ffff8881128b0bc4 R14: 1ffff11022516178 R15: 0000000000000005 FS: 00007fdc82a506c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f339fe04ff8 CR3: 0000000125874000 CR4: 00000000003506a0 DR0: 000000000000000c DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400