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: 5423 Comm: syz.0.31 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:ffffc90000007ce0 EFLAGS: 00010006 RAX: 0000000000000014 RBX: ffff8880b903eb00 RCX: ffffffff81671a28 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff88801e80da00 RBP: 00000000000000a0 R08: ffff88801e80da07 R09: 1ffff11003d01b40 R10: dffffc0000000000 R11: ffffed1003d01b41 R12: ffff8880b913ea40 R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f50fdfd76c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fcee488ef98 CR3: 0000000023da0000 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 csd_do_func kernel/smp.c:134 [inline] __flush_smp_call_function_queue+0xb88/0x1690 kernel/smp.c:571 __sysvec_call_function_single+0xb8/0x430 arch/x86/kernel/smp.c:271 instr_sysvec_call_function_single arch/x86/kernel/smp.c:266 [inline] sysvec_call_function_single+0x9e/0xc0 arch/x86/kernel/smp.c:266 asm_sysvec_call_function_single+0x1a/0x20 arch/x86/include/asm/idtentry.h:709 RIP: 0010:unwind_next_frame+0xbb/0x22d0 arch/x86/kernel/unwind_orc.c:482 Code: 00 00 00 48 89 6c 24 78 48 89 8c 24 90 00 00 00 48 89 5c 24 20 bf 01 00 00 00 e8 f0 dd 21 00 49 8d 6d 50 48 89 e8 48 c1 e8 03 <48> 89 44 24 38 42 80 3c 20 00 74 08 48 89 ef e8 a1 1e bb 00 48 8b RSP: 0018:ffffc9000465ec10 EFLAGS: 00000a06 RAX: 1ffff920008cbda6 RBX: 1ffff920008cbd9c RCX: ffffffff8bc54e00 RDX: dffffc0000000000 RSI: ffffffff81f052b5 RDI: ffffffff814126e0 RBP: ffffc9000465ed30 R08: 0000000000000002 R09: ffffc9000465edd0 R10: ffffc9000465ed30 R11: ffffffff817f5210 R12: dffffc0000000000 R13: ffffc9000465ece0 R14: ffffffff81f052b5 R15: 0000000000000000 arch_stack_walk+0x11c/0x150 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x3f/0x80 mm/kasan/common.c:68 unpoison_slab_object mm/kasan/common.c:319 [inline] __kasan_slab_alloc+0x66/0x80 mm/kasan/common.c:345 kasan_slab_alloc include/linux/kasan.h:250 [inline] slab_post_alloc_hook mm/slub.c:4036 [inline] slab_alloc_node mm/slub.c:4085 [inline] kmem_cache_alloc_noprof+0x135/0x2a0 mm/slub.c:4092 fib_trie_unmerge+0x34a/0xef0 net/ipv4/fib_trie.c:1929 fib_unmerge+0xc5/0x370 net/ipv4/fib_frontend.c:161 fib4_rule_delete+0x45/0x3d0 net/ipv4/fib_rules.c:295 fib_nl_delrule+0x14cc/0x1dd0 net/core/fib_rules.c:926 rtnetlink_rcv_msg+0x73f/0xcf0 net/core/rtnetlink.c:6647 netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2550 netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline] netlink_unicast+0x7f6/0x990 net/netlink/af_netlink.c:1357 netlink_sendmsg+0x8e4/0xcb0 net/netlink/af_netlink.c:1901 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0x221/0x270 net/socket.c:745 ____sys_sendmsg+0x525/0x7d0 net/socket.c:2597 ___sys_sendmsg net/socket.c:2651 [inline] __sys_sendmsg+0x298/0x390 net/socket.c:2680 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:0x7f50fe179e79 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:00007f50fdfd7038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f50fe316058 RCX: 00007f50fe179e79 RDX: 0000000000000000 RSI: 0000000020000100 RDI: 0000000000000008 RBP: 00007f50fe1e7916 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f50fe316058 R15: 00007fff9cb0a2c8 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:ffffc90000007ce0 EFLAGS: 00010006 RAX: 0000000000000014 RBX: ffff8880b903eb00 RCX: ffffffff81671a28 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff88801e80da00 RBP: 00000000000000a0 R08: ffff88801e80da07 R09: 1ffff11003d01b40 R10: dffffc0000000000 R11: ffffed1003d01b41 R12: ffff8880b913ea40 R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f50fdfd76c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fcee488ef98 CR3: 0000000023da0000 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