Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 0 UID: 0 PID: 15 Comm: ksoftirqd/0 Not tainted syzkaller #0 PREEMPT(full) 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:1774 [inline] RIP: 0010:bpf_get_local_storage+0xbd/0x180 kernel/bpf/cgroup.c:1756 Code: e0 49 83 c6 08 4c 89 f0 48 c1 e8 03 42 80 3c 38 00 74 08 4c 89 f7 e8 a2 83 39 00 4d 8b 36 83 fb 15 75 5c 4c 89 f0 48 c1 e8 03 <42> 80 3c 38 00 74 08 4c 89 f7 e8 84 83 39 00 49 8b 1e e8 ec 7e 6c RSP: 0018:ffffc9000041eff8 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000015 RCX: 0000000000000100 RDX: ffff88801c2dc980 RSI: 0000000000000015 RDI: 0000000000000015 RBP: ffffc9000041f030 R08: 0000000000000003 R09: 0000000000000000 R10: ffffc9000041f0a0 R11: ffffffffa0203cf0 R12: 0000000000000001 R13: ffff8880119543c0 R14: 0000000000000000 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff88808d416000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f58f2aac170 CR3: 0000000011519000 CR4: 0000000000352ef0 Call Trace: bpf_prog_e63b106389d7305a+0x2e/0x45 bpf_dispatcher_nop_func include/linux/bpf.h:1378 [inline] __bpf_prog_run include/linux/filter.h:723 [inline] bpf_prog_run include/linux/filter.h:730 [inline] __bpf_prog_run_save_cb+0x127/0x370 include/linux/filter.h:980 bpf_prog_run_array_cg kernel/bpf/cgroup.c:81 [inline] __cgroup_bpf_run_filter_skb+0x9e0/0xf40 kernel/bpf/cgroup.c:1612 sk_filter_trim_cap+0xd42/0xf50 net/core/filter.c:150 tcp_filter net/ipv4/tcp_ipv4.c:2117 [inline] tcp_v4_rcv+0x1f90/0x2f20 net/ipv4/tcp_ipv4.c:2304 ip_protocol_deliver_rcu+0x221/0x440 net/ipv4/ip_input.c:207 ip_local_deliver_finish+0x3bb/0x6f0 net/ipv4/ip_input.c:241 NF_HOOK+0x30c/0x3a0 include/linux/netfilter.h:318 NF_HOOK+0x30c/0x3a0 include/linux/netfilter.h:318 __netif_receive_skb_one_core net/core/dev.c:6137 [inline] __netif_receive_skb+0x143/0x380 net/core/dev.c:6250 process_backlog+0x54f/0x1340 net/core/dev.c:6602 __napi_poll+0xae/0x320 net/core/dev.c:7666 napi_poll net/core/dev.c:7729 [inline] net_rx_action+0x64a/0xe00 net/core/dev.c:7881 handle_softirqs+0x22b/0x7c0 kernel/softirq.c:622 run_ksoftirqd+0x36/0x60 kernel/softirq.c:1063 smpboot_thread_fn+0x542/0xa60 kernel/smpboot.c:160 kthread+0x711/0x8a0 kernel/kthread.c:463 ret_from_fork+0x510/0xa50 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:246 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:____bpf_get_local_storage kernel/bpf/cgroup.c:1774 [inline] RIP: 0010:bpf_get_local_storage+0xbd/0x180 kernel/bpf/cgroup.c:1756 Code: e0 49 83 c6 08 4c 89 f0 48 c1 e8 03 42 80 3c 38 00 74 08 4c 89 f7 e8 a2 83 39 00 4d 8b 36 83 fb 15 75 5c 4c 89 f0 48 c1 e8 03 <42> 80 3c 38 00 74 08 4c 89 f7 e8 84 83 39 00 49 8b 1e e8 ec 7e 6c RSP: 0018:ffffc9000041eff8 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000015 RCX: 0000000000000100 RDX: ffff88801c2dc980 RSI: 0000000000000015 RDI: 0000000000000015 RBP: ffffc9000041f030 R08: 0000000000000003 R09: 0000000000000000 R10: ffffc9000041f0a0 R11: ffffffffa0203cf0 R12: 0000000000000001 R13: ffff8880119543c0 R14: 0000000000000000 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff88808d416000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f58f2aac170 CR3: 0000000011519000 CR4: 0000000000352ef0 ---------------- Code disassembly (best guess): 0: e0 49 loopne 0x4b 2: 83 c6 08 add $0x8,%esi 5: 4c 89 f0 mov %r14,%rax 8: 48 c1 e8 03 shr $0x3,%rax c: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1) 11: 74 08 je 0x1b 13: 4c 89 f7 mov %r14,%rdi 16: e8 a2 83 39 00 call 0x3983bd 1b: 4d 8b 36 mov (%r14),%r14 1e: 83 fb 15 cmp $0x15,%ebx 21: 75 5c jne 0x7f 23: 4c 89 f0 mov %r14,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 4c 89 f7 mov %r14,%rdi 34: e8 84 83 39 00 call 0x3983bd 39: 49 8b 1e mov (%r14),%rbx 3c: e8 .byte 0xe8 3d: ec in (%dx),%al 3e: 7e 6c jle 0xac