------------[ cut here ]------------ do not call blocking ops when !TASK_RUNNING; state=2 set at [] rwsem_down_read_slowpath+0x57f/0x920 kernel/locking/rwsem.c:1095 WARNING: kernel/sched/core.c:9124 at __might_sleep+0x92/0xf0 kernel/sched/core.c:9120, CPU#0: udevd/5810 Modules linked in: CPU: 0 UID: 0 PID: 5810 Comm: udevd Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 RIP: 0010:__might_sleep+0xac/0xf0 kernel/sched/core.c:9120 Code: 00 00 48 89 3c 24 41 89 f5 4c 8d 35 6e d3 c4 0e 43 80 3c 3c 00 74 08 48 89 df e8 2f 8e 9e 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: ffff888029029870 RCX: ffffffff8bd465ef RDX: ffffffff8bd465ef RSI: 0000000000000002 RDI: ffffffff905ae310 RBP: 0000000000000002 R08: ffffffff90578f37 R09: 1ffffffff20af1e6 R10: dffffc0000000000 R11: fffffbfff20af1e7 R12: 1ffff1100520530e R13: 0000000000001187 R14: ffffffff905ae310 R15: dffffc0000000000 FS: 00007f5eb1941880(0000) GS:ffff888124f49000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f20b2960286 CR3: 00000000752be000 CR4: 00000000003526f0 Call Trace: __cancel_work_sync+0x6d/0x110 kernel/workqueue.c:4487 mmc_free_host+0x19/0x30 drivers/mmc/core/host.c:700 call_timer_fn+0x192/0x5e0 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+0x225/0x840 kernel/softirq.c:622 __do_softirq kernel/softirq.c:656 [inline] invoke_softirq kernel/softirq.c:496 [inline] __irq_exit_rcu+0xca/0x220 kernel/softirq.c:735 irq_exit_rcu+0x9/0x30 kernel/softirq.c:752 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 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674 RIP: 0010:__kasan_check_byte+0x0/0x40 mm/kasan/common.c:572 Code: e8 75 2f 00 00 48 89 df 4c 89 f6 5b 41 5c 41 5e 41 5f e9 43 fa ff ff 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 <0f> 1f 40 d6 41 56 53 48 89 f3 49 89 fe e8 3e 15 00 00 84 c0 75 16 RSP: 0018:ffffc90004eef638 EFLAGS: 00000202 RAX: 0000000000000001 RBX: 0000000000000000 RCX: 0000000080000001 RDX: 0000000000000001 RSI: ffffffff8bd397a0 RDI: ffffffff8ea0e980 RBP: ffffffff8bd39780 R08: 0000000000000001 R09: 0000000000000000 R10: dffffc0000000000 R11: ffffed1005205004 R12: 0000000000000000 R13: ffffffff8ea0e980 R14: 0000000000000000 R15: 0000000000000001 kasan_check_byte include/linux/kasan.h:402 [inline] lock_acquire+0x84/0x350 kernel/locking/lockdep.c:5842 sched_submit_work kernel/sched/core.c:7269 [inline] schedule+0xb0/0x2b0 kernel/sched/core.c:7325 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:7383 rwsem_down_read_slowpath+0x6ba/0x920 kernel/locking/rwsem.c:1114 __down_read_common kernel/locking/rwsem.c:1291 [inline] __down_read kernel/locking/rwsem.c:1304 [inline] down_read+0x9c/0x330 kernel/locking/rwsem.c:1576 kernfs_dop_revalidate+0x9e/0x650 fs/kernfs/dir.c:1217 d_revalidate fs/namei.c:1035 [inline] lookup_fast+0x25d/0x5d0 fs/namei.c:-1 walk_component fs/namei.c:2278 [inline] link_path_walk+0x71f/0x1910 fs/namei.c:2656 path_openat+0x236/0x3830 fs/namei.c:4859 do_file_open+0x23e/0x4a0 fs/namei.c:4892 do_sys_openat2+0x115/0x200 fs/open.c:1368 do_sys_open fs/open.c:1374 [inline] __do_sys_openat fs/open.c:1390 [inline] __se_sys_openat fs/open.c:1385 [inline] __x64_sys_openat+0x138/0x170 fs/open.c:1385 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f5eb12a7407 Code: 48 89 fa 4c 89 df e8 38 aa 00 00 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 1a 5b c3 0f 1f 84 00 00 00 00 00 48 8b 44 24 10 0f 05 <5b> c3 0f 1f 80 00 00 00 00 83 e2 39 83 fa 08 75 de e8 23 ff ff ff RSP: 002b:00007ffdfb3aecf0 EFLAGS: 00000202 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f5eb1941880 RCX: 00007f5eb12a7407 RDX: 0000000000080000 RSI: 00007ffdfb3aee70 RDI: ffffffffffffff9c RBP: 0000000000000008 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 000056257b27b7f5 R13: 000056257b27b7f5 R14: 0000000000000001 R15: 0000000000000000 ---------------- 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 6e d3 c4 0e lea 0xec4d36e(%rip),%r14 # 0xec4d37e 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 2f 8e 9e 00 call 0x9e8e4e 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