Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 1 UID: 0 PID: 5811 Comm: syz-executor Not tainted 6.14.0-rc6-syzkaller-00007-g0b46b049d6ec #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:____bpf_get_local_storage kernel/bpf/cgroup.c:1587 [inline] RIP: 0010:bpf_get_local_storage+0xbb/0x180 kernel/bpf/cgroup.c:1569 Code: 8d 5c e8 08 48 89 d8 48 c1 e8 03 42 80 3c 38 00 74 08 48 89 df e8 75 e4 37 00 48 8b 1b 41 83 fe 15 75 5d 48 89 d8 48 c1 e8 03 <42> 80 3c 38 00 74 08 48 89 df e8 56 e4 37 00 48 8b 1b e8 1e 62 12 RSP: 0018:ffffc90000a279e0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff888033488000 RDX: ffff888033488000 RSI: 0000000000000015 RDI: 0000000000000015 RBP: 0000000000000001 R08: ffffffff81eeb884 R09: 0000000000000000 R10: ffffc90000a27a80 R11: ffffffffa0001c50 R12: 1ffff920018a5600 R13: ffffc9000c52b030 R14: 0000000000000015 R15: dffffc0000000000 FS: 000055558496c500(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa2a3379178 CR3: 000000007f9d8000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: bpf_prog_3647604f6c8667e9+0x2e/0x41 bpf_dispatcher_nop_func include/linux/bpf.h:1290 [inline] __bpf_prog_run include/linux/filter.h:701 [inline] bpf_prog_run include/linux/filter.h:708 [inline] __bpf_prog_run_save_cb+0x12d/0x360 include/linux/filter.h:938 bpf_prog_run_array_cg kernel/bpf/cgroup.c:68 [inline] __cgroup_bpf_run_filter_skb+0x9ea/0x1090 kernel/bpf/cgroup.c:1425 sk_filter_trim_cap+0x8e3/0xa80 net/core/filter.c:147 tcp_filter net/ipv4/tcp_ipv4.c:2144 [inline] tcp_v4_rcv+0x2211/0x3280 net/ipv4/tcp_ipv4.c:2332 ip_protocol_deliver_rcu+0x22e/0x440 net/ipv4/ip_input.c:205 ip_local_deliver_finish+0x341/0x5f0 net/ipv4/ip_input.c:233 NF_HOOK+0x3a4/0x450 include/linux/netfilter.h:314 ip_local_deliver net/ipv4/ip_input.c:254 [inline] dst_input include/net/dst.h:469 [inline] ip_sublist_rcv_finish+0x3be/0x4f0 net/ipv4/ip_input.c:578 ip_list_rcv_finish net/ipv4/ip_input.c:627 [inline] ip_sublist_rcv+0x75d/0xab0 net/ipv4/ip_input.c:635 ip_list_rcv+0x42b/0x480 net/ipv4/ip_input.c:669 __netif_receive_skb_list_ptype net/core/dev.c:5936 [inline] __netif_receive_skb_list_core+0x94e/0x980 net/core/dev.c:5983 __netif_receive_skb_list net/core/dev.c:6035 [inline] netif_receive_skb_list_internal+0xa51/0xe30 net/core/dev.c:6126 gro_normal_list include/net/gro.h:518 [inline] napi_complete_done+0x2b5/0x870 net/core/dev.c:6493 virtqueue_napi_complete drivers/net/virtio_net.c:759 [inline] virtnet_poll+0x2df7/0x39c0 drivers/net/virtio_net.c:3014 __napi_poll+0xcb/0x490 net/core/dev.c:7188 napi_poll net/core/dev.c:7257 [inline] net_rx_action+0x89b/0x1240 net/core/dev.c:7379 handle_softirqs+0x2d4/0x9b0 kernel/softirq.c:561 __do_softirq kernel/softirq.c:595 [inline] invoke_softirq kernel/softirq.c:435 [inline] __irq_exit_rcu+0xf7/0x220 kernel/softirq.c:662 irq_exit_rcu+0x9/0x30 kernel/softirq.c:678 common_interrupt+0xb9/0xd0 arch/x86/kernel/irq.c:280 asm_common_interrupt+0x26/0x40 arch/x86/include/asm/idtentry.h:693 RIP: 0010:__asan_memset+0x0/0x50 mm/kasan/shadow.c:83 Code: 48 8b 0c 24 ba 01 00 00 00 e9 bc e6 ff ff 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1e fa 55 41 56 53 48 89 d3 41 89 f6 48 89 fd 48 8b 4c 24 18 RSP: 0018:ffffc90003f7ec28 EFLAGS: 00000246 RAX: ffffc90003f7ff10 RBX: ffffc90003f7ed38 RCX: 1ffff920007efda0 RDX: 0000000000000010 RSI: 0000000000000000 RDI: ffffc90003f7ed50 RBP: dffffc0000000000 R08: 000000000000000b R09: ffffc90003f7edf0 R10: ffffc90003f7ed50 R11: ffffffff81ad6ae0 R12: ffffc90003f80000 R13: ffffc90003f7ed00 R14: ffffffff8c009b13 R15: ffffc90003f7ed50 unwind_next_frame+0xcfb/0x22d0 arch/x86/kernel/unwind_orc.c:592 arch_stack_walk+0x11c/0x150 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122 save_stack+0xfb/0x1f0 mm/page_owner.c:156 __set_page_owner+0x89/0x530 mm/page_owner.c:320 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1f4/0x240 mm/page_alloc.c:1551 prep_new_page mm/page_alloc.c:1559 [inline] get_page_from_freelist+0x3651/0x37a0 mm/page_alloc.c:3477 __alloc_frozen_pages_noprof+0x292/0x710 mm/page_alloc.c:4740 alloc_pages_mpol+0x311/0x660 mm/mempolicy.c:2270 alloc_frozen_pages_noprof mm/mempolicy.c:2341 [inline] alloc_pages_noprof+0x121/0x190 mm/mempolicy.c:2361 get_free_pages_noprof+0xc/0x30 mm/page_alloc.c:4799 poll_get_entry fs/select.c:168 [inline] __pollwait+0x134/0x430 fs/select.c:223 poll_wait include/linux/poll.h:45 [inline] pipe_poll+0xec/0x460 fs/pipe.c:671 vfs_poll include/linux/poll.h:82 [inline] select_poll_one fs/select.c:480 [inline] do_select+0x1198/0x1d60 fs/select.c:536 core_sys_select+0x843/0xa40 fs/select.c:677 do_pselect fs/select.c:759 [inline] __do_sys_pselect6 fs/select.c:802 [inline] __se_sys_pselect6+0x321/0x3e0 fs/select.c:793 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:0x7f7fed58cf2c Code: 29 44 24 30 80 3d 2b 06 1f 00 00 4c 89 4c 24 40 4c 8d 4c 24 40 48 c7 44 24 48 08 00 00 00 74 2e 4c 89 ea b8 0e 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 7c 48 8b 54 24 58 64 48 2b 14 25 28 00 00 00 RSP: 002b:00007ffe8bf004e0 EFLAGS: 00000202 ORIG_RAX: 000000000000010e RAX: ffffffffffffffda RBX: 00007ffe8bf00610 RCX: 00007f7fed58cf2c RDX: 0000000000000000 RSI: 00007ffe8bf00610 RDI: 0000000000000023 RBP: 00007ffe8bf00850 R08: 00007ffe8bf00510 R09: 00007ffe8bf00520 R10: 0000000000000000 R11: 0000000000000202 R12: 00007ffe8bf008b0 R13: 0000000000000000 R14: 00007ffe8bf00a60 R15: 00007ffe8bf006a0 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:____bpf_get_local_storage kernel/bpf/cgroup.c:1587 [inline] RIP: 0010:bpf_get_local_storage+0xbb/0x180 kernel/bpf/cgroup.c:1569 Code: 8d 5c e8 08 48 89 d8 48 c1 e8 03 42 80 3c 38 00 74 08 48 89 df e8 75 e4 37 00 48 8b 1b 41 83 fe 15 75 5d 48 89 d8 48 c1 e8 03 <42> 80 3c 38 00 74 08 48 89 df e8 56 e4 37 00 48 8b 1b e8 1e 62 12 RSP: 0018:ffffc90000a279e0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff888033488000 RDX: ffff888033488000 RSI: 0000000000000015 RDI: 0000000000000015 RBP: 0000000000000001 R08: ffffffff81eeb884 R09: 0000000000000000 R10: ffffc90000a27a80 R11: ffffffffa0001c50 R12: 1ffff920018a5600 R13: ffffc9000c52b030 R14: 0000000000000015 R15: dffffc0000000000 FS: 000055558496c500(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa2a3379178 CR3: 000000007f9d8000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 8d 5c e8 08 lea 0x8(%rax,%rbp,8),%ebx 4: 48 89 d8 mov %rbx,%rax 7: 48 c1 e8 03 shr $0x3,%rax b: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1) 10: 74 08 je 0x1a 12: 48 89 df mov %rbx,%rdi 15: e8 75 e4 37 00 call 0x37e48f 1a: 48 8b 1b mov (%rbx),%rbx 1d: 41 83 fe 15 cmp $0x15,%r14d 21: 75 5d jne 0x80 23: 48 89 d8 mov %rbx,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 48 89 df mov %rbx,%rdi 34: e8 56 e4 37 00 call 0x37e48f 39: 48 8b 1b mov (%rbx),%rbx 3c: e8 .byte 0xe8 3d: 1e (bad) 3e: 62 .byte 0x62 3f: 12 .byte 0x12