general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 0 PID: 479 Comm: syz-executor Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025 RIP: 0010:____bpf_get_local_storage kernel/bpf/cgroup.c:1575 [inline] RIP: 0010:bpf_get_local_storage+0xb8/0x180 kernel/bpf/cgroup.c:1557 Code: 4e 8d 74 f8 08 4c 89 f0 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 f7 e8 47 41 21 00 4d 8b 36 83 fb 15 75 5e 4c 89 f0 48 c1 e8 03 <42> 80 3c 20 00 74 08 4c 89 f7 e8 29 41 21 00 49 8b 1e e8 f1 2b 5a RSP: 0018:ffffc90000007458 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000015 RCX: 0000000000000100 RDX: ffff88811a219440 RSI: 0000000000000015 RDI: 0000000000000015 RBP: ffffc90000007478 R08: dffffc0000000000 R09: ffffc900000075e0 R10: fffff52000000ebf R11: 1ffff92000000ebc R12: dffffc0000000000 R13: ffffc90001d83002 R14: 0000000000000000 R15: 0000000000000001 FS: 0000555571371500(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055557138c4a8 CR3: 000000012dd4b000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: bpf_prog_3647604f6c8667e9+0x25/0x38 bpf_dispatcher_nop_func include/linux/bpf.h:987 [inline] __bpf_prog_run include/linux/filter.h:603 [inline] bpf_prog_run include/linux/filter.h:610 [inline] __bpf_prog_run_save_cb include/linux/filter.h:733 [inline] bpf_prog_run_array_cg kernel/bpf/cgroup.c:68 [inline] __cgroup_bpf_run_filter_skb+0x90e/0xf50 kernel/bpf/cgroup.c:1427 sk_filter_trim_cap+0x5bb/0x700 net/core/filter.c:141 tcp_filter net/ipv4/tcp_ipv4.c:1911 [inline] tcp_v4_rcv+0x1e83/0x2a80 net/ipv4/tcp_ipv4.c:2093 ip_protocol_deliver_rcu+0x325/0x6e0 net/ipv4/ip_input.c:205 ip_local_deliver_finish+0x24e/0x410 net/ipv4/ip_input.c:233 NF_HOOK include/linux/netfilter.h:305 [inline] ip_local_deliver+0x1d8/0x320 net/ipv4/ip_input.c:254 dst_input include/net/dst.h:463 [inline] ip_rcv_finish net/ipv4/ip_input.c:449 [inline] NF_HOOK include/linux/netfilter.h:305 [inline] ip_rcv+0x163/0x270 net/ipv4/ip_input.c:569 __netif_receive_skb_one_core net/core/dev.c:5597 [inline] __netif_receive_skb+0xd7/0x2a0 net/core/dev.c:5711 process_backlog+0x351/0x600 net/core/dev.c:6039 __napi_poll+0xd0/0x5e0 net/core/dev.c:6606 napi_poll net/core/dev.c:6673 [inline] net_rx_action+0x49b/0xaa0 net/core/dev.c:6787 handle_softirqs+0x1d7/0x600 kernel/softirq.c:642 __do_softirq kernel/softirq.c:680 [inline] invoke_softirq kernel/softirq.c:497 [inline] __irq_exit_rcu+0x52/0xf0 kernel/softirq.c:729 irq_exit_rcu+0x9/0x10 kernel/softirq.c:741 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline] sysvec_apic_timer_interrupt+0xa9/0xc0 arch/x86/kernel/apic/apic.c:1118 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:691 RIP: 0010:preempt_latency_start kernel/sched/core.c:5879 [inline] RIP: 0010:preempt_count_add+0xce/0x1b0 kernel/sched/core.c:5902 Code: 85 c0 74 0b 48 8b 45 00 48 8b 00 48 8b 58 08 65 4c 8b 35 e5 ba b6 7e 49 81 c6 c8 0a 00 00 4c 89 f0 48 c1 e8 03 42 80 3c 38 00 <74> 08 4c 89 f7 e8 e8 d9 68 00 49 89 1e 5b 41 5e 41 5f 5d c3 89 fb RSP: 0018:ffffc90000a276e0 EFLAGS: 00000246 RAX: 1ffff110234433e1 RBX: ffffffff815f450a RCX: ffffffff87972100 RDX: 0000000000000000 RSI: ffffffff85aa0ec0 RDI: ffffffff815f450a RBP: ffffc90000a276f8 R08: ffffc90000a27870 R09: ffffc90000a27868 R10: 000000000000000a R11: 1ffff92000144ef5 R12: ffff88811a219440 R13: 0000000000000001 R14: ffff88811a219f08 R15: dffffc0000000000 is_module_text_address+0x1a/0x290 kernel/module/main.c:3149 kernel_text_address+0x94/0xd0 kernel/extable.c:119 __kernel_text_address+0xd/0x30 kernel/extable.c:79 unwind_get_return_address+0x4d/0x90 arch/x86/kernel/unwind_frame.c:19 arch_stack_walk+0xfc/0x150 arch/x86/kernel/stacktrace.c:26 stack_trace_save+0x98/0xe0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:45 [inline] kasan_set_track+0x4b/0x70 mm/kasan/common.c:52 kasan_save_alloc_info+0x25/0x30 mm/kasan/generic.c:505 __kasan_slab_alloc+0x72/0x80 mm/kasan/common.c:333 kasan_slab_alloc include/linux/kasan.h:202 [inline] slab_post_alloc_hook+0x4f/0x2d0 mm/slab.h:768 slab_alloc_node mm/slub.c:3382 [inline] slab_alloc mm/slub.c:3392 [inline] __kmem_cache_alloc_lru mm/slub.c:3399 [inline] kmem_cache_alloc+0x16e/0x330 mm/slub.c:3408 getname_flags+0xb9/0x500 fs/namei.c:139 vfs_fstatat fs/stat.c:266 [inline] __do_sys_newfstatat fs/stat.c:437 [inline] __se_sys_newfstatat+0xdf/0x380 fs/stat.c:431 __x64_sys_newfstatat+0x9b/0xb0 fs/stat.c:431 x64_sys_call+0x77c/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:263 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fe03038d5ba Code: 48 89 f2 b9 00 01 00 00 48 89 fe bf 9c ff ff ff e9 0b 00 00 00 66 2e 0f 1f 84 00 00 00 00 00 90 41 89 ca b8 06 01 00 00 0f 05 <3d> 00 f0 ff ff 77 07 31 c0 c3 0f 1f 40 00 48 c7 c2 a8 ff ff ff f7 RSP: 002b:00007ffe5e0ecce8 EFLAGS: 00000286 ORIG_RAX: 0000000000000106 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fe03038d5ba RDX: 00007ffe5e0ecd10 RSI: 00007ffe5e0ecda0 RDI: 00000000ffffff9c RBP: 00007ffe5e0ecda0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000100 R11: 0000000000000286 R12: 00007ffe5e0ede30 R13: 00007fe030411d7d R14: 000000000000cca3 R15: 00007ffe5e0ede70 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:____bpf_get_local_storage kernel/bpf/cgroup.c:1575 [inline] RIP: 0010:bpf_get_local_storage+0xb8/0x180 kernel/bpf/cgroup.c:1557 Code: 4e 8d 74 f8 08 4c 89 f0 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 f7 e8 47 41 21 00 4d 8b 36 83 fb 15 75 5e 4c 89 f0 48 c1 e8 03 <42> 80 3c 20 00 74 08 4c 89 f7 e8 29 41 21 00 49 8b 1e e8 f1 2b 5a RSP: 0018:ffffc90000007458 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000015 RCX: 0000000000000100 RDX: ffff88811a219440 RSI: 0000000000000015 RDI: 0000000000000015 RBP: ffffc90000007478 R08: dffffc0000000000 R09: ffffc900000075e0 R10: fffff52000000ebf R11: 1ffff92000000ebc R12: dffffc0000000000 R13: ffffc90001d83002 R14: 0000000000000000 R15: 0000000000000001 FS: 0000555571371500(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055557138c4a8 CR3: 000000012dd4b000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 4e 8d 74 f8 08 lea 0x8(%rax,%r15,8),%r14 5: 4c 89 f0 mov %r14,%rax 8: 48 c1 e8 03 shr $0x3,%rax c: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1) 11: 74 08 je 0x1b 13: 4c 89 f7 mov %r14,%rdi 16: e8 47 41 21 00 call 0x214162 1b: 4d 8b 36 mov (%r14),%r14 1e: 83 fb 15 cmp $0x15,%ebx 21: 75 5e jne 0x81 23: 4c 89 f0 mov %r14,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 4c 89 f7 mov %r14,%rdi 34: e8 29 41 21 00 call 0x214162 39: 49 8b 1e mov (%r14),%rbx 3c: e8 .byte 0xe8 3d: f1 int1 3e: 2b .byte 0x2b 3f: 5a pop %rdx