BUG: sleeping function called from invalid context at mm/vmalloc.c:3409 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 14157, name: syz.2.1989 preempt_count: 1, expected: 0 RCU nest depth: 0, expected: 0 1 lock held by syz.2.1989/14157: #0: ffff88809cf5d258 (&u->iolock){+.+.}-{4:4}, at: __unix_dgram_recvmsg+0x1e1/0xd60 net/unix/af_unix.c:2598 Preemption disabled at: [] preempt_schedule+0xae/0xc0 kernel/sched/core.c:7169 CPU: 0 UID: 0 PID: 14157 Comm: syz.2.1989 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 __might_resched+0x495/0x610 kernel/sched/core.c:8957 vfree+0x4d/0x400 mm/vmalloc.c:3409 __mmdrop+0x323/0x580 kernel/fork.c:692 mmdrop include/linux/sched/mm.h:55 [inline] mmdrop_sched include/linux/sched/mm.h:83 [inline] mmdrop_lazy_tlb_sched include/linux/sched/mm.h:110 [inline] finish_task_switch+0x3ee/0x950 kernel/sched/core.c:5250 context_switch kernel/sched/core.c:5360 [inline] __schedule+0x17a0/0x4cc0 kernel/sched/core.c:6961 preempt_schedule_common+0x83/0xd0 kernel/sched/core.c:7145 preempt_schedule+0xae/0xc0 kernel/sched/core.c:7169 preempt_schedule_thunk+0x16/0x30 arch/x86/entry/thunk.S:12 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] _raw_spin_unlock_irqrestore+0xfd/0x110 kernel/locking/spinlock.c:194 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] __wake_up_common_lock+0x190/0x1f0 kernel/sched/wait.c:127 __unix_dgram_recvmsg+0x486/0xd60 net/unix/af_unix.c:2626 sock_recvmsg_nosec+0x183/0x1c0 net/socket.c:1065 ____sys_recvmsg+0x3aa/0x460 net/socket.c:2832 ___sys_recvmsg+0x1b5/0x510 net/socket.c:2876 do_recvmmsg+0x307/0x770 net/socket.c:2971 __sys_recvmmsg net/socket.c:3045 [inline] __do_sys_recvmmsg net/socket.c:3068 [inline] __se_sys_recvmmsg net/socket.c:3061 [inline] __x64_sys_recvmmsg+0x190/0x240 net/socket.c:3061 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f8a9818ebe9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f8a963d5038 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: ffffffffffffffda RBX: 00007f8a983b6090 RCX: 00007f8a9818ebe9 RDX: 0000000000010106 RSI: 00002000000000c0 RDI: 0000000000000004 RBP: 00007f8a98211e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f8a983b6128 R14: 00007f8a983b6090 R15: 00007f8a984dfa28