BUG: scheduling while atomic: syz-executor.1/17707/0x00000002 Modules linked in: Preemption disabled at: [] __wake_up_common_lock kernel/sched/wait.c:138 [inline] [] __wake_up+0xf5/0x1c0 kernel/sched/wait.c:158 CPU: 1 PID: 17707 Comm: syz-executor.1 Tainted: G W 5.15.149-syzkaller-00490-g5d96939590c0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x151/0x1b7 lib/dump_stack.c:106 dump_stack+0x15/0x17 lib/dump_stack.c:113 __schedule_bug+0x195/0x260 kernel/sched/core.c:5707 schedule_debug kernel/sched/core.c:5734 [inline] __schedule+0xd19/0x1590 kernel/sched/core.c:6402 schedule+0x11f/0x1e0 kernel/sched/core.c:6595 synchronize_rcu_expedited+0x49d/0x600 kernel/rcu/tree_exp.h:946 synchronize_net net/core/dev.c:11009 [inline] unregister_netdevice_many+0x13e6/0x17c0 net/core/dev.c:11139 unregister_netdevice_queue+0x2e6/0x350 net/core/dev.c:11038 unregister_netdevice include/linux/netdevice.h:3052 [inline] ppp_release+0xed/0x1e0 drivers/net/ppp/ppp_generic.c:406 __fput+0x3fe/0x910 fs/file_table.c:280 ____fput+0x15/0x20 fs/file_table.c:308 task_work_run+0x129/0x190 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop+0xc4/0xe0 kernel/entry/common.c:175 exit_to_user_mode_prepare+0x5a/0xa0 kernel/entry/common.c:208 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline] syscall_exit_to_user_mode+0x26/0x160 kernel/entry/common.c:301 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f2499987d9a Code: 48 3d 00 f0 ff ff 77 48 c3 0f 1f 80 00 00 00 00 48 83 ec 18 89 7c 24 0c e8 03 7f 02 00 8b 7c 24 0c 89 c2 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 36 89 d7 89 44 24 0c e8 63 7f 02 00 8b 44 24 RSP: 002b:00007ffcccd48250 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000008 RCX: 00007f2499987d9a RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000007 RBP: 00007f2499ab8980 R08: 00007f249990b000 R09: 0000000000000001 R10: 0000000000000001 R11: 0000000000000293 R12: 00000000000a46e7 R13: 00000000000a46b5 R14: 00007ffcccd48410 R15: 00007f249993fcb0