Oops: general protection fault, probably for non-canonical address 0xdffffc0000000014: 0000 [#1] PREEMPT SMP KASAN PTI
KASAN: null-ptr-deref in range [0x00000000000000a0-0x00000000000000a7]
CPU: 1 UID: 0 PID: 5320 Comm: syz.0.1 Not tainted 6.11.0-rc4-next-20240823-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
RIP: 0010:is_same_group kernel/sched/fair.c:411 [inline]
RIP: 0010:find_matching_se kernel/sched/fair.c:448 [inline]
RIP: 0010:check_preempt_wakeup_fair+0x471/0xb00 kernel/sched/fair.c:8679
Code: 00 00 00 4c 89 f8 48 c1 e8 03 42 80 3c 28 00 74 08 4c 89 ff e8 d0 80 95 00 4d 8b 3f 49 8d ae a0 00 00 00 48 89 e8 48 c1 e8 03 <42> 80 3c 28 00 74 08 48 89 ef e8 b0 80 95 00 48 8b 5d 00 49 8d af
RSP: 0018:ffffc90000a18aa0 EFLAGS: 00010006
RAX: 0000000000000014 RBX: ffff8880b903eb00 RCX: ffffffff81670e88
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff8880201d0000
RBP: 00000000000000a0 R08: ffff8880201d0007 R09: 1ffff1100403a000
R10: dffffc0000000000 R11: ffffed100403a001 R12: ffff8880b913ea40
R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000000
FS: 00007f4eac7706c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b3281fffc CR3: 000000002ee26000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
wakeup_preempt+0xd8/0x2a0 kernel/sched/core.c:2128
ttwu_do_activate+0x1f8/0x7e0 kernel/sched/core.c:3666
ttwu_queue kernel/sched/core.c:3940 [inline]
try_to_wake_up+0x8bc/0x1480 kernel/sched/core.c:4266
__set_notify_signal include/linux/sched/signal.h:359 [inline]
task_work_add+0x3a5/0x450 kernel/task_work.c:86
io_req_normal_work_add+0x182/0x2d0 io_uring/io_uring.c:1221
io_poll_wake+0x35a/0x420 io_uring/poll.c:462
__wake_up_common kernel/sched/wait.c:89 [inline]
__wake_up_common_lock+0x130/0x1e0 kernel/sched/wait.c:106
irq_work_single+0xe2/0x240 kernel/irq_work.c:221
irq_work_run_list kernel/irq_work.c:252 [inline]
irq_work_run+0x18b/0x350 kernel/irq_work.c:261
__sysvec_irq_work+0xb8/0x430 arch/x86/kernel/irq_work.c:22
instr_sysvec_irq_work arch/x86/kernel/irq_work.c:17 [inline]
sysvec_irq_work+0x9e/0xc0 arch/x86/kernel/irq_work.c:17
asm_sysvec_irq_work+0x1a/0x20 arch/x86/include/asm/idtentry.h:738
RIP: 0010:finish_task_switch+0x1ea/0x870 kernel/sched/core.c:5185
Code: c9 50 e8 69 f7 0b 00 48 83 c4 08 4c 89 f7 e8 7d 38 00 00 e9 de 04 00 00 4c 89 f7 e8 80 f6 64 0a e8 3b ae 37 00 fb 48 8b 5d c0 <48> 8d bb f8 15 00 00 48 89 f8 48 c1 e8 03 49 be 00 00 00 00 00 fc
RSP: 0018:ffffc90004167548 EFLAGS: 00000286
RAX: 4179222c2c43e800 RBX: ffff8880201d0000 RCX: ffffffff8170808a
RDX: dffffc0000000000 RSI: ffffffff8c0aca40 RDI: ffffffff8c6080a0
RBP: ffffc90004167590 R08: ffffffff937b38a7 R09: 1ffffffff26f6714
R10: dffffc0000000000 R11: fffffbfff26f6715 R12: 1ffff11017227f0b
R13: dffffc0000000000 R14: ffff8880b903ea40 R15: ffff8880b913f858
context_switch kernel/sched/core.c:5314 [inline]
__schedule+0x1852/0x4b30 kernel/sched/core.c:6677
__schedule_loop kernel/sched/core.c:6754 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6769
schedule_timeout+0xb0/0x310 kernel/time/timer.c:2559
do_wait_for_common kernel/sched/completion.c:95 [inline]
__wait_for_common kernel/sched/completion.c:116 [inline]
wait_for_common kernel/sched/completion.c:127 [inline]
wait_for_completion+0x355/0x620 kernel/sched/completion.c:148
kthread_stop+0x19e/0x640 kernel/kthread.c:710
rxrpc_release_sock net/rxrpc/af_rxrpc.c:952 [inline]
rxrpc_release+0x281/0x420 net/rxrpc/af_rxrpc.c:979
__sock_release net/socket.c:659 [inline]
sock_close+0xbc/0x240 net/socket.c:1421
__fput+0x24b/0x890 fs/file_table.c:424
task_work_run+0x24f/0x310 kernel/task_work.c:228
get_signal+0x16ad/0x1810 kernel/signal.c:2690
arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:337
exit_to_user_mode_loop kernel/entry/common.c:111 [inline]
exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline]
__syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
syscall_exit_to_user_mode+0xc9/0x370 kernel/entry/common.c:218
do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f4eab979e79
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:00007f4eac770038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: fffffffffffffe00 RBX: 00007f4eabb16058 RCX: 00007f4eab979e79
RDX: 000000000000ff00 RSI: 0000000020000000 RDI: 0000000000000006
RBP: 00007f4eab9e793e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f4eabb16058 R15: 00007ffe4f9c75d8
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:is_same_group kernel/sched/fair.c:411 [inline]
RIP: 0010:find_matching_se kernel/sched/fair.c:448 [inline]
RIP: 0010:check_preempt_wakeup_fair+0x471/0xb00 kernel/sched/fair.c:8679
Code: 00 00 00 4c 89 f8 48 c1 e8 03 42 80 3c 28 00 74 08 4c 89 ff e8 d0 80 95 00 4d 8b 3f 49 8d ae a0 00 00 00 48 89 e8 48 c1 e8 03 <42> 80 3c 28 00 74 08 48 89 ef e8 b0 80 95 00 48 8b 5d 00 49 8d af
RSP: 0018:ffffc90000a18aa0 EFLAGS: 00010006
RAX: 0000000000000014 RBX: ffff8880b903eb00 RCX: ffffffff81670e88
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff8880201d0000
RBP: 00000000000000a0 R08: ffff8880201d0007 R09: 1ffff1100403a000
R10: dffffc0000000000 R11: ffffed100403a001 R12: ffff8880b913ea40
R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000000
FS: 00007f4eac7706c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b3281fffc CR3: 000000002ee26000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 00 00 add %al,(%rax)
2: 00 4c 89 f8 add %cl,-0x8(%rcx,%rcx,4)
6: 48 c1 e8 03 shr $0x3,%rax
a: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1)
f: 74 08 je 0x19
11: 4c 89 ff mov %r15,%rdi
14: e8 d0 80 95 00 call 0x9580e9
19: 4d 8b 3f mov (%r15),%r15
1c: 49 8d ae a0 00 00 00 lea 0xa0(%r14),%rbp
23: 48 89 e8 mov %rbp,%rax
26: 48 c1 e8 03 shr $0x3,%rax
* 2a: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) <-- trapping instruction
2f: 74 08 je 0x39
31: 48 89 ef mov %rbp,%rdi
34: e8 b0 80 95 00 call 0x9580e9
39: 48 8b 5d 00 mov 0x0(%rbp),%rbx
3d: 49 rex.WB
3e: 8d .byte 0x8d
3f: af scas %es:(%rdi),%eax