WARNING: kobject bug in __scsi_remove_device

Status: upstream: reported syz repro on 2026/08/19 13:20
Reported-by: syzbot+ff3faca52f5248438a14@syzkaller.appspotmail.com
First crash: 60d, last: 5d17h
▶ ▼ Bug presence (1)
Date Name Commit Repro Result
2026/09/20 upstream (ToT) [unknown] syz Failed due to an error; will retry later
▶ ▼ Similar bugs (2)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 WARNING: kobject bug in __scsi_remove_device origin:upstream -1 syz 13 8d09h 62d 0/3 upstream: reported syz repro on 2026/08/17 20:44
android-6-12 WARNING: kobject bug in __scsi_remove_device -1 syz 26 5h21m 58d 0/1 premoderation: reported syz repro on 2026/08/21 16:20

Sample crash report:
------------[ cut here ]------------
kobject: '(null)' (ffff8880314c8740): is not initialized, yet kobject_put() is being called.
WARNING: CPU: 1 PID: 5933 at lib/kobject.c:736 kobject_put+0x90/0x450 lib/kobject.c:734
Modules linked in:
CPU: 1 PID: 5933 Comm: syz.0.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:kobject_put+0x90/0x450 lib/kobject.c:734
Code: 48 b9 00 00 00 00 00 fc ff df 80 3c 08 00 74 08 48 89 df e8 c2 a0 61 f7 48 8b 33 48 c7 c7 c0 0c eb 8b 48 89 da e8 20 7e d2 f6 <0f> 0b eb 05 e8 77 bf 08 f7 4c 8d 73 38 4c 89 f7 be 04 00 00 00 e8
RSP: 0018:ffffc9000458f560 EFLAGS: 00010246
RAX: 0201d3c2acfbbe00 RBX: ffff8880314c8740 RCX: ffff88802ccf8000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000002
RBP: 0000000000000000 R08: ffffc9000458f167 R09: 1ffff920008b1e2c
R10: dffffc0000000000 R11: fffff520008b1e2d R12: 1ffff110062990ef
R13: dffffc0000000000 R14: ffff8880314c877c R15: 0000000000000200
FS:  00007f0f1645e6c0(0000) GS:ffff8880b8d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa9b25535c0 CR3: 0000000079495000 CR4: 00000000003506e0
Call Trace:
 <TASK>
 __scsi_remove_device+0xcc/0x390 drivers/scsi/scsi_sysfs.c:1491
 scsi_alloc_sdev+0x908/0xab0 drivers/scsi/scsi_scan.c:379
 scsi_probe_and_add_lun+0x1bb/0x45f0 drivers/scsi/scsi_scan.c:1186
 __scsi_scan_target+0x1bc/0x1090 drivers/scsi/scsi_scan.c:1716
 scsi_scan_channel drivers/scsi/scsi_scan.c:1812 [inline]
 scsi_scan_host_selected+0x50f/0x6a0 drivers/scsi/scsi_scan.c:1844
 scsi_scan drivers/scsi/scsi_sysfs.c:151 [inline]
 store_scan+0x4a0/0x530 drivers/scsi/scsi_sysfs.c:191
 kernfs_fop_write_iter+0x3a4/0x520 fs/kernfs/file.c:352
 call_write_iter include/linux/fs.h:2018 [inline]
 new_sync_write fs/read_write.c:491 [inline]
 vfs_write+0x474/0x9a0 fs/read_write.c:584
 ksys_write+0x151/0x260 fs/read_write.c:637
 do_syscall_x64 arch/x86/entry/common.c:46 [inline]
 do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:76
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f0f1559e1d9
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:00007f0f1645e028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f0f15825fa0 RCX: 00007f0f1559e1d9
RDX: 0000000000000005 RSI: 0000200000000380 RDI: 0000000000000003
RBP: 00007f0f15635888 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f0f15826038 R14: 00007f0f15825fa0 R15: 00007ffe31cc8188
 </TASK>

Crashes (9):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/10/13 03:19 linux-6.6.y a91a6aa9253c 745a967f .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING: kobject bug in __scsi_remove_device
2026/10/10 19:24 linux-6.6.y a91a6aa9253c 4f92358f .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING: kobject bug in __scsi_remove_device
2026/08/28 04:57 linux-6.6.y 93e0c9521fa8 69a01293 .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING: kobject bug in __scsi_remove_device
2026/08/22 08:26 linux-6.6.y c610b395b0a5 1e72964b .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING: kobject bug in __scsi_remove_device
2026/08/19 13:20 linux-6.6.y d27334b2888c 1e72964b .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING: kobject bug in __scsi_remove_device
2026/10/12 21:58 linux-6.6.y a91a6aa9253c 745a967f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING: kobject bug in __scsi_remove_device
2026/10/10 10:23 linux-6.6.y a91a6aa9253c 4f92358f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING: kobject bug in __scsi_remove_device
2026/08/27 22:28 linux-6.6.y 93e0c9521fa8 69a01293 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING: kobject bug in __scsi_remove_device
2026/08/22 07:38 linux-6.6.y c610b395b0a5 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING: kobject bug in __scsi_remove_device
* Struck through repros no longer work on HEAD.