------------[ cut here ]------------
WARNING: CPU: 0 PID: 4102 at include/linux/skbuff.h:2773 skb_mac_header_was_set include/linux/skbuff.h:2768 [inline]
WARNING: CPU: 0 PID: 4102 at include/linux/skbuff.h:2773 skb_mac_header include/linux/skbuff.h:2773 [inline]
WARNING: CPU: 0 PID: 4102 at include/linux/skbuff.h:2773 bpf_internal_load_pointer_neg_helper+0x1b3/0x1e0 kernel/bpf/core.c:74
Modules linked in:
CPU: 0 PID: 4102 Comm: syz-executor.0 Not tainted 5.19.0-rc2-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022
RIP: 0010:skb_mac_header include/linux/skbuff.h:2773 [inline]
RIP: 0010:bpf_internal_load_pointer_neg_helper+0x1b3/0x1e0 kernel/bpf/core.c:74
Code: 8b 04 24 e9 d8 fe ff ff 89 54 24 14 89 74 24 08 48 89 04 24 e8 be e1 36 00 8b 54 24 14 8b 74 24 08 48 8b 04 24 e9 68 ff ff ff <0f> 0b e9 72 ff ff ff 89 54 24 08 89 34 24 e8 ba e1 36 00 8b 54 24
RSP: 0018:ffffc90002dbf6c0 EFLAGS: 00010246
RAX: ffff88807f537400 RBX: ffff888074eeda00 RCX: 000000000000ffff
RDX: 0000000000000004 RSI: ffffffffffeff00c RDI: ffff888074eedaba
RBP: dffffc0000000000 R08: 0000000000000000 R09: ffffffff8f96f907
R10: fffffbfff1f2df20 R11: 0000000000000001 R12: 0000000000000000
R13: 0000000000000000 R14: ffff88807f537400 R15: 0000000000000000
FS: 00007f29c1d21700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020009d00 CR3: 0000000024413000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
____bpf_skb_load_helper_32 net/core/filter.c:276 [inline]
bpf_skb_load_helper_32+0x126/0x1b0 net/core/filter.c:264
Kernel panic - not syncing: panic_on_warn set ...
CPU: 0 PID: 4102 Comm: syz-executor.0 Not tainted 5.19.0-rc2-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x57/0x7d lib/dump_stack.c:106
panic+0x227/0x466 kernel/panic.c:274
__warn.cold+0x150/0x1de kernel/panic.c:625
report_bug+0x15a/0x1c0 lib/bug.c:198
handle_bug+0x3c/0x60 arch/x86/kernel/traps.c:316
exc_invalid_op+0x14/0x40 arch/x86/kernel/traps.c:336
asm_exc_invalid_op+0x1b/0x20 arch/x86/include/asm/idtentry.h:568
RIP: 0010:skb_mac_header include/linux/skbuff.h:2773 [inline]
RIP: 0010:bpf_internal_load_pointer_neg_helper+0x1b3/0x1e0 kernel/bpf/core.c:74
Code: 8b 04 24 e9 d8 fe ff ff 89 54 24 14 89 74 24 08 48 89 04 24 e8 be e1 36 00 8b 54 24 14 8b 74 24 08 48 8b 04 24 e9 68 ff ff ff <0f> 0b e9 72 ff ff ff 89 54 24 08 89 34 24 e8 ba e1 36 00 8b 54 24
RSP: 0018:ffffc90002dbf6c0 EFLAGS: 00010246
RAX: ffff88807f537400 RBX: ffff888074eeda00 RCX: 000000000000ffff
RDX: 0000000000000004 RSI: ffffffffffeff00c RDI: ffff888074eedaba
RBP: dffffc0000000000 R08: 0000000000000000 R09: ffffffff8f96f907
R10: fffffbfff1f2df20 R11: 0000000000000001 R12: 0000000000000000
R13: 0000000000000000 R14: ffff88807f537400 R15: 0000000000000000
____bpf_skb_load_helper_32 net/core/filter.c:276 [inline]
bpf_skb_load_helper_32+0x126/0x1b0 net/core/filter.c:264
Kernel Offset: disabled