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: 0 Comm: swapper/1 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: ffff888028248920
RBP: ffffc90000a28058 R08: 0000000000000005 R09: 0000000000000015
R10: 0000000000000015 R11: 0000000000000002 R12: ffff888034d2d3c0
R13: ffffc9000e760002 R14: 0000000000000000 R15: ffff888034d2d3f0
FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000400000027000 CR3: 0000000067368000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000060000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 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:native_irq_disable arch/x86/include/asm/irqflags.h:37 [inline]
RIP: 0010:arch_local_irq_disable arch/x86/include/asm/irqflags.h:92 [inline]
RIP: 0010:acpi_safe_halt+0x1a/0x20 drivers/acpi/processor_idle.c:112
Code: 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 65 48 8b 05 08 38 ac 74 48 8b 00 a8 08 75 0c 66 90 0f 00 2d f8 1c 87 00 fb f4 c3 cc cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
RSP: 0018:ffffc900001b7d58 EFLAGS: 00000246
RAX: 0000000000004000 RBX: 0000000000000001 RCX: ffffffff8b578469
RDX: 0000000000000001 RSI: ffff88801b120000 RDI: ffff88801b120064
RBP: ffff88801b120064 R08: 0000000000000001 R09: ffffed10170e6f85
R10: ffff8880b8737c2b R11: 0000000000000000 R12: ffff888021f78000
R13: ffffffff8ee2ea60 R14: 0000000000000001 R15: 0000000000000000
acpi_idle_enter+0xc5/0x160 drivers/acpi/processor_idle.c:699
cpuidle_enter_state+0xaa/0x4f0 drivers/cpuidle/cpuidle.c:268
cpuidle_enter+0x4e/0xa0 drivers/cpuidle/cpuidle.c:389
cpuidle_idle_call kernel/sched/idle.c:230 [inline]
do_idle+0x310/0x3f0 kernel/sched/idle.c:325
cpu_startup_entry+0x4f/0x60 kernel/sched/idle.c:423
start_secondary+0x222/0x2b0 arch/x86/kernel/smpboot.c:315
common_startup_64+0x13e/0x148
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: ffff888028248920
RBP: ffffc90000a28058 R08: 0000000000000005 R09: 0000000000000015
R10: 0000000000000015 R11: 0000000000000002 R12: ffff888034d2d3c0
R13: ffffc9000e760002 R14: 0000000000000000 R15: ffff888034d2d3f0
FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000400000027000 CR3: 0000000067368000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000060000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 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