INFO: task hung in mmc_stop_host

Status: upstream: reported on 2026/08/14 22:00
Reported-by: syzbot+fb1f6c12d5405a4a3707@syzkaller.appspotmail.com
First crash: 66d, last: 5d09h
▶ ▼ Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in mmc_stop_host prio:high mmc 1 1093 2h48m 56d 0/29 upstream: reported on 2026/08/25 00:03
linux-6.1 INFO: task hung in mmc_stop_host 1 2 45d 50d 0/3 upstream: reported on 2026/08/30 19:05
linux-5.15 INFO: task hung in mmc_stop_host 1 2 24d 45d 0/3 upstream: reported on 2026/09/05 04:28

Sample crash report:
INFO: task kworker/0:3:5832 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/0:3     state:D stack:15832 pid:5832  ppid:2      flags:0x00004000
Workqueue: usb_hub_wq hub_event
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5382 [inline]
 __schedule+0x15ae/0x4660 kernel/sched/core.c:6701
 schedule+0xbd/0x170 kernel/sched/core.c:6775
 schedule_timeout+0xc1/0x2d0 kernel/time/timer.c:2144
 do_wait_for_common kernel/sched/completion.c:95 [inline]
 __wait_for_common kernel/sched/completion.c:116 [inline]
 wait_for_common kernel/sched/completion.c:127 [inline]
 wait_for_completion+0x2c6/0x5a0 kernel/sched/completion.c:148
 __flush_work+0x92f/0xac0 kernel/workqueue.c:3475
 __cancel_work_timer+0x3f8/0x560 kernel/workqueue.c:3562
 __mmc_stop_host drivers/mmc/core/core.c:2308 [inline]
 mmc_stop_host+0xd9/0x460 drivers/mmc/core/core.c:2313
 mmc_remove_host+0x15/0x60 drivers/mmc/core/host.c:675
 vub300_disconnect+0x14f/0x2e0 drivers/mmc/host/vub300.c:2380
 usb_unbind_interface+0x204/0x870 drivers/usb/core/driver.c:457
 device_remove drivers/base/dd.c:628 [inline]
 __device_release_driver drivers/base/dd.c:1351 [inline]
 device_release_driver_internal+0x458/0x6f0 drivers/base/dd.c:1374
 bus_remove_device+0x43b/0x520 drivers/base/bus.c:624
 device_del+0x51f/0x910 drivers/base/core.c:3956
 usb_disable_device+0x3ee/0x8a0 drivers/usb/core/message.c:1474
 usb_disconnect+0x340/0x8a0 drivers/usb/core/hub.c:2320
 hub_port_connect drivers/usb/core/hub.c:5374 [inline]
 hub_port_connect_change drivers/usb/core/hub.c:5674 [inline]
 port_event drivers/usb/core/hub.c:5838 [inline]
 hub_event+0x1d69/0x4a80 drivers/usb/core/hub.c:5920
 process_one_work kernel/workqueue.c:2657 [inline]
 process_scheduled_works+0xa60/0x1600 kernel/workqueue.c:2734
 worker_thread+0xa5e/0xfe0 kernel/workqueue.c:2815
 kthread+0x2fa/0x390 kernel/kthread.c:388
 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293
 </TASK>
INFO: task kworker/0:5:6806 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/0:5     state:D stack:21616 pid:6806  ppid:2      flags:0x00004000
Workqueue: events_freezable mmc_rescan
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5382 [inline]
 __schedule+0x15ae/0x4660 kernel/sched/core.c:6701
 schedule+0xbd/0x170 kernel/sched/core.c:6775
 schedule_timeout+0xc1/0x2d0 kernel/time/timer.c:2144
 do_wait_for_common kernel/sched/completion.c:95 [inline]
 __wait_for_common kernel/sched/completion.c:116 [inline]
 wait_for_common kernel/sched/completion.c:127 [inline]
 wait_for_completion+0x2c6/0x5a0 kernel/sched/completion.c:148
 mmc_wait_for_req_done+0x37/0x460 drivers/mmc/core/core.c:402
 mmc_wait_for_cmd+0x178/0x280 drivers/mmc/core/core.c:638
 mmc_io_rw_direct_host drivers/mmc/core/sdio_ops.c:83 [inline]
 sdio_reset+0x212/0x3c0 drivers/mmc/core/sdio_ops.c:215
 mmc_rescan_try_freq drivers/mmc/core/core.c:2076 [inline]
 mmc_rescan+0x69b/0xfb0 drivers/mmc/core/core.c:2259
 process_one_work kernel/workqueue.c:2657 [inline]
 process_scheduled_works+0xa60/0x1600 kernel/workqueue.c:2734
 worker_thread+0xa5e/0xfe0 kernel/workqueue.c:2815
 kthread+0x2fa/0x390 kernel/kthread.c:388
 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/28:
 #0: ffffffff8df320e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:334 [inline]
 #0: ffffffff8df320e0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:786 [inline]
 #0: ffffffff8df320e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x290 kernel/locking/lockdep.c:6669
2 locks held by kworker/u4:7/1100:
 #0: ffff888019337538 ((wq_completion)iou_exit){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2632 [inline]
 #0: ffff888019337538 ((wq_completion)iou_exit){+.+.}-{0:0}, at: process_scheduled_works+0x975/0x1600 kernel/workqueue.c:2734
 #1: ffffc900048cfd00 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2632 [inline]
 #1: ffffc900048cfd00 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_scheduled_works+0x975/0x1600 kernel/workqueue.c:2734
