BUG: sleeping function called from invalid context in vub300_inactivity_timer_expired

Status: upstream: reported on 2026/10/24 20:42
Subsystems: mmc
Labels: prio:high
[Documentation on labels]
Reported-by: syzbot+13d431d857e347804708@syzkaller.appspotmail.com
First crash: 4d13h, last: 4d13h
▶ ▼ ✨ AI Jobs (2)
ID Workflow Result Correct Bug Created Started Finished Revision
c3b2d394 repro-c Reproduced: ✅ ❓ BUG: sleeping function called from invalid context in vub300_inactivity_timer_expired 2026/10/23 01:15 2026/10/23 01:15 2026/10/23 02:35 33f73a1b
8a9f1a3a assessment-security DenialOfService: ✅ Exploitable: ❌ FilesystemTrigger: ❌ NetworkTrigger: ❌ PeripheralTrigger: ✅ RemoteTrigger: ❌ Unprivileged: ❌ UserNamespace: ❌ VMGuestTrigger: ❌ VMHostTrigger: ❌ ❓ BUG: sleeping function called from invalid context in vub300_inactivity_timer_expired 2026/10/22 00:54 2026/10/22 00:54 2026/10/22 01:28 42e06812
▶ ▼ Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [mmc?] BUG: sleeping function called from invalid context in vub300_inactivity_timer_expired 0 (1) 2026/10/24 20:42
▶ ▼ Last patch testing requests (1)
Created Duration User Patch Repo Result
2026/10/23 07:37 23m retest repro https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git bdf12cde30830d46a8ef1ba93986356f1164b4f1 report job log log

Sample crash report:
BUG: sleeping function called from invalid context at kernel/workqueue.c:4561
in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 14894, name: dhcpcd-run-hook
preempt_count: 100, expected: 0
RCU nest depth: 1, expected: 0
locks held by dhcpcd-run-hook/14894: 3, last CPU#0:
 #0: ffff888119da0340 (&mm->mmap_lock){++++}-{4:4}, at: mmap_read_lock include/linux/mmap_lock.h:600 [inline]
 #0: ffff888119da0340 (&mm->mmap_lock){++++}-{4:4}, at: mmap_read_lock_maybe_expand+0x1e2/0x3d0 mm/mmap.c:1691
 #1: ffffffff898e6f20 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline]
 #1: ffffffff898e6f20 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
 #1: ffffffff898e6f20 (rcu_read_lock){....}-{1:3}, at: mt_find+0x136/0x9b0 lib/maple_tree.c:6431
Preemption disabled at:
[<ffffffff8177b113>] softirq_handle_begin kernel/softirq.c:486 [inline]
[<ffffffff8177b113>] handle_softirqs+0xf3/0x9b0 kernel/softirq.c:621
CPU: 0 UID: 0 PID: 14894 Comm: dhcpcd-run-hook Not tainted syzkaller #0 PREEMPT(lazy) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026
Call Trace:
 <IRQ>
 __dump_stack lib/dump_stack.c:94 [inline]
 dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120
 __might_resched.cold+0x1dc/0x222 kernel/sched/core.c:9264
 vub300_delete drivers/mmc/host/vub300.c:379 [inline]
 kref_put include/linux/kref.h:65 [inline]
 vub300_inactivity_timer_expired drivers/mmc/host/vub300.c:747 [inline]
 vub300_inactivity_timer_expired+0x42f/0x550 drivers/mmc/host/vub300.c:742
 call_timer_fn+0x198/0x5f0 kernel/time/timer.c:1748
 expire_timers kernel/time/timer.c:1799 [inline]
 __run_timers+0x757/0xb00 kernel/time/timer.c:2374
 __run_timer_base kernel/time/timer.c:2386 [inline]
 __run_timer_base kernel/time/timer.c:2378 [inline]
 run_timer_base+0x114/0x190 kernel/time/timer.c:2395
 run_timer_softirq+0x1a/0x50 kernel/time/timer.c:2405
 handle_softirqs+0x1d9/0x9b0 kernel/softirq.c:645
 __do_softirq kernel/softirq.c:679 [inline]
 invoke_softirq kernel/softirq.c:519 [inline]
 __irq_exit_rcu+0x168/0x210 kernel/softirq.c:758
 irq_exit_rcu+0x9/0x30 kernel/softirq.c:775
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline]
 sysvec_apic_timer_interrupt+0x8f/0xb0 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:lock_acquire+0x5e/0x380 kernel/locking/lockdep.c:5947
RSP: 0018:ffffc90014baf920 EFLAGS: 00000206
RAX: 0000000000000046 RBX: 0000000000000000 RCX: 0000000000000200
RDX: 0000000000000000 RSI: ffffffff892be127 RDI: ffffffff87d2bd80
RBP: ffffffff898e6f20 R08: 0000000032a4bc37 R09: 0000000000000007
R10: 0000000000000200 R11: 0000000000000001 R12: 0000000000000002
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 rcu_lock_acquire include/linux/rcupdate.h:309 [inline]
 rcu_read_lock include/linux/rcupdate.h:849 [inline]
 mt_find+0x14a/0x9b0 lib/maple_tree.c:6431
 gup_vma_lookup+0x20/0x170 mm/gup.c:1275
 __get_user_pages+0x241/0x2970 mm/gup.c:1396
 __get_user_pages_locked mm/gup.c:1692 [inline]
 get_user_pages_remote+0x3d2/0xb10 mm/gup.c:2609
 copy_strings.isra.0+0x475/0x790 fs/exec.c:511
 do_execveat_common.isra.0+0x38f/0x580 fs/exec.c:1941
 __do_sys_execve fs/exec.c:2038 [inline]
 __se_sys_execve fs/exec.c:2032 [inline]
 __x64_sys_execve+0x93/0xd0 fs/exec.c:2032
 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
 do_syscall_64+0x119/0x710 arch/x86/entry/syscall_64.c:84
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f65da68e107
Code: 0f 00 64 c7 00 07 00 00 00 b8 ff ff ff ff c9 c3 0f 1f 00 48 8b 05 a9 ee 0f 00 48 8b 10 e9 01 00 00 00 90 b8 3b 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d c1 ec 0f 00 f7 d8 64 89 01 48
RSP: 002b:00007ffdc0ec44e8 EFLAGS: 00000246 ORIG_RAX: 000000000000003b
RBP: 000055bee7e24ef8 R08: 00007ffdc0ec7f12 R09: 0000000000000000
R10: 0000000000000008 R11: 0000000000000246 R12: 000055bee7e24e68
R13: 00007f65da853e8b R14: 000055bee7e24e68 R15: 0000000000000000
 </TASK>


Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/10/20 20:31 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing bdf12cde3083 df8746fb .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb BUG: sleeping function called from invalid context in vub300_inactivity_timer_expired
* Struck through repros no longer work on HEAD.