------------[ cut here ]------------ do not call blocking ops when !TASK_RUNNING; state=1 set at [] prepare_to_wait_event+0x3dd/0x480 kernel/sched/wait.c:318 WARNING: kernel/sched/core.c:9184 at __might_sleep+0x92/0xf0 kernel/sched/core.c:9180, CPU#1: syz.0.767/8834 Modules linked in: CPU: 1 UID: 0 PID: 8834 Comm: syz.0.767 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 RIP: 0010:__might_sleep+0xac/0xf0 kernel/sched/core.c:9180 Code: 00 00 48 89 3c 24 41 89 f5 4c 8d 35 fe b4 e6 0e 43 80 3c 3c 00 74 08 48 89 df e8 4f 50 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:ffffc90000a18c08 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff88802e39f668 RCX: ffffffff81a038bd RDX: ffffffff81a038bd RSI: 0000000000000001 RDI: ffffffff907d3cd0 RBP: 0000000000000001 R08: 0000000000000100 R09: 1ffffffff20f47cf R10: dffffc0000000000 R11: fffffbfff20f47d0 R12: 1ffff11005c73ecd R13: 00000000000011d1 R14: ffffffff907d3cd0 R15: dffffc0000000000 FS: 00007f92197066c0(0000) GS:ffff888124dd1000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555925c2a38 CR3: 0000000034b46000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000460 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: __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: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+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:__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 2d c8 bb f5 f7 c3 00 02 00 00 74 05 e8 60 10 e8 f5 9c 58 a9 00 02 00 00 75 29 f7 c3 00 02 00 00 74 01 fb bf 01 00 00 00 94 d5 ac f5 65 48 8b 05 0c e1 ac 07 48 85 c0 74 18 5b 41 5e e9 RSP: 0018:ffffc900046d7808 EFLAGS: 00000206 RAX: 0000000000000002 RBX: 0000000000000287 RCX: 8000000000000001 RDX: 0000000000000007 RSI: ffffffff8e413808 RDI: 0000000000000001 RBP: dffffc0000000000 R08: ffffffff907a3e7f R09: 1ffffffff20f47cf R10: dffffc0000000000 R11: fffffbfff20f47d0 R12: ffff8880b8726100 R13: 0000000000000000 R14: ffff8880b8726100 R15: 0000000000000287 __mod_timer+0xb53/0xed0 kernel/time/timer.c:1139 schedule_timeout+0x14d/0x2c0 kernel/time/sleep_timeout.c:98 __break_lease+0x1062/0x2060 fs/locks.c:1764 break_deleg include/linux/filelock.h:511 [inline] break_deleg_wait include/linux/filelock.h:556 [inline] vfs_setxattr+0x2a3/0x360 fs/xattr.c:349 do_setxattr fs/xattr.c:662 [inline] file_setxattr+0x1d9/0x2b0 fs/xattr.c:672 path_setxattrat+0x3cc/0x450 fs/xattr.c:732 __do_sys_fsetxattr fs/xattr.c:782 [inline] __se_sys_fsetxattr fs/xattr.c:779 [inline] __x64_sys_fsetxattr+0xbc/0xe0 fs/xattr.c:779 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:0x7f921879e159 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:00007f9219706028 EFLAGS: 00000246 ORIG_RAX: 00000000000000be RAX: ffffffffffffffda RBX: 00007f9218a25fa0 RCX: 00007f921879e159 RDX: 00002000000002c0 RSI: 0000200000000200 RDI: 000000000000000a RBP: 00007f921883503b R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000014 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f9218a26038 R14: 00007f9218a25fa0 R15: 00007f9218b4fa48 ---------------- 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 fe b4 e6 0e lea 0xee6b4fe(%rip),%r14 # 0xee6b50e 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 4f 50 a1 00 call 0xa1506e 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