WARNING in mmc_free_host

Status: upstream: reported on 2026/08/19 18:13
Subsystems: mmc
Labels: prio:high
[Documentation on labels]
Reported-by: syzbot+82a0a7de6d84867d030e@syzkaller.appspotmail.com
First crash: 20d, last: 17h09m
✨ AI Jobs (4)
ID Workflow Result Correct Bug Created Started Finished Revision
2edec3cb repro-c Reproduced: ✅ WARNING in mmc_free_host 2026/09/04 19:36 2026/09/04 19:36 2026/09/04 21:17 7ce8fcf4
f5ecb5e5 assessment-security DenialOfService: ✅ Exploitable: ❌ FilesystemTrigger: ❌ NetworkTrigger: ❌ PeripheralTrigger: ✅ RemoteTrigger: ❌ Unprivileged: ❌ UserNamespace: ❌ VMGuestTrigger: ❌ VMHostTrigger: ❌ WARNING in mmc_free_host 2026/08/22 00:47 2026/08/22 00:47 2026/08/22 01:40 1e72964b
8664227c assessment-security 💥 WARNING in mmc_free_host 2026/08/19 01:37 2026/08/19 01:37 2026/08/19 01:37 1e72964b
ef5561ba assessment-security 💥 WARNING in mmc_free_host 2026/08/17 02:15 2026/08/17 02:15 2026/08/17 02:15 746171ee
Discussions (2)
Title Replies (including bot) Last reply
[syzbot] Monthly mmc report (Sep 2026) 0 (1) 2026/09/02 20:33
[syzbot] [mmc?] WARNING in mmc_free_host 0 (1) 2026/08/19 18:13
Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.6 WARNING in mmc_free_host -1 1 14d 14d 0/2 upstream: reported on 2026/08/20 22:09
Last patch testing requests (1)
Created Duration User Patch Repo Result
2026/09/04 21:17 14m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git bc35965f6940a9bf834d54187b6088b8eb09206d report job log log

Sample crash report:
------------[ cut here ]------------
do not call blocking ops when !TASK_RUNNING; state=1 set at [<ffffffff81a005a8>] prepare_to_wait_exclusive+0x88/0x230 kernel/sched/wait.c:275
WARNING: kernel/sched/core.c:9161 at __might_sleep+0x92/0xf0 kernel/sched/core.c:9157, CPU#0: syz.1.5330/22906
Modules linked in:
CPU: 0 UID: 0 PID: 22906 Comm: syz.1.5330 Tainted: G             L      syzkaller #0 PREEMPT(full) 
Tainted: [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/05/2026
RIP: 0010:__might_sleep+0xac/0xf0 kernel/sched/core.c:9157
Code: 00 00 48 89 3c 24 41 89 f5 4c 8d 35 5e 96 e6 0e 43 80 3c 3c 00 74 08 48 89 df e8 7f 06 a1 00 48 8b 0b 4c 89 f7 89 ee 48 89 ca <67> 48 0f b9 3a 44 89 ee 48 8b 3c 24 eb b5 44 89 f1 80 e1 07 80 c1
RSP: 0018:ffffc90000007c08 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffff8880351498a8 RCX: ffffffff81a005a8
RDX: ffffffff81a005a8 RSI: 0000000000000001 RDI: ffffffff907d1460
RBP: 0000000000000001 R08: 0000000000000100 R09: 1ffffffff20f42cf
R10: dffffc0000000000 R11: fffffbfff20f42d0 R12: 1ffff11006a29315
R13: 00000000000011d1 R14: ffffffff907d1460 R15: dffffc0000000000
FS:  00007fbb1ed056c0(0000) GS:ffff888124cd9000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00002000003dc030 CR3: 000000004feeb000 CR4: 0000000000350ef0
Call Trace:
 <IRQ>
 __cancel_work_sync+0x6d/0x110 kernel/workqueue.c:4561
 mmc_free_host+0x19/0x30 drivers/mmc/core/host.c:700
 call_timer_fn+0x18d/0x5f0 kernel/time/timer.c:1748
 expire_timers kernel/time/timer.c:1799 [inline]
 __run_timers kernel/time/timer.c:2374 [inline]
 __run_timer_base+0x652/0x8b0 kernel/time/timer.c:2386
 run_timer_base kernel/time/timer.c:2395 [inline]
 run_timer_softirq+0xb7/0x170 kernel/time/timer.c:2405
 handle_softirqs+0x226/0x860 kernel/softirq.c:645
 __do_softirq kernel/softirq.c:679 [inline]
 invoke_softirq kernel/softirq.c:519 [inline]
 __irq_exit_rcu+0xcb/0x220 kernel/softirq.c:767
 irq_exit_rcu+0x9/0x30 kernel/softirq.c:784
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline]
 sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1062
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674
RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:211 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0x47/0x80 kernel/locking/spinlock.c:221
Code: f7 e8 5d d5 bc f5 f7 c3 00 02 00 00 74 05 e8 50 12 e9 f5 9c 58 a9 00 02 00 00 75 29 f7 c3 00 02 00 00 74 01 fb bf 01 00 00 00 <e8> f4 ee ad f5 65 48 8b 05 9c 81 ad 07 48 85 c0 74 18 5b 41 5e e9
RSP: 0018:ffffc9000d797598 EFLAGS: 00000206
RAX: 0000000000000002 RBX: 0000000000000202 RCX: 8000000000000002
RDX: 0000000000000006 RSI: ffffffff8e4744cc RDI: 0000000000000001
RBP: 000000004e93ed01 R08: ffffffff907a167f R09: 1ffffffff20f42cf
R10: dffffc0000000000 R11: fffffbfff20f42d0 R12: ffff888035148000
R13: ffffffff81a005a8 R14: ffff88804e93ed00 R15: ffff8880351498a8
 spin_unlock_irqrestore include/linux/spinlock.h:425 [inline]
 prepare_to_wait_exclusive+0xe2/0x230 kernel/sched/wait.c:276
 unix_wait_for_peer+0x108/0x2f0 net/unix/af_unix.c:1619
 unix_dgram_sendmsg+0xaf4/0x17b0 net/unix/af_unix.c:2264
 sock_sendmsg_nosec+0x13a/0x180 net/socket.c:800
 __sock_sendmsg net/socket.c:815 [inline]
 ____sys_sendmsg+0x54e/0x850 net/socket.c:2713
 ___sys_sendmsg+0x2a5/0x360 net/socket.c:2767
 __sys_sendmmsg+0x273/0x4d0 net/socket.c:2856
 __do_sys_sendmmsg net/socket.c:2883 [inline]
 __se_sys_sendmmsg net/socket.c:2880 [inline]
 __x64_sys_sendmmsg+0xa0/0xc0 net/socket.c:2880
 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
 do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fbb1dd9e159
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:00007fbb1ed05028 EFLAGS: 00000246 ORIG_RAX: 0000000000000133
RAX: ffffffffffffffda RBX: 00007fbb1e025fa0 RCX: 00007fbb1dd9e159
RDX: 0000000000000318 RSI: 00002000000bd000 RDI: 0000000000000005
RBP: 00007fbb1de35024 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fbb1e026038 R14: 00007fbb1e025fa0 R15: 00007fff3a1a2068
 </TASK>
