syzbot
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: 10d, last: 12h25m
Sample crash report:
------------[ cut here ]------------
do not call blocking ops when !TASK_RUNNING; state=2001 set at [<ffffffff8be45e1e>] do_nanosleep+0x7e/0x6a0 kernel/time/hrtimer.c:-1
WARNING: kernel/sched/core.c:9161 at __might_sleep+0x92/0xf0 kernel/sched/core.c:9157, CPU#1: syz.8.2440/15838
Modules linked in:
CPU: 1 UID: 0 PID: 15838 Comm: syz.8.2440 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/16/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 3e 90 e6 0e 43 80 3c 3c 00 74 08 48 89 df e8 0f e7 a0 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:ffffc90000a18c08 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffff88801dbef660 RCX: ffffffff8be45e1e
RDX: ffffffff8be45e1e RSI: 0000000000002001 RDI: ffffffff907d0a10
RBP: 0000000000002001 R08: 0000000000000100 R09: 1ffffffff20f418f
R10: dffffc0000000000 R11: fffffbfff20f4190 R12: 1ffff11003b7decc
R13: 00000000000011c8 R14: ffffffff907d0a10 R15: dffffc0000000000
FS: 000055555a731500(0000) GS:ffff888124de6000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f76df693ff8 CR3: 000000005e757000 CR4: 0000000000350ef0
Call Trace:
<IRQ>
__cancel_work_sync+0x6d/0x110 kernel/workqueue.c:4552
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:preempt_schedule_irq+0x46/0x90 kernel/sched/core.c:7592
Code: 49 be 00 00 00 00 00 fc ff df eb 09 48 f7 03 10 00 00 00 74 53 bf 01 00 00 00 e8 a5 d9 b1 f5 e8 20 f4 ec f5 fb bf 01 00 00 00 <e8> 35 a2 ff ff 9c 58 fa a9 00 02 00 00 74 05 e8 e6 f5 ec f5 bf 01
RSP: 0018:ffffc900054c7a88 EFLAGS: 00000206
RAX: 0000000000001069 RBX: 0000000000000000 RCX: 0000000000000001
RDX: 0000000000000006 RSI: ffffffff8e472e42 RDI: 0000000000000001
RBP: 0000000000000000 R08: ffffffff907a0c7f R09: 1ffffffff20f418f
R10: dffffc0000000000 R11: fffffbfff20f4190 R12: 0000000000000000
R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000000
irqentry_exit_to_kernel_mode include/linux/irq-entry-common.h:539 [inline]
irqentry_exit+0x14f/0x910 kernel/entry/common.c:167
asm_sysvec_reschedule_ipi+0x1a/0x20 arch/x86/include/asm/idtentry.h:679
RIP: 0010:lock_acquire+0x222/0x350 kernel/locking/lockdep.c:5890
Code: ff ff ff e8 d0 ad 3e 0a f7 44 24 08 00 02 00 00 0f 84 39 ff ff ff 65 48 8b 05 22 89 f0 11 48 3b 44 24 58 75 33 fb 48 83 c4 60 <5b> 41 5c 41 5d 41 5e 41 5f 5d e9 ea 29 6d ff cc 48 8d 3d 57 2e da
RSP: 0018:ffffc900054c7ba8 EFLAGS: 00000282
RAX: 85b109e6eaa52a00 RBX: 0000000000000000 RCX: 0000000000000046
RDX: 00000000787b4438 RSI: ffffffff8e6f9612 RDI: ffffffff8c6d6d80
RBP: ffffffff8be2f950 R08: ffffffff8be2f950 R09: 0000000000000000
R10: 0000000000008000 R11: ffffffff8ec10ee0 R12: 0000000000000000
R13: ffffffff8ec10ee0 R14: 0000000000000001 R15: 0000000000000246
sched_submit_work kernel/sched/core.c:7305 [inline]
schedule+0xb0/0x2b0 kernel/sched/core.c:7361
do_nanosleep+0x21e/0x6a0 kernel/time/hrtimer.c:2429
hrtimer_nanosleep+0x18f/0x3a0 kernel/time/hrtimer.c:2475
__do_sys_clock_nanosleep kernel/time/posix-timers.c:1406 [inline]
__se_sys_clock_nanosleep+0x35b/0x3b0 kernel/time/posix-timers.c:1383
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:0x7f48e9f5e90e
Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 <c3> 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08
RSP: 002b:00007ffe9bd24c18 EFLAGS: 00000246 ORIG_RAX: 00000000000000e6
RAX: ffffffffffffffda RBX: 000055555a731500 RCX: 00007f48e9f5e90e
RDX: 00007ffe9bd24c70 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007f48ea227da0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000009c6aa
R13: 00007f48ea22609c R14: 000000000009c3e0 R15: 00007f48ea226090
</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 3e 90 e6 0e lea 0xee6903e(%rip),%r14 # 0xee6904e
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 0f e7 a0 00 call 0xa0e72e
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
* Struck through repros no longer work on HEAD.