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: 0 PID: 2417 Comm: syz-executor.3 Not tainted 5.4.89-syzkaller-00264-gdc04463953b2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:cgroup_ancestor include/linux/cgroup.h:587 [inline] RIP: 0010:____bpf_skb_ancestor_cgroup_id net/core/filter.c:4118 [inline] RIP: 0010:bpf_skb_ancestor_cgroup_id+0x111/0x270 net/core/filter.c:4107 Code: 02 00 00 48 89 d8 48 c1 e8 03 42 80 3c 20 00 74 08 48 89 df e8 e0 f1 14 fe 48 8b 1b 48 8d bb 1c 01 00 00 48 89 f8 48 c1 e8 03 <42> 8a 04 20 84 c0 0f 85 2e 01 00 00 8b ab 1c 01 00 00 89 ef 44 89 RSP: 0018:ffff8881e306f558 EFLAGS: 00010203 RAX: 0000000000000023 RBX: 0000000000000000 RCX: 0000000000000002 RDX: ffffc900042f4000 RSI: 0000000000000080 RDI: 000000000000011c RBP: 0000000000000080 R08: ffffffff837ea9d7 R09: ffff8881e306f7e0 R10: ffffed103c60defe R11: 0000000000000000 R12: dffffc0000000000 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8881e6043812 FS: 00007fe2b6e17700(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000189c9b8 CR3: 00000001e79eb000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: bpf_prog_ad2c592359f22bcf+0xc15/0x1000 bpf_call_func include/linux/filter.h:608 [inline] bpf_test_run+0x278/0x650 net/bpf/test_run.c:44 bpf_prog_test_run_skb+0x7ef/0x1190 net/bpf/test_run.c:310 bpf_prog_test_run kernel/bpf/syscall.c:2123 [inline] __do_sys_bpf+0x3212/0xbfc0 kernel/bpf/syscall.c:2906 do_syscall_64+0xcb/0x150 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45e219 Code: 0d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fe2b6e16c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045e219 RDX: 0000000000000040 RSI: 0000000020000280 RDI: 000000000000000a RBP: 000000000119bfc0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119bf8c R13: 00007fff3837f76f R14: 00007fe2b6e179c0 R15: 000000000119bf8c Modules linked in: ---[ end trace 8beed0902b12289a ]--- RIP: 0010:cgroup_ancestor include/linux/cgroup.h:587 [inline] RIP: 0010:____bpf_skb_ancestor_cgroup_id net/core/filter.c:4118 [inline] RIP: 0010:bpf_skb_ancestor_cgroup_id+0x111/0x270 net/core/filter.c:4107 Code: 02 00 00 48 89 d8 48 c1 e8 03 42 80 3c 20 00 74 08 48 89 df e8 e0 f1 14 fe 48 8b 1b 48 8d bb 1c 01 00 00 48 89 f8 48 c1 e8 03 <42> 8a 04 20 84 c0 0f 85 2e 01 00 00 8b ab 1c 01 00 00 89 ef 44 89 RSP: 0018:ffff8881e306f558 EFLAGS: 00010203 RAX: 0000000000000023 RBX: 0000000000000000 RCX: 0000000000000002 RDX: ffffc900042f4000 RSI: 0000000000000080 RDI: 000000000000011c RBP: 0000000000000080 R08: ffffffff837ea9d7 R09: ffff8881e306f7e0 R10: ffffed103c60defe R11: 0000000000000000 R12: dffffc0000000000 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8881e6043812 FS: 00007fe2b6e17700(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000189c9b8 CR3: 00000001e79eb000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600