BUG: scheduling while atomic: strace-static-x/291/0x00000002 Modules linked in: Preemption disabled at: [] __up_read kernel/locking/rwsem.c:1374 [inline] [] up_read+0x16/0x170 kernel/locking/rwsem.c:1645 CPU: 1 PID: 291 Comm: strace-static-x Not tainted 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 exit_to_user_mode_loop+0x4d/0xe0 kernel/entry/common.c:163 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:0x4e815a Code: 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 78 0c 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 36 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 06 c3 0f 1f 44 00 00 48 c7 c2 b8 ff ff ff f7 RSP: 002b:00007fffb160f3c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000136 RAX: 0000000000001000 RBX: 00007fff7ea32000 RCX: 00000000004e815a RDX: 0000000000000001 RSI: 00007fffb160f3f0 RDI: 0000000000000165 RBP: 000000000063c8a0 R08: 0000000000000001 R09: 0000000000000000 R10: 00007fffb160f400 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff7ea32450 R14: 0000000000eba010 R15: 00007fffb160f4a0 BUG: scheduling while atomic: strace-static-x/291/0x00000002 Modules linked in: Preemption disabled at: [] __local_bh_disable_ip include/linux/bottom_half.h:12 [inline] [] local_bh_disable include/linux/bottom_half.h:19 [inline] [] unix_sock_destructor+0x199/0x260 net/unix/af_unix.c:519 CPU: 1 PID: 291 Comm: strace-static-x 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 exit_to_user_mode_loop+0x4d/0xe0 kernel/entry/common.c:163 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:0x4e65f7 Code: 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007fffb1610368 EFLAGS: 00000286 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 00000000ffffffff RCX: 00000000004e65f7 RDX: 00007fffb1610370 RSI: 0000000000008910 RDI: 0000000000000003 RBP: 0000000000000003 R08: 00000000ffffffff R09: 000000000000000d R10: 00000000005549d3 R11: 0000000000000286 R12: 00007fffb16103d0 R13: 00007fffb1610370 R14: 0000000000427210 R15: 0000000000617180