====================================== | | [ 47.474318][ C0] ------------[ cut here ]------------ | [ 47.474631][ C0] kernel BUG at net/core/skbuff.c:3605! | [ 47.474816][ C0] invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI [ 47.475228][ C0] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 47.475559][ C0] RIP: 0010:skb_copy_and_csum_bits (net/core/skbuff.c:3605 (discriminator 1)) [ 47.475759][ C0] Code: 89 c4 0f 84 70 fe ff ff 45 01 f7 48 01 dd 44 89 7c 24 0c e9 92 fa ff ff 90 0f 0b 90 e9 e2 fe ff ff 41 89 c4 e9 4f fe ff ff 90 <0f> 0b 48 c7 c7 c0 32 c3 92 89 44 24 40 48 89 74 24 38 e8 98 b2 91 All code ======== 0: 89 c4 mov %eax,%esp 2: 0f 84 70 fe ff ff je 0xfffffffffffffe78 8: 45 01 f7 add %r14d,%r15d b: 48 01 dd add %rbx,%rbp e: 44 89 7c 24 0c mov %r15d,0xc(%rsp) 13: e9 92 fa ff ff jmp 0xfffffffffffffaaa 18: 90 nop 19: 0f 0b ud2 1b: 90 nop 1c: e9 e2 fe ff ff jmp 0xffffffffffffff03 21: 41 89 c4 mov %eax,%r12d 24: e9 4f fe ff ff jmp 0xfffffffffffffe78 29: 90 nop 2a:* 0f 0b ud2 <-- trapping instruction 2c: 48 c7 c7 c0 32 c3 92 mov $0xffffffff92c332c0,%rdi 33: 89 44 24 40 mov %eax,0x40(%rsp) 37: 48 89 74 24 38 mov %rsi,0x38(%rsp) 3c: e8 .byte 0xe8 3d: 98 cwtl 3e: b2 91 mov $0x91,%dl Code starting with the faulting instruction =========================================== 0: 0f 0b ud2 2: 48 c7 c7 c0 32 c3 92 mov $0xffffffff92c332c0,%rdi 9: 89 44 24 40 mov %eax,0x40(%rsp) d: 48 89 74 24 38 mov %rsi,0x38(%rsp) 12: e8 .byte 0xe8 13: 98 cwtl 14: b2 91 mov $0x91,%dl [ 47.476297][ C0] RSP: 0018:ffffc900000074e0 EFLAGS: 00010202 [ 47.476483][ C0] RAX: 0000000000000020 RBX: 0000000000000000 RCX: 1ffff11000fc8ea9 [ 47.476705][ C0] RDX: dffffc0000000000 RSI: dffffc0000000000 RDI: ffff888007e47548 [ 47.476924][ C0] RBP: ffff888007e45ab8 R08: 0000000000000030 R09: 444028009a82e18a [ 47.477141][ C0] R10: 0200000000000000 R11: 444028009a82e18a R12: 00000000000090cd [ 47.477363][ C0] R13: 0000000000000030 R14: 0000000000000030 R15: 0000000000000030 [ 47.477583][ C0] FS: 00007fac83fc8740(0000) GS:ffff888036000000(0000) knlGS:0000000000000000 [ 47.477837][ C0] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 47.478022][ C0] CR2: 00005616e0098c80 CR3: 0000000002626003 CR4: 0000000000770ef0 [ 47.478243][ C0] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 47.478465][ C0] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 47.478683][ C0] PKRU: 55555554 [ 47.478796][ C0] Call Trace: [ 47.478905][ C0] [ 47.478981][ C0] ? die (arch/x86/kernel/dumpstack.c:421 arch/x86/kernel/dumpstack.c:434 arch/x86/kernel/dumpstack.c:447) [ 47.479094][ C0] ? do_trap (arch/x86/kernel/traps.c:113 arch/x86/kernel/traps.c:154) [ 47.479206][ C0] ? skb_copy_and_csum_bits (net/core/skbuff.c:3605 (discriminator 1)) [ 47.479352][ C0] ? do_error_trap (./arch/x86/include/asm/traps.h:58 arch/x86/kernel/traps.c:175) [ 47.479504][ C0] ? skb_copy_and_csum_bits (net/core/skbuff.c:3605 (discriminator 1)) [ 47.479649][ C0] ? skb_copy_and_csum_bits (net/core/skbuff.c:3605 (discriminator 1)) [ 47.479796][ C0] ? handle_invalid_op (arch/x86/kernel/traps.c:213) [ 47.479942][ C0] ? skb_copy_and_csum_bits (net/core/skbuff.c:3605 (discriminator 1)) [ 47.480089][ C0] ? exc_invalid_op (arch/x86/kernel/traps.c:265) [ 47.480236][ C0] ? asm_exc_invalid_op (./arch/x86/include/asm/idtentry.h:568) [ 47.480386][ C0] ? skb_copy_and_csum_bits (net/core/skbuff.c:3605 (discriminator 1)) [ 47.480532][ C0] ? __pfx_sock_alloc_send_pskb (net/core/sock.c:2768) [ 47.480685][ C0] icmpv6_getfrag (net/ipv6/icmp.c:324) [ 47.480837][ C0] __ip6_append_data.isra.0 (net/ipv6/ip6_output.c:1683) [ 47.480986][ C0] ? __pfx_icmpv6_getfrag (net/ipv6/icmp.c:317) [ 47.481134][ C0] ? ip6_mtu (./include/linux/rcupdate.h:308 ./include/linux/rcupdate.h:783 ./include/net/ip6_route.h:336 net/ipv6/route.c:3217) [ 47.481247][ C0] ? __pfx___ip6_append_data.isra.0 (net/ipv6/ip6_output.c:1403) [ 47.481430][ C0] ? ip6_mtu (net/ipv6/route.c:3218) [ 47.481541][ C0] ? ip6_setup_cork (./arch/x86/include/asm/bitops.h:206 ./arch/x86/include/asm/bitops.h:238 ./include/asm-generic/bitops/instrumented-non-atomic.h:142 ./include/net/sock.h:977 ./include/net/sock.h:2767 ./include/net/sock.h:2774 net/ipv6/ip6_output.c:1395) [ 47.481687][ C0] ? __pfx_icmpv6_getfrag (net/ipv6/icmp.c:317) [ 47.481836][ C0] ip6_append_data (net/ipv6/ip6_output.c:1838) [ 47.481985][ C0] icmp6_send (net/ipv6/icmp.c:616) [ 47.482133][ C0] ? __pfx_icmp6_send (net/ipv6/icmp.c:448) [ 47.482278][ C0] ? __pfx_fib_rules_lookup (net/core/fib_rules.c:293) [ 47.482425][ C0] ? l3mdev_update_flow (./include/linux/rcupdate.h:298 ./include/linux/rcupdate.h:750 net/l3mdev/l3mdev.c:275) [ 47.482575][ C0] ? fib6_rule_lookup (net/ipv6/fib6_rules.c:111) [ 47.482721][ C0] ? __pfx_fib6_rule_lookup (net/ipv6/fib6_rules.c:95) [ 47.482869][ C0] ? __pfx_ip6_pol_route_input (net/ipv6/route.c:2285) [ 47.483020][ C0] ? ip6_forward (net/ipv6/ip6_output.c:548) [ 47.483168][ C0] ip6_forward (net/ipv6/ip6_output.c:548) [ 47.483312][ C0] ? ip6_route_input (./include/linux/skbuff.h:1168 net/ipv6/route.c:2594) [ 47.483465][ C0] ? __pfx_ip6_forward (net/ipv6/ip6_output.c:494) [ 47.483611][ C0] ? udp_v6_early_demux (net/ipv6/udp.c:1067 net/ipv6/udp.c:1097) [ 47.483762][ C0] ? ipv6_rcv (./include/net/dst.h:460 ./include/net/dst.h:458 net/ipv6/ip6_input.c:79 ./include/linux/netfilter.h:314 ./include/linux/netfilter.h:308 net/ipv6/ip6_input.c:310) [ 47.483873][ C0] ipv6_rcv (./include/net/dst.h:460 ./include/net/dst.h:458 net/ipv6/ip6_input.c:79 ./include/linux/netfilter.h:314 ./include/linux/netfilter.h:308 net/ipv6/ip6_input.c:310) [ 47.483984][ C0] ? __pfx_ipv6_rcv (net/ipv6/ip6_input.c:304) [ 47.484132][ C0] ? lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756) [ 47.484282][ C0] ? process_backlog (./include/linux/rcupdate.h:298 ./include/linux/rcupdate.h:750 net/core/dev.c:6051) [ 47.484432][ C0] ? __pfx_ipv6_rcv (net/ipv6/ip6_input.c:304) [ 47.484576][ C0] __netif_receive_skb_one_core (net/core/dev.c:5603) [ 47.484758][ C0] ? __pfx___netif_receive_skb_one_core (net/core/dev.c:5603) [ 47.484939][ C0] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 47.485087][ C0] ? lock_acquire (./include/trace/events/lock.h:24 kernel/locking/lockdep.c:5725) [ 47.485231][ C0] ? process_backlog (./include/linux/rcupdate.h:298 ./include/linux/rcupdate.h:750 net/core/dev.c:6051) [ 47.485379][ C0] process_backlog (./include/linux/rcupdate.h:779 net/core/dev.c:6053) [ 47.485527][ C0] ? find_held_lock (kernel/locking/lockdep.c:5244) [ 47.485676][ C0] __napi_poll.constprop.0 (net/core/dev.c:6703) [ 47.485822][ C0] net_rx_action (net/core/dev.c:6772 net/core/dev.c:6886) [ 47.485969][ C0] ? __pfx_net_rx_action (net/core/dev.c:6850) [ 47.486114][ C0] ? kvm_clock_get_cycles (./arch/x86/include/asm/preempt.h:94 arch/x86/kernel/kvmclock.c:80 arch/x86/kernel/kvmclock.c:86) [ 47.486259][ C0] ? ktime_get (kernel/time/timekeeping.c:195 (discriminator 4) kernel/time/timekeeping.c:289 (discriminator 4) kernel/time/timekeeping.c:388 (discriminator 4) kernel/time/timekeeping.c:848 (discriminator 4)) [ 47.486371][ C0] ? hrtimer_interrupt (kernel/time/hrtimer.c:1828) [ 47.486518][ C0] ? hrtimer_interrupt (kernel/time/hrtimer.c:1828) [ 47.486666][ C0] __do_softirq (kernel/softirq.c:553) [ 47.486816][ C0] ? __neigh_event_send (./include/linux/bottom_half.h:33 net/core/neighbour.c:1245) [ 47.486964][ C0] do_softirq (kernel/softirq.c:454 kernel/softirq.c:441) [ 47.487076][ C0] [ 47.487151][ C0] [ 47.487225][ C0] __local_bh_enable_ip (kernel/softirq.c:381) [ 47.487371][ C0] __neigh_event_send (./arch/x86/include/asm/jump_label.h:27 ./include/linux/jump_label.h:207 ./include/trace/events/neigh.h:237 net/core/neighbour.c:1246) [ 47.487516][ C0] ? do_raw_write_lock (kernel/locking/spinlock_debug.c:186 kernel/locking/spinlock_debug.c:210) [ 47.487664][ C0] ? __pfx_do_raw_write_lock (kernel/locking/spinlock_debug.c:209) [ 47.487815][ C0] neigh_resolve_output (net/core/neighbour.c:1547) [ 47.487960][ C0] ? __local_bh_enable_ip (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:77 kernel/softirq.c:386) [ 47.488107][ C0] ? ___neigh_create (net/core/neighbour.c:722 (discriminator 9)) [ 47.488256][ C0] ip6_finish_output2 (./include/net/neighbour.h:542 net/ipv6/ip6_output.c:137) [ 47.488404][ C0] ip6_finish_output (net/ipv6/ip6_output.c:211 net/ipv6/ip6_output.c:222) [ 47.488552][ C0] ip6_output (./include/linux/netfilter.h:303 net/ipv6/ip6_output.c:243) [ 47.488662][ C0] ? __pfx_ip6_output (net/ipv6/ip6_output.c:230) [ 47.488811][ C0] ? vrf_l3_out (drivers/net/vrf.c:1035) vrf [ 47.488976][ C0] ? ip6_local_out (net/ipv6/output_core.c:154) [ 47.489126][ C0] ip6_send_skb (net/ipv6/ip6_output.c:1959) [ 47.489274][ C0] udp_v6_send_skb (net/ipv6/udp.c:1285) [ 47.489422][ C0] udpv6_sendmsg (net/ipv6/udp.c:1580) [ 47.489571][ C0] ? do_ipv6_setsockopt (./arch/x86/include/asm/bitops.h:55 ./include/asm-generic/bitops/instrumented-atomic.h:29 ./include/linux/bitops.h:279 net/ipv6/ipv6_sockglue.c:487) [ 47.489717][ C0] ? __pfx_ip_generic_getfrag (net/ipv4/ip_output.c:935) [ 47.489865][ C0] ? __pfx_udpv6_sendmsg (net/ipv6/udp.c:1321) [ 47.490010][ C0] ? hlock_class (./arch/x86/include/asm/bitops.h:227 ./arch/x86/include/asm/bitops.h:239 ./include/asm-generic/bitops/instrumented-non-atomic.h:142 kernel/locking/lockdep.c:228) [ 47.490160][ C0] ? __pfx_validate_chain (kernel/locking/lockdep.c:3825) [ 47.490305][ C0] ? hlock_class (./arch/x86/include/asm/bitops.h:227 ./arch/x86/include/asm/bitops.h:239 ./include/asm-generic/bitops/instrumented-non-atomic.h:142 kernel/locking/lockdep.c:228) [ 47.490452][ C0] ? __lock_acquire (kernel/locking/lockdep.c:5137) [ 47.490604][ C0] ? __fget_light (./include/linux/atomic/atomic-arch-fallback.h:479 ./include/linux/atomic/atomic-instrumented.h:50 fs/file.c:1145) [ 47.490753][ C0] ? __sys_sendto (net/socket.c:730 net/socket.c:745 net/socket.c:2191) [ 47.490900][ C0] __sys_sendto (net/socket.c:730 net/socket.c:745 net/socket.c:2191) [ 47.491047][ C0] ? __pfx___sys_sendto (net/socket.c:2161) [ 47.491193][ C0] ? __pfx_do_sock_setsockopt (net/socket.c:2280) [ 47.491339][ C0] ? ip6_dst_check.part.0 (net/ipv6/route.c:2770) [ 47.491489][ C0] ? ip6_datagram_connect (net/ipv6/datagram.c:282) [ 47.491636][ C0] ? __sys_setsockopt (./include/linux/file.h:32 net/socket.c:2336) [ 47.491782][ C0] ? __pfx___sys_setsockopt (net/socket.c:2324) [ 47.491927][ C0] ? __pfx___up_read (kernel/locking/rwsem.c:1339) [ 47.492076][ C0] __x64_sys_sendto (net/socket.c:2199) [ 47.492222][ C0] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4300 kernel/locking/lockdep.c:4359) [ 47.492403][ C0] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 47.492550][ C0] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) [ 47.492738][ C0] RIP: 0033:0x7fac8411a700 [ 47.492889][ C0] Code: ff ff 64 89 02 eb bd 0f 1f 00 f3 0f 1e fa 41 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 1d 45 31 c9 45 31 c0 b8 2c 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 68 c3 0f 1f 80 00 00 00 00 41 54 48 83 ec 20 All code ======== 0: ff (bad) 1: ff 64 89 02 jmp *0x2(%rcx,%rcx,4) 5: eb bd jmp 0xffffffffffffffc4 7: 0f 1f 00 nopl (%rax) a: f3 0f 1e fa endbr64 e: 41 89 ca mov %ecx,%r10d 11: 64 8b 04 25 18 00 00 mov %fs:0x18,%eax 18: 00 19: 85 c0 test %eax,%eax 1b: 75 1d jne 0x3a 1d: 45 31 c9 xor %r9d,%r9d 20: 45 31 c0 xor %r8d,%r8d 23: b8 2c 00 00 00 mov $0x2c,%eax 28: 0f 05 syscall 2a:* 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax <-- trapping instruction 30: 77 68 ja 0x9a 32: c3 ret 33: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 3a: 41 54 push %r12 3c: 48 83 ec 20 sub $0x20,%rsp Code starting with the faulting instruction =========================================== 0: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax 6: 77 68 ja 0x70 8: c3 ret 9: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 10: 41 54 push %r12 12: 48 83 ec 20 sub $0x20,%rsp [ 47.493410][ C0] RSP: 002b:00007ffce6a9afa8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c [ 47.493646][ C0] RAX: ffffffffffffffda RBX: 00005616e1d323e0 RCX: 00007fac8411a700 [ 47.493870][ C0] RDX: 0000000000000020 RSI: 00005616e1d345b0 RDI: 0000000000000005 [ 47.494087][ C0] RBP: 0000000000000005 R08: 0000000000000000 R09: 0000000000000000 [ 47.494303][ C0] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 Finger prints: skb_copy_and_csum_bits:icmpv6_getfrag:ip6_append_data:icmp6_send