------------[ cut here ]------------ kernel BUG at net/core/skbuff.c:2446! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 5123 Comm: syz-executor.1 Not tainted 6.2.0-rc2-syzkaller-00203-g1f5abbd77e2c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:__pskb_pull_tail+0x1196/0x1740 net/core/skbuff.c:2446 Code: 98 c8 00 00 00 e9 c7 f6 ff ff e8 c5 0e be f9 48 8b 3c 24 be 02 00 00 00 e8 b7 0d ff ff 45 31 e4 e9 b4 f6 ff ff e8 aa 0e be f9 <0f> 0b e8 a3 0e be f9 4c 8b 7c 24 38 49 83 ef 01 e9 fb f4 ff ff 48 RSP: 0018:ffffc90000007ad0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 00000000fffffff2 RCX: 0000000000000100 RDX: ffff88807d70d7c0 RSI: ffffffff87c343b6 RDI: 0000000000000005 RBP: ffffc90000007b58 R08: 0000000000000005 R09: 0000000000000000 R10: 00000000fffffff2 R11: 0000000000000000 R12: 00000000000002c0 R13: ffff88802bd1b000 R14: 0000000000000000 R15: 0000000000000000 FS: 0000555555663400(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2da6184998 CR3: 0000000029de4000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 000000000000003b DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: skb_condense+0x140/0x2d0 net/core/skbuff.c:6485 ___pskb_trim+0x979/0x11b0 net/core/skbuff.c:2381 __pskb_trim include/linux/skbuff.h:3016 [inline] pskb_trim include/linux/skbuff.h:3023 [inline] packet_rcv+0xd84/0x15c0 net/packet/af_packet.c:2200 dev_queue_xmit_nit+0x7fd/0xb10 net/core/dev.c:2290 xmit_one net/core/dev.c:3579 [inline] dev_hard_start_xmit+0xac/0x990 net/core/dev.c:3599 sch_direct_xmit+0x1a3/0xbe0 net/sched/sch_generic.c:342 qdisc_restart net/sched/sch_generic.c:407 [inline] __qdisc_run+0x4da/0x1750 net/sched/sch_generic.c:415 qdisc_run include/net/pkt_sched.h:126 [inline] qdisc_run include/net/pkt_sched.h:123 [inline] net_tx_action+0x792/0xe40 net/core/dev.c:5079 __do_softirq+0x1fb/0xadc kernel/softirq.c:571 invoke_softirq kernel/softirq.c:445 [inline] __irq_exit_rcu+0x123/0x180 kernel/softirq.c:650 irq_exit_rcu+0x9/0x20 kernel/softirq.c:662 sysvec_apic_timer_interrupt+0x97/0xc0 arch/x86/kernel/apic/apic.c:1107 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:__kasan_poison_vmalloc+0x5/0x40 mm/kasan/shadow.c:526 Code: 89 f5 e8 8e d8 f3 ff 85 c0 74 0d 31 d2 48 89 ee 4c 89 e7 e8 3d fe ff ff 4c 89 e0 5d 41 5c c3 66 0f 1f 44 00 00 66 0f 1f 00 55 <48> 89 fd 53 48 89 f3 e8 5f d8 f3 ff 85 c0 75 03 5b 5d c3 48 8d 73 RSP: 0018:ffffc9000446f9b0 EFLAGS: 00000246 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 1ffff11003a6d361 RSI: 0000000000001000 RDI: ffffc9000b335000 RBP: ffff88801d369b08 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000001000 R13: ffff88801d369b18 R14: 0000000000001000 R15: ffff88801d369b00 kasan_poison_vmalloc include/linux/kasan.h:429 [inline] __vunmap+0x34e/0xd30 mm/vmalloc.c:2711 __vfree+0x3c/0xd0 mm/vmalloc.c:2775 vfree+0x5e/0x90 mm/vmalloc.c:2806 __do_replace+0x16b/0x900 net/ipv4/netfilter/arp_tables.c:946 do_replace net/ipv6/netfilter/ip6_tables.c:1157 [inline] do_ip6t_set_ctl+0x8a9/0xb30 net/ipv6/netfilter/ip6_tables.c:1639 nf_setsockopt+0x87/0xe0 net/netfilter/nf_sockopt.c:101 ipv6_setsockopt+0x12b/0x190 net/ipv6/ipv6_sockglue.c:1028 tcp_setsockopt+0x9f/0x100 net/ipv4/tcp.c:3801 __sys_setsockopt+0x2c6/0x5b0 net/socket.c:2246 __do_sys_setsockopt net/socket.c:2257 [inline] __se_sys_setsockopt net/socket.c:2254 [inline] __x64_sys_setsockopt+0xbe/0x160 net/socket.c:2254 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f2da608d71a Code: 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 49 89 ca b8 36 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f2da62cf688 EFLAGS: 00000202 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000000029 RCX: 00007f2da608d71a RDX: 0000000000000040 RSI: 0000000000000029 RDI: 0000000000000003 RBP: 00007f2da62cf6b0 R08: 00000000000002e8 R09: ffffffffff000000 R10: 00007f2da6185000 R11: 0000000000000202 R12: 00007f2da62cf710 R13: 0000000000000003 R14: 00007f2da62cf6ac R15: 00007f2da6184fa0 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__pskb_pull_tail+0x1196/0x1740 net/core/skbuff.c:2446 Code: 98 c8 00 00 00 e9 c7 f6 ff ff e8 c5 0e be f9 48 8b 3c 24 be 02 00 00 00 e8 b7 0d ff ff 45 31 e4 e9 b4 f6 ff ff e8 aa 0e be f9 <0f> 0b e8 a3 0e be f9 4c 8b 7c 24 38 49 83 ef 01 e9 fb f4 ff ff 48 RSP: 0018:ffffc90000007ad0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 00000000fffffff2 RCX: 0000000000000100 RDX: ffff88807d70d7c0 RSI: ffffffff87c343b6 RDI: 0000000000000005 RBP: ffffc90000007b58 R08: 0000000000000005 R09: 0000000000000000 R10: 00000000fffffff2 R11: 0000000000000000 R12: 00000000000002c0 R13: ffff88802bd1b000 R14: 0000000000000000 R15: 0000000000000000 FS: 0000555555663400(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2da6184998 CR3: 0000000029de4000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 000000000000003b DR6: 00000000ffff0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 89 f5 mov %esi,%ebp 2: e8 8e d8 f3 ff callq 0xfff3d895 7: 85 c0 test %eax,%eax 9: 74 0d je 0x18 b: 31 d2 xor %edx,%edx d: 48 89 ee mov %rbp,%rsi 10: 4c 89 e7 mov %r12,%rdi 13: e8 3d fe ff ff callq 0xfffffe55 18: 4c 89 e0 mov %r12,%rax 1b: 5d pop %rbp 1c: 41 5c pop %r12 1e: c3 retq 1f: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1) 25: 66 0f 1f 00 nopw (%rax) 29: 55 push %rbp * 2a: 48 89 fd mov %rdi,%rbp <-- trapping instruction 2d: 53 push %rbx 2e: 48 89 f3 mov %rsi,%rbx 31: e8 5f d8 f3 ff callq 0xfff3d895 36: 85 c0 test %eax,%eax 38: 75 03 jne 0x3d 3a: 5b pop %rbx 3b: 5d pop %rbp 3c: c3 retq 3d: 48 rex.W 3e: 8d .byte 0x8d 3f: 73 .byte 0x73