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: 30 Comm: ksoftirqd/1 Not tainted 6.14.0-rc6-syzkaller-00016-g0fed89a961ea #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 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 13 90 73 09 83 f8 07 89 RSP: 0018:ffffc90000697458 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff81e40b82 RDX: 0000000000000000 RSI: ffffffff81e40c38 RDI: ffff88804fed23a0 RBP: ffffc90000697478 R08: 0000000000000005 R09: 0000000000000015 R10: 0000000000000015 R11: 0000000000000002 R12: ffff88802903d040 R13: ffffc90005d75002 R14: 0000000000000000 R15: ffff88802903d070 FS: 0000000000000000(0000) GS:ffff88806a700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2ef1fffc CR3: 000000000df80000 CR4: 0000000000352ef0 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_rcv_finish net/ipv4/ip_input.c:447 [inline] NF_HOOK include/linux/netfilter.h:314 [inline] NF_HOOK include/linux/netfilter.h:308 [inline] ip_rcv+0x2c3/0x5d0 net/ipv4/ip_input.c:567 __netif_receive_skb_one_core+0x199/0x1e0 net/core/dev.c:5893 __netif_receive_skb+0x1d/0x160 net/core/dev.c:6006 process_backlog+0x443/0x15f0 net/core/dev.c:6354 __napi_poll.constprop.0+0xb7/0x550 net/core/dev.c:7188 napi_poll net/core/dev.c:7257 [inline] net_rx_action+0xa94/0x1010 net/core/dev.c:7379 handle_softirqs+0x213/0x8f0 kernel/softirq.c:561 run_ksoftirqd kernel/softirq.c:950 [inline] run_ksoftirqd+0x3a/0x60 kernel/softirq.c:942 smpboot_thread_fn+0x661/0xa30 kernel/smpboot.c:164 kthread+0x3af/0x750 kernel/kthread.c:464 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 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 13 90 73 09 83 f8 07 89 RSP: 0018:ffffc90000697458 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff81e40b82 RDX: 0000000000000000 RSI: ffffffff81e40c38 RDI: ffff88804fed23a0 RBP: ffffc90000697478 R08: 0000000000000005 R09: 0000000000000015 R10: 0000000000000015 R11: 0000000000000002 R12: ffff88802903d040 R13: ffffc90005d75002 R14: 0000000000000000 R15: ffff88802903d070 FS: 0000000000000000(0000) GS:ffff88806a700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2ef1fffc CR3: 000000000df80000 CR4: 0000000000352ef0 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 13 90 73 09 call 0x973904f 3c: 83 f8 07 cmp $0x7,%eax 3f: 89 .byte 0x89