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: 355 Comm: syz-executor436 Not tainted 5.4.268-syzkaller-00003-g2d5d8240a7cb #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:____bpf_skb_cgroup_id net/core/filter.c:4123 [inline] RIP: 0010:bpf_skb_cgroup_id+0x10f/0x190 net/core/filter.c:4114 Code: c7 a0 02 00 00 4c 89 f8 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 ff e8 a0 5a 0c fe bb 40 01 00 00 49 03 1f 48 89 d8 48 c1 e8 03 <42> 80 3c 20 00 74 08 48 89 df e8 82 5a 0c fe 48 8b 1b 48 83 c3 68 RSP: 0018:ffff8881dc597640 EFLAGS: 00010206 RAX: 0000000000000028 RBX: 0000000000000140 RCX: ffff8881dc92ee40 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 0000000000000000 RBP: ffff8881dc597690 R08: ffffffff8387c046 R09: ffff8881dc597760 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: fffffffaefa3caf4 R14: ffff8881dc605012 R15: ffff8881dc6052a0 FS: 0000555555636380(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000001273258 CR3: 00000001dc552000 CR4: 00000000003406b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: Modules linked in: ---[ end trace 7c0eee5e2bd68385 ]--- RIP: 0010:____bpf_skb_cgroup_id net/core/filter.c:4123 [inline] RIP: 0010:bpf_skb_cgroup_id+0x10f/0x190 net/core/filter.c:4114 Code: c7 a0 02 00 00 4c 89 f8 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 ff e8 a0 5a 0c fe bb 40 01 00 00 49 03 1f 48 89 d8 48 c1 e8 03 <42> 80 3c 20 00 74 08 48 89 df e8 82 5a 0c fe 48 8b 1b 48 83 c3 68 RSP: 0018:ffff8881dc597640 EFLAGS: 00010206 RAX: 0000000000000028 RBX: 0000000000000140 RCX: ffff8881dc92ee40 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 0000000000000000 RBP: ffff8881dc597690 R08: ffffffff8387c046 R09: ffff8881dc597760 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: fffffffaefa3caf4 R14: ffff8881dc605012 R15: ffff8881dc6052a0 FS: 0000555555636380(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000001273258 CR3: 00000001dc552000 CR4: 00000000003406b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: a0 02 00 00 4c 89 f8 movabs 0xc148f8894c000002,%al 7: 48 c1 9: e8 03 42 80 3c call 0x3c804211 e: 20 00 and %al,(%rax) 10: 74 08 je 0x1a 12: 4c 89 ff mov %r15,%rdi 15: e8 a0 5a 0c fe call 0xfe0c5aba 1a: bb 40 01 00 00 mov $0x140,%ebx 1f: 49 03 1f add (%r15),%rbx 22: 48 89 d8 mov %rbx,%rax 25: 48 c1 e8 03 shr $0x3,%rax * 29: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1) <-- trapping instruction 2e: 74 08 je 0x38 30: 48 89 df mov %rbx,%rdi 33: e8 82 5a 0c fe call 0xfe0c5aba 38: 48 8b 1b mov (%rbx),%rbx 3b: 48 83 c3 68 add $0x68,%rbx