------------[ cut here ]------------ kernel BUG at net/core/skbuff.c:1986! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 15826 Comm: syz-executor.3 Not tainted 6.3.0-rc7-syzkaller-00175-g50749f2dd685 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 RIP: 0010:pskb_expand_head+0xc46/0x1160 net/core/skbuff.c:1986 Code: 8d 75 ff e9 11 fe ff ff e8 77 82 85 f9 48 c7 c6 00 dc 5b 8b 4c 89 f7 e8 b8 32 c0 f9 0f 0b e8 61 82 85 f9 0f 0b e8 5a 82 85 f9 <0f> 0b e8 53 82 85 f9 48 89 df e8 fb 57 ff ff e9 79 f5 ff ff e8 41 RSP: 0018:ffffc90000007660 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff888022216640 RCX: 0000000000000100 RDX: ffff888077d48000 RSI: ffffffff87fd6e26 RDI: 0000000000000005 RBP: 0000000000000002 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000002 R11: 0000000000000001 R12: 0000000000000820 R13: dffffc0000000000 R14: ffff888022216710 R15: 0000000000000000 FS: 00007f874c516700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2d429000 CR3: 000000002a3ba000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: skb_ensure_writable net/core/skbuff.c:5938 [inline] skb_ensure_writable+0x2cb/0x450 net/core/skbuff.c:5930 __bpf_try_make_writable net/core/filter.c:1658 [inline] sk_skb_try_make_writable net/core/filter.c:1870 [inline] ____sk_skb_pull_data net/core/filter.c:1884 [inline] sk_skb_pull_data+0x8b/0xa0 net/core/filter.c:1873 bpf_prog_53daab6e9cefb4fc+0x1a/0x1c bpf_dispatcher_nop_func include/linux/bpf.h:1124 [inline] __bpf_prog_run include/linux/filter.h:601 [inline] bpf_prog_run include/linux/filter.h:608 [inline] bpf_prog_run_pin_on_cpu include/linux/filter.h:625 [inline] sk_psock_verdict_recv+0x36d/0x7a0 net/core/skmsg.c:1201 tcp_read_skb+0x177/0x670 net/ipv4/tcp.c:1772 sk_psock_verdict_data_ready+0xad/0xd0 net/core/skmsg.c:1220 tcp_data_ready+0x10a/0x520 net/ipv4/tcp_input.c:5006 tcp_rcv_established+0x193d/0x1f80 net/ipv4/tcp_input.c:5984 tcp_v4_do_rcv+0x663/0x9d0 net/ipv4/tcp_ipv4.c:1721 tcp_v4_rcv+0x2eac/0x3280 net/ipv4/tcp_ipv4.c:2143 ip_protocol_deliver_rcu+0x9f/0x480 net/ipv4/ip_input.c:205 ip_local_deliver_finish+0x2ec/0x520 net/ipv4/ip_input.c:233 NF_HOOK include/linux/netfilter.h:302 [inline] NF_HOOK include/linux/netfilter.h:296 [inline] ip_local_deliver+0x1ae/0x200 net/ipv4/ip_input.c:254 dst_input include/net/dst.h:454 [inline] ip_rcv_finish+0x1cf/0x2f0 net/ipv4/ip_input.c:449 NF_HOOK include/linux/netfilter.h:302 [inline] NF_HOOK include/linux/netfilter.h:296 [inline] ip_rcv+0xae/0xd0 net/ipv4/ip_input.c:569 __netif_receive_skb_one_core+0x114/0x180 net/core/dev.c:5480 __netif_receive_skb+0x1f/0x1c0 net/core/dev.c:5594 process_backlog+0x239/0x800 net/core/dev.c:5922 __napi_poll+0xb7/0x6f0 net/core/dev.c:6483 napi_poll net/core/dev.c:6550 [inline] net_rx_action+0x9c2/0xd80 net/core/dev.c:6660 __do_softirq+0x1d4/0x905 kernel/softirq.c:571 invoke_softirq kernel/softirq.c:445 [inline] __irq_exit_rcu+0x114/0x190 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:645 RIP: 0010:number+0x6cb/0xad0 lib/vsprintf.c:561 Code: 7e a9 e8 68 5a 90 f7 31 ff 89 ee 89 6c 24 04 e8 ab 56 90 f7 85 ed 0f 88 03 03 00 00 48 63 c5 4d 89 fc 4c 8d ac 04 98 00 00 00 40 5a 90 f7 4d 39 e6 76 69 e8 36 5a 90 f7 48 63 f5 48 83 fe 17 RSP: 0018:ffffc900043ef708 EFLAGS: 00000213 RAX: 0000000000000002 RBX: 00000000fffffff7 RCX: ffffffff89f296c7 RDX: ffff888077d48000 RSI: 0000000000000000 RDI: 0000000000000005 RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000003 R11: 0000000000000000 R12: ffff88807750a271 R13: ffffc900043ef7a3 R14: ffff88807750aa1c R15: ffff88807750a270 vsnprintf+0x89d/0x1710 lib/vsprintf.c:2862 add_uevent_var+0x161/0x390 lib/kobject_uevent.c:665 kobject_uevent_env+0x9b3/0x16c0 lib/kobject_uevent.c:588 rx_queue_add_kobject net/core/net-sysfs.c:1102 [inline] net_rx_queue_update_kobjects+0x1b0/0x640 net/core/net-sysfs.c:1142 register_queue_kobjects net/core/net-sysfs.c:1802 [inline] netdev_register_kobject+0x279/0x400 net/core/net-sysfs.c:2047 register_netdevice+0xd77/0x1640 net/core/dev.c:10047 register_netdev+0x31/0x50 net/core/dev.c:10175 ip6gre_init_net+0x2e9/0x410 net/ipv6/ip6_gre.c:1617 ops_init+0xb9/0x6b0 net/core/net_namespace.c:135 setup_net+0x5d1/0xc50 net/core/net_namespace.c:338 copy_net_ns+0x4ee/0x8e0 net/core/net_namespace.c:490 create_new_namespaces+0x3f6/0xb20 kernel/nsproxy.c:110 unshare_nsproxy_namespaces+0xc1/0x1f0 kernel/nsproxy.c:228 ksys_unshare+0x449/0x920 kernel/fork.c:3204 __do_sys_unshare kernel/fork.c:3275 [inline] __se_sys_unshare kernel/fork.c:3273 [inline] __x64_sys_unshare+0x31/0x40 kernel/fork.c:3273 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:0x7f874b88c169 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f874c516168 EFLAGS: 00000246 ORIG_RAX: 0000000000000110 RAX: ffffffffffffffda RBX: 00007f874b9abf80 RCX: 00007f874b88c169 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 000000006c060000 RBP: 00007f874b8e7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff81d8311f R14: 00007f874c516300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:pskb_expand_head+0xc46/0x1160 net/core/skbuff.c:1986 Code: 8d 75 ff e9 11 fe ff ff e8 77 82 85 f9 48 c7 c6 00 dc 5b 8b 4c 89 f7 e8 b8 32 c0 f9 0f 0b e8 61 82 85 f9 0f 0b e8 5a 82 85 f9 <0f> 0b e8 53 82 85 f9 48 89 df e8 fb 57 ff ff e9 79 f5 ff ff e8 41 RSP: 0018:ffffc90000007660 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff888022216640 RCX: 0000000000000100 RDX: ffff888077d48000 RSI: ffffffff87fd6e26 RDI: 0000000000000005 RBP: 0000000000000002 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000002 R11: 0000000000000001 R12: 0000000000000820 R13: dffffc0000000000 R14: ffff888022216710 R15: 0000000000000000 FS: 00007f874c516700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2d429000 CR3: 000000002a3ba000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 7e a9 jle 0xffffffab 2: e8 68 5a 90 f7 callq 0xf7905a6f 7: 31 ff xor %edi,%edi 9: 89 ee mov %ebp,%esi b: 89 6c 24 04 mov %ebp,0x4(%rsp) f: e8 ab 56 90 f7 callq 0xf79056bf 14: 85 ed test %ebp,%ebp 16: 0f 88 03 03 00 00 js 0x31f 1c: 48 63 c5 movslq %ebp,%rax 1f: 4d 89 fc mov %r15,%r12 22: 4c 8d ac 04 98 00 00 lea 0x98(%rsp,%rax,1),%r13 29: 00 * 2a: e8 40 5a 90 f7 callq 0xf7905a6f <-- trapping instruction 2f: 4d 39 e6 cmp %r12,%r14 32: 76 69 jbe 0x9d 34: e8 36 5a 90 f7 callq 0xf7905a6f 39: 48 63 f5 movslq %ebp,%rsi 3c: 48 83 fe 17 cmp $0x17,%rsi