------------[ cut here ]------------ WARNING: CPU: 1 PID: 26661 at include/linux/skbuff.h:2785 skb_mac_header include/linux/skbuff.h:2785 [inline] WARNING: CPU: 1 PID: 26661 at include/linux/skbuff.h:2785 bpf_internal_load_pointer_neg_helper+0x1b1/0x1c0 kernel/bpf/core.c:74 Modules linked in: CPU: 1 PID: 26661 Comm: syz-executor.2 Not tainted 5.19.0-rc4-next-20220628-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 RIP: 0010:skb_mac_header include/linux/skbuff.h:2785 [inline] RIP: 0010:bpf_internal_load_pointer_neg_helper+0x1b1/0x1c0 kernel/bpf/core.c:74 Code: ff ff 45 31 f6 e9 5a ff ff ff e8 1a 26 3f 00 e9 3b ff ff ff e8 00 26 3f 00 e9 df fe ff ff e8 f6 25 3f 00 eb 9e e8 2f 21 f3 ff <0f> 0b eb b1 e8 06 26 3f 00 e9 79 fe ff ff 90 41 57 41 56 41 55 41 RSP: 0018:ffffc90010c1f668 EFLAGS: 00010216 RAX: 00000000000001fd RBX: ffffffffffeff034 RCX: ffffc90019d9a000 RDX: 0000000000040000 RSI: ffffffff818795e1 RDI: 0000000000000003 RBP: ffff8880209cf8c0 R08: 0000000000000003 R09: 000000000000ffff R10: 000000000000ffff R11: 0000000000000001 R12: 0000000000000004 R13: ffff888097370000 R14: 000000000000ffff R15: dffffc0000000000 FS: 00007f8d1a1fe700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000382 CR3: 000000008e893000 CR4: 00000000003506e0 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+0x191/0x220 net/core/filter.c:264 Kernel panic - not syncing: panic_on_warn set ... CPU: 1 PID: 26661 Comm: syz-executor.2 Not tainted 5.19.0-rc4-next-20220628-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 panic+0x2d7/0x636 kernel/panic.c:274 __warn.cold+0x259/0x2c4 kernel/panic.c:623 report_bug+0x1bc/0x210 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:2785 [inline] RIP: 0010:bpf_internal_load_pointer_neg_helper+0x1b1/0x1c0 kernel/bpf/core.c:74 Code: ff ff 45 31 f6 e9 5a ff ff ff e8 1a 26 3f 00 e9 3b ff ff ff e8 00 26 3f 00 e9 df fe ff ff e8 f6 25 3f 00 eb 9e e8 2f 21 f3 ff <0f> 0b eb b1 e8 06 26 3f 00 e9 79 fe ff ff 90 41 57 41 56 41 55 41 RSP: 0018:ffffc90010c1f668 EFLAGS: 00010216 RAX: 00000000000001fd RBX: ffffffffffeff034 RCX: ffffc90019d9a000 RDX: 0000000000040000 RSI: ffffffff818795e1 RDI: 0000000000000003 RBP: ffff8880209cf8c0 R08: 0000000000000003 R09: 000000000000ffff R10: 000000000000ffff R11: 0000000000000001 R12: 0000000000000004 R13: ffff888097370000 R14: 000000000000ffff R15: dffffc0000000000 ____bpf_skb_load_helper_32 net/core/filter.c:276 [inline] bpf_skb_load_helper_32+0x191/0x220 net/core/filter.c:264 Kernel Offset: disabled Rebooting in 86400 seconds..