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: 0 UID: 0 PID: 5932 Comm: syz.0.109 Not tainted 6.11.0-rc4-next-20240821-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 80 28 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 60 28 95 00 48 8b 5d 00 49 8d af RSP: 0018:ffffc90003557aa0 EFLAGS: 00010006 RAX: 0000000000000014 RBX: ffff8880b913eb00 RCX: ffffffff816719b8 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff888029f21e00 RBP: 00000000000000a0 R08: ffff888029f21e07 R09: 1ffff110053e43c0 R10: dffffc0000000000 R11: ffffed10053e43c1 R12: ffff8880b903ea40 R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 000055557761b500(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055557d888588 CR3: 00000000239da000 CR4: 00000000003506f0 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 wake_up_process kernel/sched/core.c:4398 [inline] wake_up_q+0xc8/0x120 kernel/sched/core.c:1056 rwsem_wake kernel/locking/rwsem.c:1214 [inline] __up_write kernel/locking/rwsem.c:1376 [inline] up_write+0x319/0x590 kernel/locking/rwsem.c:1632 mmap_write_unlock include/linux/mmap_lock.h:131 [inline] vm_mmap_pgoff+0x279/0x3d0 mm/util.c:590 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:0x7fee48979eb3 Code: f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 41 89 ca 41 f7 c1 ff 0f 00 00 75 14 b8 09 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 25 c3 0f 1f 40 00 48 c7 c0 a8 ff ff ff 64 c7 RSP: 002b:00007fff10651a38 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007fee48b162a0 RCX: 00007fee48979eb3 RDX: 0000000000000000 RSI: 0000000000202000 RDI: 0000000000000000 RBP: 00007fee48b16208 R08: 00000000ffffffff R09: 0000000000000000 R10: 0000000000000022 R11: 0000000000000246 R12: 0000000000000003 R13: 00007fee48b16208 R14: 0000000000000006 R15: 0000000000000aae 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 80 28 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 60 28 95 00 48 8b 5d 00 49 8d af RSP: 0018:ffffc90003557aa0 EFLAGS: 00010006 RAX: 0000000000000014 RBX: ffff8880b913eb00 RCX: ffffffff816719b8 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff888029f21e00 RBP: 00000000000000a0 R08: ffff888029f21e07 R09: 1ffff110053e43c0 R10: dffffc0000000000 R11: ffffed10053e43c1 R12: ffff8880b903ea40 R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 000055557761b500(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055557d888588 CR3: 00000000239da000 CR4: 00000000003506f0 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 80 28 95 00 call 0x952899 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 60 28 95 00 call 0x952899 39: 48 8b 5d 00 mov 0x0(%rbp),%rbx 3d: 49 rex.WB 3e: 8d .byte 0x8d 3f: af scas %es:(%rdi),%eax