skbuff: skb_over_panic: text:ffffffff830a5b5f len:184 put:172 head:ffff8881163ba000 data:ffff8881163ba000 tail:0xb8 end:0x80 dev: ------------[ cut here ]------------ kernel BUG at net/core/skbuff.c:110! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 649 Comm: sed Not tainted 5.10.75-syzkaller-01082-g234d53d2bb60 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:skb_panic+0x14f/0x160 net/core/skbuff.c:106 Code: 87 85 48 8b 75 c0 48 8b 55 b8 8b 4d d4 44 8b 45 d0 4c 8b 4d c8 b8 00 00 00 00 53 41 56 41 55 41 54 e8 2c 61 89 fd 48 83 c4 20 <0f> 0b 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 55 48 89 e5 41 RSP: 0018:ffffc90000006ee8 EFLAGS: 00010286 RAX: 0000000000000087 RBX: ffffffff85873b60 RCX: a3747c18861db300 RDX: 0000000000000703 RSI: 0000000000000703 RDI: 0000000000000000 RBP: ffffc90000006f30 R08: ffffffff81545368 R09: ffffed103ee095d8 R10: ffffed103ee095d8 R11: 0000000000000000 R12: ffff8881163ba000 R13: 00000000000000b8 R14: 0000000000000080 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4a0e371270 CR3: 0000000116b19000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: skb_over_panic+0x2c/0x30 net/core/skbuff.c:115 skb_put+0x205/0x210 net/core/skbuff.c:1877 skb_put_zero include/linux/skbuff.h:2270 [inline] cdc_ncm_ndp16 drivers/net/usb/cdc_ncm.c:1116 [inline] cdc_ncm_fill_tx_frame+0x127f/0x3d50 drivers/net/usb/cdc_ncm.c:1293 cdc_ncm_tx_fixup+0x98/0xf0 drivers/net/usb/cdc_ncm.c:1514 usbnet_start_xmit+0x111/0x1a60 drivers/net/usb/usbnet.c:1338 __netdev_start_xmit include/linux/netdevice.h:4823 [inline] netdev_start_xmit include/linux/netdevice.h:4837 [inline] xmit_one+0x16a/0x480 net/core/dev.c:3583 dev_hard_start_xmit+0xad/0x1c0 net/core/dev.c:3599 sch_direct_xmit+0x28f/0x9b0 net/sched/sch_generic.c:336 qdisc_restart net/sched/sch_generic.c:401 [inline] __qdisc_run+0x245/0x3e0 net/sched/sch_generic.c:409 qdisc_run include/net/pkt_sched.h:127 [inline] __dev_xmit_skb net/core/dev.c:3775 [inline] __dev_queue_xmit+0xe7e/0x2ac0 net/core/dev.c:4129 dev_queue_xmit+0x17/0x20 net/core/dev.c:4194 neigh_resolve_output+0x693/0x740 net/core/neighbour.c:1497 neigh_output include/net/neighbour.h:518 [inline] ip6_finish_output2+0x109c/0x1930 net/ipv6/ip6_output.c:145 __ip6_finish_output+0x610/0x7b0 net/ipv6/ip6_output.c:210 ip6_finish_output+0x3f/0x1e0 net/ipv6/ip6_output.c:220 NF_HOOK_COND include/linux/netfilter.h:293 [inline] ip6_output+0x211/0x4c0 net/ipv6/ip6_output.c:243 dst_output include/net/dst.h:443 [inline] NF_HOOK include/linux/netfilter.h:304 [inline] mld_sendpack+0x5fc/0xb20 net/ipv6/mcast.c:1676 mld_send_cr net/ipv6/mcast.c:1972 [inline] mld_ifc_timer_expire+0x85b/0xc50 net/ipv6/mcast.c:2471 call_timer_fn+0x35/0x280 kernel/time/timer.c:1420 expire_timers+0x21f/0x3b0 kernel/time/timer.c:1465 __run_timers+0x548/0x680 kernel/time/timer.c:1756 run_timer_softirq+0x69/0xf0 kernel/time/timer.c:1769 __do_softirq+0x27e/0x598 kernel/softirq.c:305 asm_call_irq_on_stack+0xf/0x20 __run_on_irqstack arch/x86/include/asm/irq_stack.h:26 [inline] run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:77 [inline] do_softirq_own_stack+0x60/0x80 arch/x86/kernel/irq_64.c:77 invoke_softirq kernel/softirq.c:402 [inline] __irq_exit_rcu+0x128/0x150 kernel/softirq.c:432 irq_exit_rcu+0x9/0x10 kernel/softirq.c:444 sysvec_apic_timer_interrupt+0xbf/0xe0 arch/x86/kernel/apic/apic.c:1095 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 RIP: 0010:memset+0x27/0x40 mm/kasan/shadow.c:47 Code: 00 00 00 55 48 89 e5 41 57 41 56 53 49 89 d7 41 89 f6 48 89 fb 48 8b 4d 08 48 89 d6 ba 01 00 00 00 e8 0d ed ff ff 84 c0 74 10 <48> 89 df 44 89 f6 4c 89 fa e8 db 14 d1 00 eb 02 31 c0 5b 41 5e 41 RSP: 0018:ffffc9000e3f7558 EFLAGS: 00000202 RAX: ffffffff822b7701 RBX: ffffc9000e3f75e0 RCX: ffffffff822b771b RDX: 0000000000000001 RSI: 0000000000000038 RDI: ffffc9000e3f75e0 RBP: ffffc9000e3f7570 R08: dffffc0000000000 R09: fffff52001c7eec3 R10: fffff52001c7eec3 R11: 0000000000000000 R12: 0000000010000000 R13: ffffffff86f234e0 R14: 0000000000000000 R15: 0000000000000038 avc_has_perm_noaudit+0x9b/0x4d0 security/selinux/avc.c:1152 selinux_inode_permission+0x37f/0x6a0 security/selinux/hooks.c:3117 security_inode_permission+0x94/0x120 security/security.c:1234 inode_permission+0xe0/0x520 fs/namei.c:474 may_lookup fs/namei.c:1653 [inline] link_path_walk+0x1f8/0xbf0 fs/namei.c:2205 path_lookupat+0xab/0x6c0 fs/namei.c:2412 filename_lookup+0x23f/0x6c0 fs/namei.c:2446 user_path_at_empty+0x40/0x50 fs/namei.c:2726 user_path_at include/linux/namei.h:59 [inline] vfs_statx+0x10a/0x3f0 fs/stat.c:193 vfs_fstatat fs/stat.c:215 [inline] __do_sys_newfstatat fs/stat.c:384 [inline] __se_sys_newfstatat+0xc8/0x760 fs/stat.c:378 __x64_sys_newfstatat+0x9b/0xb0 fs/stat.c:378 do_syscall_64+0x31/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f4a0e62ee6a Code: 48 89 f2 b9 00 01 00 00 48 89 fe bf 9c ff ff ff e9 0b 00 00 00 66 2e 0f 1f 84 00 00 00 00 00 90 41 89 ca b8 06 01 00 00 0f 05 <3d> 00 f0 ff ff 77 07 31 c0 c3 0f 1f 40 00 f7 d8 89 05 28 23 01 00 RSP: 002b:00007fff7b657d18 EFLAGS: 00000246 ORIG_RAX: 0000000000000106 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f4a0e62ee6a RDX: 00007fff7b657dd0 RSI: 00007fff7b657d20 RDI: 00000000ffffff9c RBP: 00007fff7b657e90 R08: 00000000ffffffff R09: 00007fff7b657d20 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000006 R13: 00007fff7b657d2b R14: 00007fff7b657d20 R15: 00007f4a0e641e00 Modules linked in: ---[ end trace 2780249781a37ced ]--- RIP: 0010:skb_panic+0x14f/0x160 net/core/skbuff.c:106 Code: 87 85 48 8b 75 c0 48 8b 55 b8 8b 4d d4 44 8b 45 d0 4c 8b 4d c8 b8 00 00 00 00 53 41 56 41 55 41 54 e8 2c 61 89 fd 48 83 c4 20 <0f> 0b 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 55 48 89 e5 41 RSP: 0018:ffffc90000006ee8 EFLAGS: 00010286 RAX: 0000000000000087 RBX: ffffffff85873b60 RCX: a3747c18861db300 RDX: 0000000000000703 RSI: 0000000000000703 RDI: 0000000000000000 RBP: ffffc90000006f30 R08: ffffffff81545368 R09: ffffed103ee095d8 R10: ffffed103ee095d8 R11: 0000000000000000 R12: ffff8881163ba000 R13: 00000000000000b8 R14: 0000000000000080 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4a0e371270 CR3: 0000000116b19000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 00 00 add %al,(%rax) 2: 00 55 48 add %dl,0x48(%rbp) 5: 89 e5 mov %esp,%ebp 7: 41 57 push %r15 9: 41 56 push %r14 b: 53 push %rbx c: 49 89 d7 mov %rdx,%r15 f: 41 89 f6 mov %esi,%r14d 12: 48 89 fb mov %rdi,%rbx 15: 48 8b 4d 08 mov 0x8(%rbp),%rcx 19: 48 89 d6 mov %rdx,%rsi 1c: ba 01 00 00 00 mov $0x1,%edx 21: e8 0d ed ff ff callq 0xffffed33 26: 84 c0 test %al,%al 28: 74 10 je 0x3a * 2a: 48 89 df mov %rbx,%rdi <-- trapping instruction 2d: 44 89 f6 mov %r14d,%esi 30: 4c 89 fa mov %r15,%rdx 33: e8 db 14 d1 00 callq 0xd11513 38: eb 02 jmp 0x3c 3a: 31 c0 xor %eax,%eax 3c: 5b pop %rbx 3d: 41 5e pop %r14 3f: 41 rex.B