general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 1 PID: 414 Comm: syz-execprog Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/18/2026
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 97 25 22 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 79 25 22 00 49 8b 1e e8 a1 6c 66
RSP: 0018:ffffc900001b0478 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000015 RCX: 0000000000000100
RDX: ffff888119075100 RSI: 0000000000000015 RDI: 0000000000000015
RBP: ffffc900001b0498 R08: ffffc900001b0613 R09: ffffc900001b0600
R10: dffffc0000000000 R11: fffff520000360c3 R12: dffffc0000000000
R13: ffffc900012a7002 R14: 0000000000000000 R15: 0000000000000001
FS: 00000d2f4ab17090(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000001c40 CR3: 0000000116e15000 CR4: 00000000003506a0
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:607 [inline]
bpf_prog_run include/linux/filter.h:614 [inline]
__bpf_prog_run_save_cb include/linux/filter.h:757 [inline]
bpf_prog_run_array_cg kernel/bpf/cgroup.c:68 [inline]
__cgroup_bpf_run_filter_skb+0x947/0xfb0 kernel/bpf/cgroup.c:1427
sk_filter_trim_cap+0x592/0x6d0 net/core/filter.c:141
tcp_filter net/ipv4/tcp_ipv4.c:1912 [inline]
tcp_v4_rcv+0x1eb6/0x2af0 net/ipv4/tcp_ipv4.c:2094
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+0x1bc/0x340 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+0x167/0x290 net/ipv4/ip_input.c:569
__netif_receive_skb_one_core net/core/dev.c:5623 [inline]
__netif_receive_skb+0xd7/0x2a0 net/core/dev.c:5737
process_backlog+0x351/0x600 net/core/dev.c:6065
__napi_poll+0xd0/0x5e0 net/core/dev.c:6632
napi_poll net/core/dev.c:6699 [inline]
net_rx_action+0x4b6/0xac0 net/core/dev.c:6813
handle_softirqs+0x1d7/0x600 kernel/softirq.c:642
__do_softirq+0xb/0xd kernel/softirq.c:680
do_softirq+0xdc/0x130 kernel/softirq.c:524
__local_bh_enable_ip+0x75/0x80 kernel/softirq.c:448
local_bh_enable include/linux/bottom_half.h:33 [inline]
rcu_read_unlock_bh include/linux/rcupdate.h:870 [inline]
__dev_queue_xmit+0x10ea/0x3470 net/core/dev.c:4410
dev_queue_xmit include/linux/netdevice.h:3085 [inline]
neigh_hh_output include/net/neighbour.h:536 [inline]
neigh_output include/net/neighbour.h:550 [inline]
ip_finish_output2+0xb1f/0xf10 net/ipv4/ip_output.c:228
__ip_finish_output+0x172/0x370 net/ipv4/ip_output.c:-1
ip_finish_output+0x31/0x2b0 net/ipv4/ip_output.c:316
NF_HOOK_COND include/linux/netfilter.h:294 [inline]
ip_output+0x1ee/0x390 net/ipv4/ip_output.c:434
dst_output include/net/dst.h:453 [inline]
ip_local_out net/ipv4/ip_output.c:126 [inline]
__ip_queue_xmit+0x1107/0x1bf0 net/ipv4/ip_output.c:538
ip_queue_xmit+0x4d/0x70 net/ipv4/ip_output.c:552
__tcp_transmit_skb+0x1e33/0x3480 net/ipv4/tcp_output.c:1406
tcp_transmit_skb net/ipv4/tcp_output.c:1424 [inline]
tcp_write_xmit+0x173d/0x6000 net/ipv4/tcp_output.c:2721
__tcp_push_pending_frames+0x9c/0x2f0 net/ipv4/tcp_output.c:2906
tcp_push+0x48f/0x660 net/ipv4/tcp.c:738
tcp_sendmsg_locked+0x3395/0x3a90 net/ipv4/tcp.c:1464
tcp_sendmsg+0x2f/0x50 net/ipv4/tcp.c:1492
inet6_sendmsg+0xb6/0xd0 net/ipv6/af_inet6.c:673
sock_sendmsg_nosec net/socket.c:716 [inline]
__sock_sendmsg net/socket.c:728 [inline]
sock_write_iter+0x2ee/0x3f0 net/socket.c:1133
call_write_iter include/linux/fs.h:2282 [inline]
new_sync_write fs/read_write.c:491 [inline]
vfs_write+0x603/0xce0 fs/read_write.c:584
ksys_write+0x149/0x250 fs/read_write.c:637
__do_sys_write fs/read_write.c:649 [inline]
__se_sys_write fs/read_write.c:646 [inline]
__x64_sys_write+0x7b/0x90 fs/read_write.c:646
x64_sys_call+0x27b/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:2
do_syscall_x64 arch/x86/entry/common.c:46 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x40d3ce
Code: ff cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc 49 89 f2 48 89 fa 48 89 ce 48 89 df 0f 05 <48> 3d 01 f0 ff ff 76 15 48 f7 d8 48 89 c1 48 c7 c0 ff ff ff ff 48
RSP: 002b:00000d2f4ab3d3b8 EFLAGS: 00000206 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 000000000040d3ce
RDX: 00000000000006a0 RSI: 00000d2f4d8f63e0 RDI: 0000000000000006
RBP: 00000d2f4ab3d3f8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 00000d2f4ab3d528
R13: 0000000000000410 R14: 00000d2f4ab18f00 R15: 0000000000000682
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 97 25 22 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 79 25 22 00 49 8b 1e e8 a1 6c 66
RSP: 0018:ffffc900001b0478 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000015 RCX: 0000000000000100
RDX: ffff888119075100 RSI: 0000000000000015 RDI: 0000000000000015
RBP: ffffc900001b0498 R08: ffffc900001b0613 R09: ffffc900001b0600
R10: dffffc0000000000 R11: fffff520000360c3 R12: dffffc0000000000
R13: ffffc900012a7002 R14: 0000000000000000 R15: 0000000000000001
FS: 00000d2f4ab17090(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000001c40 CR3: 0000000116e15000 CR4: 00000000003506a0
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 97 25 22 00 call 0x2225b2
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 79 25 22 00 call 0x2225b2
39: 49 8b 1e mov (%r14),%rbx
3c: e8 .byte 0xe8
3d: a1 .byte 0xa1
3e: 6c insb (%dx),%es:(%rdi)
3f: 66 data16