WARNING in mmc_free_host

Status: upstream: reported on 2026/08/20 22:09
Reported-by: syzbot+f3f1d59348a33ff79a73@syzkaller.appspotmail.com
First crash: 5d22h, last: 5d22h
Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in mmc_free_host mmc prio:high -1 7 15h07m 7d02h 0/29 upstream: reported on 2026/08/19 18:13

Sample crash report:
------------[ cut here ]------------
do not call blocking ops when !TASK_RUNNING; state=1 set at [<ffffffff884cb0e1>] snd_rawmidi_write+0x371/0xb90 sound/core/rawmidi.c:1672
WARNING: CPU: 0 PID: 5936 at kernel/sched/core.c:10139 __might_sleep+0xa6/0xe0 kernel/sched/core.c:-1
Modules linked in:
CPU: 0 PID: 5936 Comm: syz.1.31 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:__might_sleep+0xa6/0xe0 kernel/sched/core.c:10135
Code: 5d e9 5e 00 00 00 c6 05 65 58 18 0d 01 48 89 fb 48 c7 c7 20 5d ca 8a 41 89 f6 89 ee 48 89 ca e8 20 97 f2 ff 48 89 df 44 89 f6 <0f> 0b eb c9 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c 77 ff ff ff 49
RSP: 0018:ffffc90000007870 EFLAGS: 00010246
RAX: c054915b39e61e00 RBX: ffffffff8ac9f920 RCX: ffff888031b65a00
RDX: 0000000000000100 RSI: 0000000000000d56 RDI: ffffffff8ac9f920
RBP: 0000000000000001 R08: ffffc90000007467 R09: 1ffff92000000e8c
R10: dffffc0000000000 R11: fffff52000000e8d R12: ffff888031590670
R13: 1ffff92000000f1c R14: 0000000000000d56 R15: dffffc0000000000
FS:  00007fa5fc4936c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000001000 CR3: 000000002e055000 CR4: 00000000003506f0
Call Trace:
 <IRQ>
 start_flush_work kernel/workqueue.c:3414 [inline]
 __flush_work+0x10f/0xac0 kernel/workqueue.c:3474
 __cancel_work_timer+0x3f8/0x560 kernel/workqueue.c:3562
 mmc_free_host+0x19/0x30 drivers/mmc/core/host.c:694
 call_timer_fn+0x189/0x540 kernel/time/timer.c:1701
 expire_timers kernel/time/timer.c:1752 [inline]
 __run_timers+0x570/0x810 kernel/time/timer.c:2023
 run_timer_softirq+0x67/0xf0 kernel/time/timer.c:2036
 handle_softirqs+0x27d/0x820 kernel/softirq.c:578
 __do_softirq kernel/softirq.c:612 [inline]
 invoke_softirq kernel/softirq.c:452 [inline]
 __irq_exit_rcu+0xd3/0x190 kernel/softirq.c:661
 irq_exit_rcu+0x9/0x20 kernel/softirq.c:673
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1088 [inline]
 sysvec_apic_timer_interrupt+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1088
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:687
RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:160 [inline]
RIP: 0010:_raw_spin_unlock_irq+0x29/0x50 kernel/locking/spinlock.c:202
Code: 00 f3 0f 1e fa 53 48 89 fb 48 83 c7 18 48 8b 74 24 08 e8 da f5 cf f6 48 89 df e8 82 c9 d0 f6 e8 1d d1 f4 f6 fb bf 01 00 00 00 <e8> 92 d7 c3 f6 65 8b 05 f3 a5 6a 75 85 c0 74 02 5b c3 e8 a0 8a 67
RSP: 0018:ffffc900049df9f0 EFLAGS: 00000286
RAX: c054915b39e61e00 RBX: ffff88814c909830 RCX: c054915b39e61e00
RDX: dffffc0000000000 RSI: ffffffff8acacbe0 RDI: 0000000000000001
RBP: ffffc900049dfbb0 R08: ffffffff8e8c7e2f R09: 1ffffffff1d18fc5
R10: dffffc0000000000 R11: fffffbfff1d18fc6 R12: ffff88805e0d3ac0
R13: dffffc0000000000 R14: ffff888031b65a00 R15: 1ffff9200093bf54
 spin_unlock_irq include/linux/spinlock.h:401 [inline]
 snd_rawmidi_write+0x3b3/0xb90 sound/core/rawmidi.c:1673
 do_loop_readv_writev fs/read_write.c:-1 [inline]
 do_iter_write+0x4e5/0xc50 fs/read_write.c:862
 vfs_writev fs/read_write.c:933 [inline]
 do_writev+0x27f/0x480 fs/read_write.c:976
 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:0x7fa5fb59e0d9
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:00007fa5fc493028 EFLAGS: 00000246 ORIG_RAX: 0000000000000014
RAX: ffffffffffffffda RBX: 00007fa5fb825fa0 RCX: 00007fa5fb59e0d9
RDX: 0000000000000002 RSI: 0000200000000840 RDI: 0000000000000008
RBP: 00007fa5fb635024 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fa5fb826038 R14: 00007fa5fb825fa0 R15: 00007ffdea5d0c08
 </TASK>
----------------
Code disassembly (best guess):
   0:	00 f3                	add    %dh,%bl
   2:	0f 1e fa             	nop    %edx
   5:	53                   	push   %rbx
   6:	48 89 fb             	mov    %rdi,%rbx
   9:	48 83 c7 18          	add    $0x18,%rdi
   d:	48 8b 74 24 08       	mov    0x8(%rsp),%rsi
  12:	e8 da f5 cf f6       	call   0xf6cff5f1
  17:	48 89 df             	mov    %rbx,%rdi
  1a:	e8 82 c9 d0 f6       	call   0xf6d0c9a1
  1f:	e8 1d d1 f4 f6       	call   0xf6f4d141
  24:	fb                   	sti
  25:	bf 01 00 00 00       	mov    $0x1,%edi
* 2a:	e8 92 d7 c3 f6       	call   0xf6c3d7c1 <-- trapping instruction
  2f:	65 8b 05 f3 a5 6a 75 	mov    %gs:0x756aa5f3(%rip),%eax        # 0x756aa629
  36:	85 c0                	test   %eax,%eax
  38:	74 02                	je     0x3c
  3a:	5b                   	pop    %rbx
  3b:	c3                   	ret
  3c:	e8                   	.byte 0xe8
  3d:	a0                   	.byte 0xa0
  3e:	8a                   	.byte 0x8a
  3f:	67                   	addr32

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/08/20 22:08 linux-6.6.y c610b395b0a5 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in mmc_free_host
* Struck through repros no longer work on HEAD.