BUG: scheduling while atomic: strace-static-x/289/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: 289 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: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:00007ffc6e3311a8 EFLAGS: 00000286 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 00000000ffffffff RCX: 00000000004e65f7 RDX: 00007ffc6e3311b0 RSI: 0000000000008910 RDI: 0000000000000003 RBP: 0000000000000003 R08: 00000000ffffffff R09: 000000000000000c R10: 0000000000554612 R11: 0000000000000286 R12: 00007ffc6e331210 R13: 00007ffc6e3311b0 R14: 0000000000423160 R15: 0000000000617180 BUG: scheduling while atomic: strace-static-x/289/0x00000002 Modules linked in: Preemption disabled at: [] preempt_schedule+0xd9/0xe0 kernel/sched/core.c:6713 CPU: 1 PID: 289 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:0x4e6c1a Code: 70 41 83 f8 03 c7 44 24 10 08 00 00 00 48 89 44 24 18 48 8d 44 24 30 8b 70 08 4c 0f 43 d1 48 89 44 24 20 b8 65 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 3e 48 85 c0 78 06 41 83 f8 02 76 1b 48 8b 4c RSP: 002b:00007ffc6e331280 EFLAGS: 00000206 ORIG_RAX: 0000000000000065 RAX: 0000000000000000 RBX: 0000000001ca62f8 RCX: 00000000004e6c1a RDX: 0000000000000000 RSI: 0000000000000128 RDI: 0000000000000018 RBP: 0000000000000018 R08: 0000000000000017 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000001ca7f90 R13: 0000000000000000 R14: 000000000000857f R15: 0000000000617180 BUG: scheduling while atomic: strace-static-x/289/0x00000002 Modules linked in: Preemption disabled at: [] remove_wait_queue+0x26/0x140 kernel/sched/wait.c:56 CPU: 1 PID: 289 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:0x4d49a6 Code: 00 00 00 90 31 c9 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 49 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 11 b8 3d 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 5a c3 90 48 83 ec 28 89 54 24 14 48 89 74 24 RSP: 002b:00007ffc6e331398 EFLAGS: 00000246 ORIG_RAX: 000000000000003d RAX: 0000000000000130 RBX: 0000000000000001 RCX: 00000000004d49a6 RDX: 0000000040000001 RSI: 00007ffc6e3313bc RDI: 00000000ffffffff RBP: 0000000001ca7f90 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000001cad2c0 R13: 0000000000000128 R14: 00007ffc6e3313bc R15: 0000000000617180 BUG: scheduling while atomic: strace-static-x/289/0x00000002 Modules linked in: Preemption disabled at: [] spin_lock_irq include/linux/spinlock.h:388 [inline] [] ptrace_unfreeze_traced kernel/ptrace.c:219 [inline] [] __do_sys_ptrace kernel/ptrace.c:1330 [inline] [] __se_sys_ptrace+0x229/0x400 kernel/ptrace.c:1293 CPU: 1 PID: 289 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:0x4e6c1a Code: 70 41 83 f8 03 c7 44 24 10 08 00 00 00 48 89 44 24 18 48 8d 44 24 30 8b 70 08 4c 0f 43 d1 48 89 44 24 20 b8 65 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 3e 48 85 c0 78 06 41 83 f8 02 76 1b 48 8b 4c RSP: 002b:00007ffc6e331280 EFLAGS: 00000206 ORIG_RAX: 0000000000000065 RAX: 0000000000000000 RBX: 0000000001ca62f8 RCX: 00000000004e6c1a RDX: 0000000000000000 RSI: 000000000000012d RDI: 0000000000000018 RBP: 0000000000000018 R08: 0000000000000017 R09: 0000000000000002 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000001ca84d0 R13: 0000000000000000 R14: 000000000000857f R15: 0000000000617180 BUG: scheduling while atomic: strace-static-x/289/0x00000002 Modules linked in: Preemption disabled at: [] try_to_wake_up+0x86/0x1160 kernel/sched/core.c:4089 CPU: 1 PID: 289 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:0x4e6c1a Code: 70 41 83 f8 03 c7 44 24 10 08 00 00 00 48 89 44 24 18 48 8d 44 24 30 8b 70 08 4c 0f 43 d1 48 89 44 24 20 b8 65 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 3e 48 85 c0 78 06 41 83 f8 02 76 1b 48 8b 4c RSP: 002b:00007ffc6e331200 EFLAGS: 00000206 ORIG_RAX: 0000000000000065 RAX: 0000000000000050 RBX: 0000000001ca8230 RCX: 00000000004e6c1a RDX: 0000000000000058 RSI: 000000000000012a RDI: 000000000000420e RBP: 00007ffc6e331300 R08: 000000000000420d R09: 0000000000000003 R10: 000000000063c820 R11: 0000000000000206 R12: 0000000001ca8230 R13: 00007ffc6e33135c R14: 000000000000857f R15: 0000000000617180 BUG: scheduling while atomic: strace-static-x/289/0x00000002 Modules linked in: Preemption disabled at: [] preempt_schedule+0xd9/0xe0 kernel/sched/core.c:6713 CPU: 1 PID: 289 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:0x4d49a6 Code: 00 00 00 90 31 c9 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 49 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 11 b8 3d 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 5a c3 90 48 83 ec 28 89 54 24 14 48 89 74 24 RSP: 002b:00007ffc6e331398 EFLAGS: 00000246 ORIG_RAX: 000000000000003d RAX: 0000000000000140 RBX: 0000000001ca62f8 RCX: 00000000004d49a6 RDX: 0000000040000000 RSI: 00007ffc6e3313bc RDI: 00000000ffffffff RBP: 0000000000000000 R08: 0000000000000017 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000001cad3e0 R13: 0000000000000000 R14: 00007ffc6e3313bc R15: 0000000000617180 BUG: scheduling while atomic: strace-static-x/289/0x00000002 Modules linked in: Preemption disabled at: [] remove_wait_queue+0x26/0x140 kernel/sched/wait.c:56 CPU: 1 PID: 289 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:0x4d49a6 Code: 00 00 00 90 31 c9 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 49 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 11 b8 3d 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 5a c3 90 48 83 ec 28 89 54 24 14 48 89 74 24 RSP: 002b:00007ffc6e331398 EFLAGS: 00000246 ORIG_RAX: 000000000000003d RAX: 000000000000012d RBX: 0000000000000001 RCX: 00000000004d49a6 RDX: 0000000040000001 RSI: 00007ffc6e3313bc RDI: 00000000ffffffff RBP: 0000000001ca8770 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000001cad2c0 R13: 0000000000000143 R14: 00007ffc6e3313bc R15: 0000000000617180 BUG: scheduling while atomic: strace-static-x/289/0x00000002 Modules linked in: Preemption disabled at: [] try_to_wake_up+0x86/0x1160 kernel/sched/core.c:4089 CPU: 1 PID: 289 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:0x4e6c1a Code: 70 41 83 f8 03 c7 44 24 10 08 00 00 00 48 89 44 24 18 48 8d 44 24 30 8b 70 08 4c 0f 43 d1 48 89 44 24 20 b8 65 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 3e 48 85 c0 78 06 41 83 f8 02 76 1b 48 8b 4c RSP: 002b:00007ffc6e331200 EFLAGS: 00000206 ORIG_RAX: 0000000000000065 RAX: 0000000000000050 RBX: 0000000001ca7f90 RCX: 00000000004e6c1a RDX: 0000000000000058 RSI: 0000000000000128 RDI: 000000000000420e RBP: 00007ffc6e331300 R08: 000000000000420d R09: 0000000000000002 R10: 000000000063c820 R11: 0000000000000206 R12: 0000000001ca7f90 R13: 00007ffc6e33135c R14: 000000000000857f R15: 0000000000617180 BUG: scheduling while atomic: strace-static-x/289/0x00000002 Modules linked in: Preemption disabled at: [] try_to_wake_up+0x86/0x1160 kernel/sched/core.c:4089 CPU: 1 PID: 289 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:0x4e6c1a Code: 70 41 83 f8 03 c7 44 24 10 08 00 00 00 48 89 44 24 18 48 8d 44 24 30 8b 70 08 4c 0f 43 d1 48 89 44 24 20 b8 65 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 3e 48 85 c0 78 06 41 83 f8 02 76 1b 48 8b 4c RSP: 002b:00007ffc6e331280 EFLAGS: 00000206 ORIG_RAX: 0000000000000065 RAX: 0000000000000000 RBX: 0000000001ca62f8 RCX: 00000000004e6c1a RDX: 0000000000000000 RSI: 000000000000012d RDI: 0000000000000018 RBP: 0000000000000018 R08: 0000000000000017 R09: 0000000000000003 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000001ca84d0 R13: 0000000000000000 R14: 000000000000857f R15: 0000000000617180 BUG: scheduling while atomic: strace-static-x/289/0x00000002 Modules linked in: Preemption disabled at: [] remove_wait_queue+0x26/0x140 kernel/sched/wait.c:56 CPU: 0 PID: 289 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:0x4d49a6 Code: 00 00 00 90 31 c9 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 49 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 11 b8 3d 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 5a c3 90 48 83 ec 28 89 54 24 14 48 89 74 24 RSP: 002b:00007ffc6e331398 EFLAGS: 00000246 ORIG_RAX: 000000000000003d RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00000000004d49a6 RDX: 0000000040000001 RSI: 00007ffc6e3313bc RDI: 00000000ffffffff RBP: 0000000001ca7ba0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000001cad470 R13: 0000000000000125 R14: 00007ffc6e3313bc R15: 0000000000617180 BUG: scheduling while atomic: strace-static-x/289/0x00000002 Modules linked in: Preemption disabled at: [] try_to_wake_up+0x86/0x1160 kernel/sched/core.c:4089 CPU: 1 PID: 289 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:0x4e6c1a Code: 70 41 83 f8 03 c7 44 24 10 08 00 00 00 48 89 44 24 18 48 8d 44 24 30 8b 70 08 4c 0f 43 d1 48 89 44 24 20 b8 65 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 3e 48 85 c0 78 06 41 83 f8 02 76 1b 48 8b 4c RSP: 002b:00007ffc6e331280 EFLAGS: 00000206 ORIG_RAX: 0000000000000065 RAX: 0000000000000000 RBX: 0000000001ca62f8 RCX: 00000000004e6c1a RDX: 0000000000000000 RSI: 0000000000000127 RDI: 0000000000000018 RBP: 0000000000000018 R08: 0000000000000017 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000001ca7e40 R13: 0000000000000000 R14: 000000000000857f R15: 0000000000617180 BUG: scheduling while atomic: strace-static-x/289/0x00000002 Modules linked in: Preemption disabled at: [] rcu_read_lock_sched include/linux/rcupdate.h:786 [inline] [] fd_install+0x59/0x250 fs/file.c:607 CPU: 1 PID: 289 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:0x4e6a17 Code: 3c 1c 48 f7 d8 49 39 c4 72 b8 e8 f4 e8 02 00 85 c0 78 bd 48 83 c4 08 4c 89 e0 5b 41 5c c3 0f 1f 44 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffc6e331178 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffed RBX: 0000000000000000 RCX: 00000000004e6a17 RDX: 00007ffc6e331180 RSI: 0000000000008910 RDI: 0000000000000003 RBP: 0000000000000003 R08: 00000000ffffffff R09: 000000000000000d R10: 00000000005549d3 R11: 0000000000000246 R12: 00007ffc6e3311e0 R13: 00007ffc6e331180 R14: 0000000000427210 R15: 0000000000617180 BUG: scheduling while atomic: strace-static-x/289/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: 289 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:0x4e8217 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 29 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffc6e331148 EFLAGS: 00000246 ORIG_RAX: 0000000000000029 RAX: 0000000000000003 RBX: 0000000000000000 RCX: 00000000004e8217 RDX: 0000000000000000 RSI: 0000000000080002 RDI: 0000000000000001 RBP: 00007ffc6e331210 R08: 00000000ffffffff R09: 000000000000000c R10: 0000000000554612 R11: 0000000000000246 R12: 00007ffc6e331210 R13: 0000000001cac2b0 R14: 0000000000423160 R15: 0000000000617180 BUG: scheduling while atomic: strace-static-x/289/0x00000002 Modules linked in: Preemption disabled at: [] remove_wait_queue+0x26/0x140 kernel/sched/wait.c:56 CPU: 0 PID: 289 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:0x4d49a6 Code: 00 00 00 90 31 c9 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 49 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 11 b8 3d 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 5a c3 90 48 83 ec 28 89 54 24 14 48 89 74 24 RSP: 002b:00007ffc6e331398 EFLAGS: 00000246 ORIG_RAX: 000000000000003d RAX: 0000000000000125 RBX: 0000000000000004 RCX: 00000000004d49a6 RDX: 0000000040000001 RSI: 00007ffc6e3313bc RDI: 00000000ffffffff RBP: 0000000001ca7e40 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000001cad470 R13: 0000000000000127 R14: 00007ffc6e3313bc R15: 0000000000617180 BUG: scheduling while atomic: strace-static-x/289/0x00000002 Modules linked in: Preemption disabled at: [] remove_wait_queue+0x26/0x140 kernel/sched/wait.c:56 CPU: 1 PID: 289 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:0x4d49a6 Code: 00 00 00 90 31 c9 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 49 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 11 b8 3d 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 5a c3 90 48 83 ec 28 89 54 24 14 48 89 74 24 RSP: 002b:00007ffc6e331398 EFLAGS: 00000246 ORIG_RAX: 000000000000003d RAX: 0000000000000162 RBX: 0000000000000001 RCX: 00000000004d49a6 RDX: 0000000040000001 RSI: 00007ffc6e3313bc RDI: 00000000ffffffff RBP: 0000000001ca7f90 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000001cad2c0 R13: 0000000000000128 R14: 00007ffc6e3313bc R15: 0000000000617180 BUG: scheduling while atomic: strace-static-x/289/0x00000002 Modules linked in: Preemption disabled at: [] spin_lock_irq include/linux/spinlock.h:388 [inline] [] ptrace_unfreeze_traced kernel/ptrace.c:219 [inline] [] __do_sys_ptrace kernel/ptrace.c:1330 [inline] [] __se_sys_ptrace+0x229/0x400 kernel/ptrace.c:1293 CPU: 1 PID: 289 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:0x4e5c73 Code: c7 c0 b8 ff ff ff 64 c7 00 16 00 00 00 b8 ff ff ff ff c3 0f 1f 40 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 RSP: 002b:00007ffc6e331168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: 0000000000000012 RBX: 0000000000000012 RCX: 00000000004e5c73 RDX: 0000000000000012 RSI: 0000000001ca9000 RDI: 0000000000000002 RBP: 0000000001ca9000 R08: 0000000000000001 R09: 0000000000000001 R10: 000000000063c820 R11: 0000000000000246 R12: 0000000000000012 R13: 0000000000617480 R14: 0000000000000012 R15: 0000000000000001 BUG: scheduling while atomic: strace-static-x/289/0x00000002 Modules linked in: Preemption disabled at: [] remove_wait_queue+0x26/0x140 kernel/sched/wait.c:56 CPU: 1 PID: 289 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:0x4e6c1a Code: 70 41 83 f8 03 c7 44 24 10 08 00 00 00 48 89 44 24 18 48 8d 44 24 30 8b 70 08 4c 0f 43 d1 48 89 44 24 20 b8 65 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 3e 48 85 c0 78 06 41 83 f8 02 76 1b 48 8b 4c RSP: 002b:00007ffc6e331200 EFLAGS: 00000206 ORIG_RAX: 0000000000000065 RAX: 0000000000000050 RBX: 0000000001ca8380 RCX: 00000000004e6c1a RDX: 0000000000000058 RSI: 0000000000000165 RDI: 000000000000420e RBP: 00007ffc6e331300 R08: 000000000000420d R09: 0000000000000000 R10: 000000000063c820 R11: 0000000000000206 R12: 0000000001ca8380 R13: 00007ffc6e33135c R14: 000000000000857f R15: 0000000000617180