kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 1886 Comm: syz-executor978 Not tainted 5.4.10-syzkaller-00217-gf5f770e495ba #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:cgroup_ancestor include/linux/cgroup.h:586 [inline] RIP: 0010:____bpf_skb_ancestor_cgroup_id net/core/filter.c:4113 [inline] RIP: 0010:bpf_skb_ancestor_cgroup_id+0x11b/0x280 net/core/filter.c:4102 Code: 00 4c 89 e0 48 c1 e8 03 42 80 3c 28 00 74 08 4c 89 e7 e8 b8 90 8d fe 4d 8b 24 24 49 8d bc 24 fc 00 00 00 48 89 f8 48 c1 e8 03 <42> 8a 04 28 84 c0 0f 85 39 01 00 00 45 8b bc 24 fc 00 00 00 44 89 RSP: 0018:ffff8881cd1af530 EFLAGS: 00010203 RAX: 000000000000001f RBX: 0000000000000080 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00000000000000fc RBP: ffff8881cd1af558 R08: ffffffff82e2f31f R09: fffffbfff0933d6d R10: fffffbfff0933d6d R11: 0000000000000000 R12: 0000000000000000 R13: dffffc0000000000 R14: 0000000000000fff R15: ffff8881d0d12812 FS: 0000000002541880(0000) GS:ffff8881dbb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000200 CR3: 00000001c4eaa006 CR4: 00000000001606e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: bpf_prog_4b8778e422fd6c39+0x16c/0x1000 bpf_call_func include/linux/filter.h:608 [inline] bpf_test_run+0x2c0/0x6a0 net/bpf/test_run.c:44 bpf_prog_test_run_skb+0x7a6/0x10e0 net/bpf/test_run.c:310 bpf_prog_test_run kernel/bpf/syscall.c:2120 [inline] __do_sys_bpf+0x31e8/0xbbc0 kernel/bpf/syscall.c:2896 __se_sys_bpf kernel/bpf/syscall.c:2837 [inline] __x64_sys_bpf+0x7a/0x90 kernel/bpf/syscall.c:2837 do_syscall_64+0xc0/0x100 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x4403b9 Code: 18 89 d0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 fb 13 fc ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007ffe6e087aa8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 00000000004403b9 RDX: 0000000000000040 RSI: 0000000020000280 RDI: 000000000000000a RBP: 00000000006ca018 R08: 0000000000000000 R09: 00000000004002c8 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000401c40 R13: 0000000000401cd0 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace bfc751cf351860b3 ]--- RIP: 0010:cgroup_ancestor include/linux/cgroup.h:586 [inline] RIP: 0010:____bpf_skb_ancestor_cgroup_id net/core/filter.c:4113 [inline] RIP: 0010:bpf_skb_ancestor_cgroup_id+0x11b/0x280 net/core/filter.c:4102 Code: 00 4c 89 e0 48 c1 e8 03 42 80 3c 28 00 74 08 4c 89 e7 e8 b8 90 8d fe 4d 8b 24 24 49 8d bc 24 fc 00 00 00 48 89 f8 48 c1 e8 03 <42> 8a 04 28 84 c0 0f 85 39 01 00 00 45 8b bc 24 fc 00 00 00 44 89 RSP: 0018:ffff8881cd1af530 EFLAGS: 00010203 RAX: 000000000000001f RBX: 0000000000000080 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00000000000000fc RBP: ffff8881cd1af558 R08: ffffffff82e2f31f R09: fffffbfff0933d6d R10: fffffbfff0933d6d R11: 0000000000000000 R12: 0000000000000000 R13: dffffc0000000000 R14: 0000000000000fff R15: ffff8881d0d12812 FS: 0000000002541880(0000) GS:ffff8881dbb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000200 CR3: 00000001c4eaa006 CR4: 00000000001606e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400