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: 944 Comm: syz.0.186 Not tainted 5.4.292-syzkaller-00021-gcd8e74fa0fa3 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
RIP: 0010:____bpf_skb_cgroup_id net/core/filter.c:4150 [inline]
RIP: 0010:bpf_skb_cgroup_id+0x118/0x1a0 net/core/filter.c:4141
Code: a0 02 00 00 48 89 d8 48 c1 e8 03 42 80 3c 38 00 74 08 48 89 df e8 38 44 26 fe 41 be 40 01 00 00 4c 03 33 4c 89 f0 48 c1 e8 03 <42> 80 3c 38 00 74 08 4c 89 f7 e8 19 44 26 fe 49 8b 1e 48 83 c3 68
RSP: 0018:ffff8881e64a7af8 EFLAGS: 00010206
RAX: 0000000000000028 RBX: ffff8881eafa9aa0 RCX: 0000000000080000
RDX: ffffc90000d45000 RSI: 00000000000001cf RDI: 00000000000001d0
RBP: ffff8881e64a7b10 R08: ffff8881e64a7d20 R09: ffffed103cd8e615
R10: ffffed103cd8e615 R11: 1ffff1103cd8e614 R12: dffffc0000000000
R13: ffffc900000b4020 R14: 0000000000000140 R15: dffffc0000000000
FS:  00007faa2f4e16c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c26b344 CR3: 00000001e6d40000 CR4: 00000000003406a0
DR0: 0000200000000300 DR1: 0000200000000300 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
Call Trace:
 bpf_prog_e4c551cec247c742+0x183/0x1000
 bpf_call_func include/linux/filter.h:627 [inline]
 bpf_test_run+0x1ea/0x5d0 net/bpf/test_run.c:44
 bpf_prog_test_run_skb+0x721/0xdc0 net/bpf/test_run.c:311
 bpf_prog_test_run+0x21a/0x2a0 kernel/bpf/syscall.c:2124
 __do_sys_bpf kernel/bpf/syscall.c:2909 [inline]
 __se_sys_bpf+0x49a/0x570 kernel/bpf/syscall.c:2849
 __x64_sys_bpf+0x7b/0x90 kernel/bpf/syscall.c:2849
 do_syscall_64+0xcf/0x170 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x5c/0xc1
RIP: 0033:0x7faa30e78969
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007faa2f4e1038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007faa3109ffa0 RCX: 00007faa30e78969
RDX: 0000000000000050 RSI: 0000200000000a40 RDI: 000000000000000a
RBP: 00007faa30efaab1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007faa3109ffa0 R15: 00007ffc25f6f168
Modules linked in:
---[ end trace 3adaa2ecb9340714 ]---
RIP: 0010:____bpf_skb_cgroup_id net/core/filter.c:4150 [inline]
RIP: 0010:bpf_skb_cgroup_id+0x118/0x1a0 net/core/filter.c:4141
Code: a0 02 00 00 48 89 d8 48 c1 e8 03 42 80 3c 38 00 74 08 48 89 df e8 38 44 26 fe 41 be 40 01 00 00 4c 03 33 4c 89 f0 48 c1 e8 03 <42> 80 3c 38 00 74 08 4c 89 f7 e8 19 44 26 fe 49 8b 1e 48 83 c3 68
RSP: 0018:ffff8881e64a7af8 EFLAGS: 00010206
RAX: 0000000000000028 RBX: ffff8881eafa9aa0 RCX: 0000000000080000
RDX: ffffc90000d45000 RSI: 00000000000001cf RDI: 00000000000001d0
RBP: ffff8881e64a7b10 R08: ffff8881e64a7d20 R09: ffffed103cd8e615
R10: ffffed103cd8e615 R11: 1ffff1103cd8e614 R12: dffffc0000000000
R13: ffffc900000b4020 R14: 0000000000000140 R15: dffffc0000000000
FS:  00007faa2f4e16c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c26b344 CR3: 00000001e6d40000 CR4: 00000000003406a0
DR0: 0000200000000300 DR1: 0000200000000300 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
----------------
Code disassembly (best guess):
   0:	a0 02 00 00 48 89 d8 	movabs 0xc148d88948000002,%al
   7:	48 c1
   9:	e8 03 42 80 3c       	call   0x3c804211
   e:	38 00                	cmp    %al,(%rax)
  10:	74 08                	je     0x1a
  12:	48 89 df             	mov    %rbx,%rdi
  15:	e8 38 44 26 fe       	call   0xfe264452
  1a:	41 be 40 01 00 00    	mov    $0x140,%r14d
  20:	4c 03 33             	add    (%rbx),%r14
  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 19 44 26 fe       	call   0xfe264452
  39:	49 8b 1e             	mov    (%r14),%rbx
  3c:	48 83 c3 68          	add    $0x68,%rbx