syzbot


INFO: task hung in scsi_host_dev_release

Status: premoderation: reported on 2025/07/07 02:51
Reported-by: syzbot+f81dae4e6dd5ab7c8b9f@syzkaller.appspotmail.com
First crash: 54d, last: 54d
Similar bugs (2)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in scsi_host_dev_release scsi 1 1 294d 294d 0/29 auto-obsoleted due to no activity on 2025/02/06 21:36
upstream INFO: task hung in scsi_host_dev_release (2) kernel 1 1 169d 169d 0/29 auto-obsoleted due to no activity on 2025/06/11 22:31

Sample crash report:
INFO: task kworker/1:2:306 blocked for more than 127 seconds.
      Not tainted 6.12.30-syzkaller-ge2bf362ee23b #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/1:2     state:D stack:0     pid:306   tgid:306   ppid:2      flags:0x00004000
Workqueue: usb_hub_wq hub_event
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5929 [inline]
 __schedule+0x145b/0x1f10 kernel/sched/core.c:7755
 __schedule_loop kernel/sched/core.c:7836 [inline]
 schedule+0xc6/0x240 kernel/sched/core.c:7851
 schedule_preempt_disabled+0x14/0x30 kernel/sched/core.c:7908
 __mutex_lock_common kernel/locking/mutex.c:692 [inline]
 __mutex_lock+0x836/0x1b60 kernel/locking/mutex.c:786
 __mutex_lock_slowpath+0xe/0x20 kernel/locking/mutex.c:1117
 mutex_lock+0x102/0x1c0 kernel/locking/mutex.c:270
 rcu_barrier+0x4d/0x530 kernel/rcu/tree.c:4574
 scsi_host_dev_release+0xae/0x2f0 drivers/scsi/hosts.c:344
 device_release+0xab/0x1e0 drivers/base/core.c:-1
 kobject_cleanup lib/kobject.c:689 [inline]
 kobject_release lib/kobject.c:720 [inline]
 kref_put include/linux/kref.h:65 [inline]
 kobject_put+0x1aa/0x2a0 lib/kobject.c:737
 put_device+0x23/0x40 drivers/base/core.c:3800
 scsi_host_put+0x20/0x30 drivers/scsi/hosts.c:625
 release_everything+0x1f8/0x210 drivers/usb/storage/usb.c:971
 usb_stor_probe2+0x2ff/0xbd0 drivers/usb/storage/usb.c:1168
 storage_probe+0x76e/0xd90 drivers/usb/storage/usb.c:1232
 usb_probe_interface+0x696/0xc00 drivers/usb/core/driver.c:399
 call_driver_probe drivers/base/dd.c:-1 [inline]
 really_probe+0x2d3/0x890 drivers/base/dd.c:657
 __driver_probe_device+0x198/0x280 drivers/base/dd.c:799
 driver_probe_device+0x54/0x3f0 drivers/base/dd.c:829
 __device_attach_driver+0x2f1/0x4b0 drivers/base/dd.c:957
 bus_for_each_drv+0x260/0x2f0 drivers/base/bus.c:459
 __device_attach+0x2bd/0x3a0 drivers/base/dd.c:1029
 device_initial_probe+0x1e/0x30 drivers/base/dd.c:1078
 bus_probe_device+0x18b/0x270 drivers/base/bus.c:534
 device_add+0x80c/0xc00 drivers/base/core.c:3692
 usb_set_configuration+0x1ad4/0x20b0 drivers/usb/core/message.c:2210
 usb_generic_driver_probe+0x95/0x160 drivers/usb/core/generic.c:254
 usb_probe_device+0x1d4/0x380 drivers/usb/core/driver.c:294
 call_driver_probe drivers/base/dd.c:-1 [inline]
 really_probe+0x2d3/0x890 drivers/base/dd.c:657
 __driver_probe_device+0x198/0x280 drivers/base/dd.c:799
 driver_probe_device+0x54/0x3f0 drivers/base/dd.c:829
 __device_attach_driver+0x2f1/0x4b0 drivers/base/dd.c:957
 bus_for_each_drv+0x260/0x2f0 drivers/base/bus.c:459
 __device_attach+0x2bd/0x3a0 drivers/base/dd.c:1029
 device_initial_probe+0x1e/0x30 drivers/base/dd.c:1078
 bus_probe_device+0x18b/0x270 drivers/base/bus.c:534
 device_add+0x80c/0xc00 drivers/base/core.c:3692
 usb_new_device+0x9ed/0x1590 drivers/usb/core/hub.c:2662
 hub_port_connect drivers/usb/core/hub.c:5533 [inline]
 hub_port_connect_change drivers/usb/core/hub.c:5673 [inline]
 port_event drivers/usb/core/hub.c:5833 [inline]
 hub_event+0x265b/0x41a0 drivers/usb/core/hub.c:5915
 process_one_work kernel/workqueue.c:3238 [inline]
 process_scheduled_works+0x7d5/0x1020 kernel/workqueue.c:3319
 worker_thread+0xc58/0x1250 kernel/workqueue.c:3400
 kthread+0x2c7/0x370 kernel/kthread.c:389
 ret_from_fork+0x64/0xa0 arch/x86/kernel/process.c:153
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>
INFO: task kworker/u8:41:21280 blocked for more than 134 seconds.
      Not tainted 6.12.30-syzkaller-ge2bf362ee23b #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u8:41   state:D stack:0     pid:21280 tgid:21280 ppid:2      flags:0x00004000
Workqueue: netns cleanup_net
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5929 [inline]
 __schedule+0x145b/0x1f10 kernel/sched/core.c:7755
 __schedule_loop kernel/sched/core.c:7836 [inline]
 schedule+0xc6/0x240 kernel/sched/core.c:7851
 schedule_preempt_disabled+0x14/0x30 kernel/sched/core.c:7908
 __mutex_lock_common kernel/locking/mutex.c:692 [inline]
 __mutex_lock+0x836/0x1b60 kernel/locking/mutex.c:786
 __mutex_lock_slowpath+0xe/0x20 kernel/locking/mutex.c:1117
 mutex_lock+0x102/0x1c0 kernel/locking/mutex.c:270
 rcu_barrier+0x4d/0x530 kernel/rcu/tree.c:4574
 netdev_run_todo+0x10e/0xcb0 net/core/dev.c:10864
 rtnl_unlock+0x12/0x20 net/core/rtnetlink.c:152
 cleanup_net+0x632/0xc70 net/core/net_namespace.c:638
 process_one_work kernel/workqueue.c:3238 [inline]
 process_scheduled_works+0x7d5/0x1020 kernel/workqueue.c:3319
 worker_thread+0xc58/0x1250 kernel/workqueue.c:3400
 kthread+0x2c7/0x370 kernel/kthread.c:389
 ret_from_fork+0x64/0xa0 arch/x86/kernel/process.c:153
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>
INFO: task syz-executor:26890 blocked for more than 136 seconds.

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/07/07 02:51 android16-6.12 e2bf362ee23b 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust INFO: task hung in scsi_host_dev_release
* Struck through repros no longer work on HEAD.