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: 5363 Comm: syz.1.15 Not tainted 6.11.0-rc4-next-20240820-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 a0 27 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 80 27 95 00 48 8b 5d 00 49 8d af
RSP: 0018:ffffc90000a18980 EFLAGS: 00010006
RAX: 0000000000000014 RBX: ffff8880b913eb00 RCX: ffffffff81671a28
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff888024e99e00
RBP: 00000000000000a0 R08: ffff888024e99e07 R09: 1ffff110049d33c0
R10: dffffc0000000000 R11: ffffed10049d33c1 R12: ffff8880b903ea40
R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b3270cffc CR3: 0000000022f1a000 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
swake_up_locked kernel/sched/swait.c:29 [inline]
complete_with_flags kernel/sched/completion.c:24 [inline]
complete+0xac/0x1c0 kernel/sched/completion.c:47
rcu_do_batch kernel/rcu/tree.c:2567 [inline]
rcu_core+0xaaa/0x17a0 kernel/rcu/tree.c:2823
handle_softirqs+0x2c5/0x980 kernel/softirq.c:554
__do_softirq kernel/softirq.c:588 [inline]
invoke_softirq kernel/softirq.c:428 [inline]
__irq_exit_rcu+0xf4/0x1c0 kernel/softirq.c:637
irq_exit_rcu+0x9/0x30 kernel/softirq.c:649
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1037 [inline]
sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1037
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:__tlb_remove_folio_pages_size+0xcc/0x590 mm/mmu_gather.c:185
Code: 00 00 e8 77 e0 ac ff 49 8d 6e 08 48 89 e8 48 c1 e8 03 4d 89 e5 42 0f b6 04 20 84 c0 0f 85 6b 03 00 00 4c 0b 7c 24 08 8b 45 00 <8d> 48 01 89 4d 00 89 c0 49 8d 5c c6 10 48 89 d8 48 c1 e8 03 42 80
RSP: 0018:ffffc90004577518 EFLAGS: 00000282
RAX: 00000000000000c2 RBX: ffffc90004577ae8 RCX: ffff8880270b9e00
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001
RBP: ffff888066d62008 R08: ffffffff81e6e026 R09: 1ffffd400031e46e
R10: dffffc0000000000 R11: fffff9400031e46f R12: dffffc0000000000
R13: dffffc0000000000 R14: ffff888066d62000 R15: ffffea00018f2340
zap_present_folio_ptes mm/memory.c:1522 [inline]
zap_present_ptes mm/memory.c:1576 [inline]
zap_pte_range mm/memory.c:1618 [inline]
zap_pmd_range mm/memory.c:1736 [inline]
zap_pud_range mm/memory.c:1765 [inline]
zap_p4d_range mm/memory.c:1786 [inline]
unmap_page_range+0x1aca/0x40e0 mm/memory.c:1807
unmap_vmas+0x3cc/0x5f0 mm/memory.c:1897
exit_mmap+0x275/0xc40 mm/mmap.c:1921
__mmput+0x115/0x390 kernel/fork.c:1347
exit_mm+0x220/0x310 kernel/exit.c:571
do_exit+0x9b2/0x28e0 kernel/exit.c:926
do_group_exit+0x207/0x2c0 kernel/exit.c:1088
__do_sys_exit_group kernel/exit.c:1099 [inline]
__se_sys_exit_group kernel/exit.c:1097 [inline]
__x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1097
x64_sys_call+0x26a8/0x26b0 arch/x86/include/generated/asm/syscalls_64.h:232
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f8c6a579e79
Code: Unable to access opcode bytes at 0x7f8c6a579e4f.
RSP: 002b:00007ffd30631198 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f8c6a579e79
RDX: 0000000000000064 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007ffd306311ec R08: 00007ffd3063127f R09: 000000000000f4ac
R10: 0000000000000006 R11: 0000000000000246 R12: 0000000000000032
R13: 000000000000f4ac R14: 000000000000f398 R15: 00007ffd30631240
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 a0 27 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 80 27 95 00 48 8b 5d 00 49 8d af
RSP: 0018:ffffc90000a18980 EFLAGS: 00010006
RAX: 0000000000000014 RBX: ffff8880b913eb00 RCX: ffffffff81671a28
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff888024e99e00
RBP: 00000000000000a0 R08: ffff888024e99e07 R09: 1ffff110049d33c0
R10: dffffc0000000000 R11: ffffed10049d33c1 R12: ffff8880b903ea40
R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b3270cffc CR3: 0000000022f1a000 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 a0 27 95 00 call 0x9527b9
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 80 27 95 00 call 0x9527b9
39: 48 8b 5d 00 mov 0x0(%rbp),%rbx
3d: 49 rex.WB
3e: 8d .byte 0x8d
3f: af scas %es:(%rdi),%eax