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: 316 Comm: udevd 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:1573 [inline]
RIP: 0010:bpf_get_local_storage+0x11b/0x180 kernel/bpf/cgroup.c:1557
Code: 59 6d 86 4c 89 f0 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 f7 e8 36 25 22 00 49 03 1e eb 22 e8 1c 8a dc ff 4c 89 f0 48 c1 e8 03 <42> 80 3c 20 00 74 08 4c 89 f7 e8 16 25 22 00 49 8b 1e 48 83 c3 10
RSP: 0018:ffffc90000007458 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000013 RCX: ffff88810ec68000
RDX: 0000000000000100 RSI: 0000000000000013 RDI: 0000000000000015
RBP: ffffc90000007478 R08: ffffc900000075f3 R09: ffffc900000075e0
R10: dffffc0000000000 R11: fffff52000000ebf R12: dffffc0000000000
R13: ffffc90003b49002 R14: 0000000000000000 R15: 0000000000000000
FS: 00007f4234282880(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2c51748060 CR3: 000000012f521000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<IRQ>
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 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
</IRQ>
<TASK>
asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:691
RIP: 0010:selinux_cred security/selinux/include/objsec.h:153 [inline]
RIP: 0010:current_sid security/selinux/include/objsec.h:186 [inline]
RIP: 0010:sock_has_perm security/selinux/hooks.c:4613 [inline]
RIP: 0010:selinux_socket_recvmsg+0x1c8/0x340 security/selinux/hooks.c:4972
Code: 74 08 4c 89 ff e8 18 0a 7b ff 4d 8b 3f 49 83 c7 78 4c 89 f8 48 c1 e8 03 42 80 3c 28 00 74 08 4c 89 ff e8 fb 09 7b ff 49 8b 07 <48> 63 0d 51 68 31 04 4c 8d 7c 08 04 4c 89 f8 48 c1 e8 03 42 0f b6
RSP: 0018:ffffc900057378a0 EFLAGS: 00000246
RAX: ffff888129caea80 RBX: 1ffff92000ae6f18 RCX: ffff88810ec68000
RDX: 0000000000000000 RSI: 0000000000000042 RDI: ffffc900057378e8
RBP: ffffc900057379d0 R08: ffffc90005737957 R09: ffffc90005737920
R10: dffffc0000000000 R11: fffff52000ae6f2b R12: ffffc900057378e0
R13: dffffc0000000000 R14: 1ffff11021f13370 R15: ffff88812f4dfa78
security_socket_recvmsg+0x89/0xc0 security/security.c:2282
sock_recvmsg net/socket.c:1036 [inline]
____sys_recvmsg+0x230/0x5f0 net/socket.c:2727
___sys_recvmsg+0x212/0x590 net/socket.c:2769
__sys_recvmsg net/socket.c:2799 [inline]
__do_sys_recvmsg net/socket.c:2809 [inline]
__se_sys_recvmsg net/socket.c:2806 [inline]
__x64_sys_recvmsg+0x202/0x2d0 net/socket.c:2806
x64_sys_call+0x75/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:48
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:0x7f4233aa7407
Code: 48 89 fa 4c 89 df e8 38 aa 00 00 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 1a 5b c3 0f 1f 84 00 00 00 00 00 48 8b 44 24 10 0f 05 <5b> c3 0f 1f 80 00 00 00 00 83 e2 39 83 fa 08 75 de e8 23 ff ff ff
RSP: 002b:00007ffe535e5270 EFLAGS: 00000202 ORIG_RAX: 000000000000002f
RAX: ffffffffffffffda RBX: 00007f4234282880 RCX: 00007f4233aa7407
RDX: 0000000000000000 RSI: 00007ffe535e5300 RDI: 000000000000000c
RBP: 000055800a16e2c0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 000055800a3a5fe0
R13: 00007ffe535e53c0 R14: 00007ffe535e530c R15: 0000000000000000
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:____bpf_get_local_storage kernel/bpf/cgroup.c:1573 [inline]
RIP: 0010:bpf_get_local_storage+0x11b/0x180 kernel/bpf/cgroup.c:1557
Code: 59 6d 86 4c 89 f0 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 f7 e8 36 25 22 00 49 03 1e eb 22 e8 1c 8a dc ff 4c 89 f0 48 c1 e8 03 <42> 80 3c 20 00 74 08 4c 89 f7 e8 16 25 22 00 49 8b 1e 48 83 c3 10
RSP: 0018:ffffc90000007458 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000013 RCX: ffff88810ec68000
RDX: 0000000000000100 RSI: 0000000000000013 RDI: 0000000000000015
RBP: ffffc90000007478 R08: ffffc900000075f3 R09: ffffc900000075e0
R10: dffffc0000000000 R11: fffff52000000ebf R12: dffffc0000000000
R13: ffffc90003b49002 R14: 0000000000000000 R15: 0000000000000000
FS: 00007f4234282880(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2c51748060 CR3: 000000012f521000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 59 pop %rcx
1: 6d insl (%dx),%es:(%rdi)
2: 86 4c 89 f0 xchg %cl,-0x10(%rcx,%rcx,4)
6: 48 c1 e8 03 shr $0x3,%rax
a: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1)
f: 74 08 je 0x19
11: 4c 89 f7 mov %r14,%rdi
14: e8 36 25 22 00 call 0x22254f
19: 49 03 1e add (%r14),%rbx
1c: eb 22 jmp 0x40
1e: e8 1c 8a dc ff call 0xffdc8a3f
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 16 25 22 00 call 0x22254f
39: 49 8b 1e mov (%r14),%rbx
3c: 48 83 c3 10 add $0x10,%rbx