----------------
Code disassembly (best guess):
   0:	00 00                	add    %al,(%rax)
   2:	48 89 3c 24          	mov    %rdi,(%rsp)
   6:	41 89 f5             	mov    %esi,%r13d
   9:	4c 8d 35 5e 96 e6 0e 	lea    0xee6965e(%rip),%r14        # 0xee6966e
  10:	43 80 3c 3c 00       	cmpb   $0x0,(%r12,%r15,1)
  15:	74 08                	je     0x1f
  17:	48 89 df             	mov    %rbx,%rdi
  1a:	e8 7f 06 a1 00       	call   0xa1069e
  1f:	48 8b 0b             	mov    (%rbx),%rcx
  22:	4c 89 f7             	mov    %r14,%rdi
  25:	89 ee                	mov    %ebp,%esi
  27:	48 89 ca             	mov    %rcx,%rdx
* 2a:	67 48 0f b9 3a       	ud1    (%edx),%rdi <-- trapping instruction
  2f:	44 89 ee             	mov    %r13d,%esi
  32:	48 8b 3c 24          	mov    (%rsp),%rdi
  36:	eb b5                	jmp    0xffffffed
  38:	44 89 f1             	mov    %r14d,%ecx
  3b:	80 e1 07             	and    $0x7,%cl
  3e:	80                   	.byte 0x80
  3f:	c1                   	.byte 0xc1

Crashes (15):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/09/04 04:48 upstream 841e384b841a 801f0966 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in mmc_free_host
2026/09/03 16:06 upstream 940de590b839 6a988719 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in mmc_free_host
2026/09/02 06:13 upstream 89a312991dc6 587f6b29 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in mmc_free_host
2026/08/31 14:17 upstream cee9395acd80 2f52988a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in mmc_free_host
2026/08/29 02:56 upstream 1b78070aaef6 bcbc8ceb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in mmc_free_host
2026/08/26 05:31 upstream 45c13f3f9e3b 6a91adb4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in mmc_free_host
2026/08/25 10:01 upstream 66498c75b4f8 614e416a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in mmc_free_host
2026/08/22 09:24 upstream 26260251022f 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in mmc_free_host
2026/08/21 11:59 upstream 818bebeb63dd 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in mmc_free_host
2026/09/02 04:04 upstream 786262be6048 587f6b29 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in mmc_free_host
2026/08/28 06:33 upstream 1b78070aaef6 e2fa417d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in mmc_free_host
2026/08/25 07:27 upstream 66498c75b4f8 23caa175 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in mmc_free_host
2026/08/17 12:41 upstream 8d3ae59288f1 746171ee .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in mmc_free_host
2026/08/15 18:09 upstream 15ef2f78c49d 746171ee .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in mmc_free_host
2026/09/03 04:22 linux-next 32b6ef9a5d0e 85995287 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce WARNING in mmc_free_host
* Struck through repros no longer work on HEAD.