2 locks held by getty/5526:
 #0: ffff88802e9510a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
 #1: ffffc9000327e2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x428/0x1370 drivers/tty/n_tty.c:2217
5 locks held by kworker/0:3/5832:
 #0: ffff88801aeef938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2632 [inline]
 #0: ffff88801aeef938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_scheduled_works+0x975/0x1600 kernel/workqueue.c:2734
 #1: ffffc900048dfd00 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2632 [inline]
 #1: ffffc900048dfd00 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_scheduled_works+0x975/0x1600 kernel/workqueue.c:2734
 #2: ffff888143bcb1d8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1094 [inline]
 #2: ffff888143bcb1d8 (&dev->mutex){....}-{3:3}, at: hub_event+0x188/0x4a80 drivers/usb/core/hub.c:5866
 #3: ffff88807e9401d8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1094 [inline]
 #3: ffff88807e9401d8 (&dev->mutex){....}-{3:3}, at: usb_disconnect+0xfc/0x8a0 drivers/usb/core/hub.c:2311
 #4: ffff888032c141a8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1094 [inline]
 #4: ffff888032c141a8 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1174 [inline]
 #4: ffff888032c141a8 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xa7/0x6f0 drivers/base/dd.c:1371
2 locks held by kworker/0:5/6806:
 #0: ffff888018872138 ((wq_completion)events_freezable){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2632 [inline]
 #0: ffff888018872138 ((wq_completion)events_freezable){+.+.}-{0:0}, at: process_scheduled_works+0x975/0x1600 kernel/workqueue.c:2734
 #1: ffffc900039b7d00 ((work_completion)(&(&host->detect)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2632 [inline]
 #1: ffffc900039b7d00 ((work_completion)(&(&host->detect)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x975/0x1600 kernel/workqueue.c:2734

=============================================

NMI backtrace for cpu 1
CPU: 1 PID: 28 Comm: khungtaskd Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026
Call Trace:
 <TASK>
 dump_stack_lvl+0x18c/0x250 lib/dump_stack.c:106
 nmi_cpu_backtrace+0x3a6/0x3e0 lib/nmi_backtrace.c:113
 nmi_trigger_cpumask_backtrace+0x17a/0x2f0 lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline]
 watchdog+0xf59/0xfa0 kernel/hung_task.c:379
 kthread+0x2fa/0x390 kernel/kthread.c:388
 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293
 </TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 1100 Comm: kworker/u4:7 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026
Workqueue: bat_events batadv_nc_worker
RIP: 0010:kasan_check_range+0x1ba/0x290 mm/kasan/generic.c:-1
Code: 49 01 dc 4d 01 f3 49 8d 5c 24 07 4d 85 e4 49 0f 49 dc 48 83 e3 f8 49 29 dc 74 0e 41 80 3b 00 75 6b 49 ff c3 49 ff cc 75 f2 5b <41> 5c 41 5d 41 5e 41 5f 5d c3 45 84 ff 0f 85 91 00 00 00 41 f7 c7
RSP: 0018:ffffc900048cf790 EFLAGS: 00000056
RAX: 0000000000000001 RBX: 0000000000000001 RCX: ffffffff8168a8bd
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff91ff15e0
RBP: ffffc900048cfa08 R08: ffffffff91ff15e7 R09: 1ffffffff23fe2bc
R10: dffffc0000000000 R11: fffffbfff23fe2bd R12: 0000000000000001
R13: ffff8880248a6530 R14: fffffbfff23fe2bd R15: 1ffffffff23fe2bc
FS:  0000000000000000(0000) GS:ffff8880b8c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffd74221d70 CR3: 000000000dd32000 CR4: 00000000003506f0
Call Trace:
 <TASK>
 instrument_atomic_read include/linux/instrumented.h:68 [inline]
 _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline]
 hlock_class kernel/locking/lockdep.c:228 [inline]
 check_wait_context kernel/locking/lockdep.c:4826 [inline]
 __lock_acquire+0xa4d/0x7eb0 kernel/locking/lockdep.c:5121
 lock_acquire+0x19e/0x420 kernel/locking/lockdep.c:5790
 rcu_lock_acquire include/linux/rcupdate.h:334 [inline]
 rcu_read_lock include/linux/rcupdate.h:786 [inline]
 batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline]
 batadv_nc_worker+0xef/0x600 net/batman-adv/network-coding.c:719
 process_one_work kernel/workqueue.c:2657 [inline]
 process_scheduled_works+0xa60/0x1600 kernel/workqueue.c:2734
 worker_thread+0xa5e/0xfe0 kernel/workqueue.c:2815
 kthread+0x2fa/0x390 kernel/kthread.c:388
 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293
 </TASK>

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/10/15 08:40 linux-6.6.y a91a6aa9253c 8fb0ae89 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in mmc_stop_host
2026/09/11 14:13 linux-6.6.y 8b73de7da85f b6a5eeb7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in mmc_stop_host
2026/09/04 21:03 linux-6.6.y 8b73de7da85f f65209a4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in mmc_stop_host
2026/09/03 23:02 linux-6.6.y 8b73de7da85f 801f0966 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in mmc_stop_host
2026/08/14 21:59 linux-6.6.y d27334b2888c 6f9b3e89 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in mmc_stop_host
* Struck through repros no longer work on HEAD.