Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 1 UID: 0 PID: 5805 Comm: syz-executor Not tainted 6.14.0-rc7-syzkaller #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+0x17b/0x260 kernel/bpf/cgroup.c:1569 Code: 48 8d 7b 10 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 bb 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b 5b 10 48 89 da 48 c1 ea 03 <80> 3c 02 00 0f 85 a6 00 00 00 48 8b 1b e8 93 7e 73 09 83 f8 07 89 RSP: 0018:ffffc90000a28038 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff81e40d02 RDX: 0000000000000000 RSI: ffffffff81e40db8 RDI: ffff8880326090a0 RBP: ffffc90000a28058 R08: 0000000000000005 R09: 0000000000000015 R10: 0000000000000015 R11: 0000000000000002 R12: ffff8880292ce780 R13: ffffc9000caad002 R14: 0000000000000000 R15: ffff8880292ce7b0 FS: 000055557a4c4500(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f045aa02000 CR3: 0000000036428000 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+0x11f/0x330 include/linux/filter.h:938 bpf_prog_run_array_cg kernel/bpf/cgroup.c:68 [inline] __cgroup_bpf_run_filter_skb+0x470/0xe60 kernel/bpf/cgroup.c:1425 sk_filter_trim_cap+0x234/0xac0 net/core/filter.c:147 tcp_filter net/ipv4/tcp_ipv4.c:2144 [inline] tcp_v4_rcv+0x28fd/0x4380 net/ipv4/tcp_ipv4.c:2332 ip_protocol_deliver_rcu+0xba/0x4c0 net/ipv4/ip_input.c:205 ip_local_deliver_finish+0x316/0x570 net/ipv4/ip_input.c:233 NF_HOOK include/linux/netfilter.h:314 [inline] NF_HOOK include/linux/netfilter.h:308 [inline] ip_local_deliver+0x18e/0x1f0 net/ipv4/ip_input.c:254 dst_input include/net/dst.h:469 [inline] ip_sublist_rcv_finish+0x2c1/0x620 net/ipv4/ip_input.c:578 ip_list_rcv_finish+0x559/0x720 net/ipv4/ip_input.c:627 ip_sublist_rcv net/ipv4/ip_input.c:635 [inline] ip_list_rcv+0x339/0x450 net/ipv4/ip_input.c:669 __netif_receive_skb_list_ptype net/core/dev.c:5939 [inline] __netif_receive_skb_list_core+0x755/0x950 net/core/dev.c:5986 __netif_receive_skb_list net/core/dev.c:6038 [inline] netif_receive_skb_list_internal+0x753/0xdb0 net/core/dev.c:6129 gro_normal_list include/net/gro.h:518 [inline] gro_normal_list include/net/gro.h:514 [inline] napi_complete_done+0x218/0x940 net/core/dev.c:6496 virtqueue_napi_complete drivers/net/virtio_net.c:759 [inline] virtnet_poll+0x1c03/0x39f0 drivers/net/virtio_net.c:3014 __napi_poll.constprop.0+0xb7/0x550 net/core/dev.c:7191 napi_poll net/core/dev.c:7260 [inline] net_rx_action+0xa94/0x1010 net/core/dev.c:7382 handle_softirqs+0x213/0x8f0 kernel/softirq.c:561 __do_softirq kernel/softirq.c:595 [inline] invoke_softirq kernel/softirq.c:435 [inline] __irq_exit_rcu+0x109/0x170 kernel/softirq.c:662 irq_exit_rcu+0x9/0x30 kernel/softirq.c:678 common_interrupt+0xbf/0xe0 arch/x86/kernel/irq.c:280 asm_common_interrupt+0x26/0x40 arch/x86/include/asm/idtentry.h:693 RIP: 0010:syscall_enter_from_user_mode_work include/linux/entry-common.h:166 [inline] RIP: 0010:syscall_enter_from_user_mode include/linux/entry-common.h:199 [inline] RIP: 0010:do_syscall_64+0x9a/0x250 arch/x86/entry/common.c:79 Code: 00 48 8b 7d 08 e8 26 52 00 00 0f 1f 44 00 00 0f 1f 44 00 00 90 e8 66 88 6a f6 90 90 e8 ef 89 6a f6 fb 65 48 8b 05 d6 b8 ac 74 <48> 8b 50 08 f6 c2 3f 0f 85 3c 01 00 00 90 90 41 81 fc d2 01 00 00 RSP: 0018:ffffc900031e7f28 EFLAGS: 00000202 RAX: ffff88802a1e4880 RBX: ffffc900031e7f58 RCX: 1ffffffff20c4491 RDX: 0000000000000000 RSI: ffffffff8b6cfbe0 RDI: ffffffff8bd36aa0 RBP: ffffc900031e7f48 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff90626817 R11: 0000000000000000 R12: 000000000000010e R13: 000000000000010e R14: 0000000000000000 R15: 0000000000000000 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f045cf8cf2c 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:00007ffc24b93100 EFLAGS: 00000202 ORIG_RAX: 000000000000010e RAX: ffffffffffffffda RBX: 00007ffc24b93230 RCX: 00007f045cf8cf2c RDX: 0000000000000000 RSI: 00007ffc24b93230 RDI: 0000000000000023 RBP: 00007ffc24b93470 R08: 00007ffc24b93130 R09: 00007ffc24b93140 R10: 0000000000000000 R11: 0000000000000202 R12: 00007ffc24b934d0 R13: 0000000000000000 R14: 00007ffc24b93680 R15: 00007ffc24b932c0 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:____bpf_get_local_storage kernel/bpf/cgroup.c:1587 [inline] RIP: 0010:bpf_get_local_storage+0x17b/0x260 kernel/bpf/cgroup.c:1569 Code: 48 8d 7b 10 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 bb 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b 5b 10 48 89 da 48 c1 ea 03 <80> 3c 02 00 0f 85 a6 00 00 00 48 8b 1b e8 93 7e 73 09 83 f8 07 89 RSP: 0018:ffffc90000a28038 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff81e40d02 RDX: 0000000000000000 RSI: ffffffff81e40db8 RDI: ffff8880326090a0 RBP: ffffc90000a28058 R08: 0000000000000005 R09: 0000000000000015 R10: 0000000000000015 R11: 0000000000000002 R12: ffff8880292ce780 R13: ffffc9000caad002 R14: 0000000000000000 R15: ffff8880292ce7b0 FS: 000055557a4c4500(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f045aa02000 CR3: 0000000036428000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 48 8d 7b 10 lea 0x10(%rbx),%rdi 4: 48 89 fa mov %rdi,%rdx 7: 48 c1 ea 03 shr $0x3,%rdx b: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) f: 0f 85 bb 00 00 00 jne 0xd0 15: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 1c: fc ff df 1f: 48 8b 5b 10 mov 0x10(%rbx),%rbx 23: 48 89 da mov %rbx,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2e: 0f 85 a6 00 00 00 jne 0xda 34: 48 8b 1b mov (%rbx),%rbx 37: e8 93 7e 73 09 call 0x9737ecf 3c: 83 f8 07 cmp $0x7,%eax 3f: 89 .byte 0x89