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: 359 Comm: syz-executor297 Not tainted 5.4.242-syzkaller-00010-g39a9b92e9828 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 RIP: 0010:cgroup_ancestor include/linux/cgroup.h:591 [inline] RIP: 0010:____bpf_skb_ancestor_cgroup_id net/core/filter.c:4125 [inline] RIP: 0010:bpf_skb_ancestor_cgroup_id+0x114/0x270 net/core/filter.c:4114 Code: 02 00 00 48 89 d8 48 c1 e8 03 42 80 3c 20 00 74 08 48 89 df e8 8d e5 0c fe 48 8b 1b 48 8d bb 1c 01 00 00 48 89 f8 48 c1 e8 03 <42> 0f b6 04 20 84 c0 0f 85 2f 01 00 00 8b ab 1c 01 00 00 89 ef 44 RSP: 0018:ffff8881dc7074b8 EFLAGS: 00010203 RAX: 0000000000000023 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 000000000000011c RBP: 0000000000000080 R08: ffffffff8386fe5a R09: ffff8881dc707760 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: fffffff9fd7e08e5 R14: 0000000000000000 R15: ffff8881dc70e012 FS: 0000555556bec300(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020002000 CR3: 00000001dc5e2000 CR4: 00000000003406a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: Modules linked in: ---[ end trace ff7ba8d24eccf9b3 ]--- RIP: 0010:cgroup_ancestor include/linux/cgroup.h:591 [inline] RIP: 0010:____bpf_skb_ancestor_cgroup_id net/core/filter.c:4125 [inline] RIP: 0010:bpf_skb_ancestor_cgroup_id+0x114/0x270 net/core/filter.c:4114 Code: 02 00 00 48 89 d8 48 c1 e8 03 42 80 3c 20 00 74 08 48 89 df e8 8d e5 0c fe 48 8b 1b 48 8d bb 1c 01 00 00 48 89 f8 48 c1 e8 03 <42> 0f b6 04 20 84 c0 0f 85 2f 01 00 00 8b ab 1c 01 00 00 89 ef 44 RSP: 0018:ffff8881dc7074b8 EFLAGS: 00010203 RAX: 0000000000000023 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 000000000000011c RBP: 0000000000000080 R08: ffffffff8386fe5a R09: ffff8881dc707760 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: fffffff9fd7e08e5 R14: 0000000000000000 R15: ffff8881dc70e012 FS: 0000555556bec300(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020002000 CR3: 00000001dc5e2000 CR4: 00000000003406a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 02 00 add (%rax),%al 2: 00 48 89 add %cl,-0x77(%rax) 5: d8 48 c1 fmuls -0x3f(%rax) 8: e8 03 42 80 3c callq 0x3c804210 d: 20 00 and %al,(%rax) f: 74 08 je 0x19 11: 48 89 df mov %rbx,%rdi 14: e8 8d e5 0c fe callq 0xfe0ce5a6 19: 48 8b 1b mov (%rbx),%rbx 1c: 48 8d bb 1c 01 00 00 lea 0x11c(%rbx),%rdi 23: 48 89 f8 mov %rdi,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 0f b6 04 20 movzbl (%rax,%r12,1),%eax <-- trapping instruction 2f: 84 c0 test %al,%al 31: 0f 85 2f 01 00 00 jne 0x166 37: 8b ab 1c 01 00 00 mov 0x11c(%rbx),%ebp 3d: 89 ef mov %ebp,%edi 3f: 44 rex.R