======================================
|
| [ 40.685170][ C0] ------------[ cut here ]------------
| [ 40.685554][ C0] kernel BUG at net/core/skbuff.c:3605!
| [ 40.685881][ C0] invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI
[ 40.686617][ C0] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 40.687208][ C0] RIP: 0010:skb_copy_and_csum_bits (net/core/skbuff.c:3605 (discriminator 1))
[ 40.687555][ 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 d2 69 9b 89 44 24 40 48 89 74 24 38 e8 68 60 8d
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 d2 69 9b mov $0xffffffff9b69d2c0,%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: 68 .byte 0x68
3e: 60 (bad)
3f: 8d .byte 0x8d
Code starting with the faulting instruction
===========================================
0: 0f 0b ud2
2: 48 c7 c7 c0 d2 69 9b mov $0xffffffff9b69d2c0,%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: 68 .byte 0x68
14: 60 (bad)
15: 8d .byte 0x8d
[ 40.688486][ C0] RSP: 0018:ffffc900000073f0 EFLAGS: 00010202
[ 40.688825][ C0] RAX: 0000000000000001 RBX: 0000000000000000 RCX: 1ffff11006081231
[ 40.689219][ C0] RDX: dffffc0000000000 RSI: dffffc0000000000 RDI: ffff888030409188
[ 40.689613][ C0] RBP: ffff88803040ae38 R08: 0000000000000030 R09: 000000000000fd00
[ 40.690003][ C0] R10: 40110900da880a60 R11: 000000000000fd00 R12: 00000000000031bc
[ 40.690399][ C0] R13: 0000000000000008 R14: 0000000000000030 R15: 0000000000000008
[ 40.690787][ C0] FS: 00007f59bebe0740(0000) GS:ffff888036000000(0000) knlGS:0000000000000000
[ 40.691253][ C0] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 40.691586][ C0] CR2: 00007ffda1e50000 CR3: 00000000081dc002 CR4: 0000000000770ef0
[ 40.691977][ C0] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 40.692370][ C0] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 40.692772][ C0] PKRU: 55555554
[ 40.692972][ C0] Call Trace:
[ 40.693171][ C0]
[ 40.693310][ C0] ? die (arch/x86/kernel/dumpstack.c:421 arch/x86/kernel/dumpstack.c:434 arch/x86/kernel/dumpstack.c:447)
[ 40.693518][ C0] ? do_trap (arch/x86/kernel/traps.c:113 arch/x86/kernel/traps.c:154)
[ 40.693718][ C0] ? skb_copy_and_csum_bits (net/core/skbuff.c:3605 (discriminator 1))
[ 40.693983][ C0] ? do_error_trap (./arch/x86/include/asm/traps.h:58 arch/x86/kernel/traps.c:175)
[ 40.694244][ C0] ? skb_copy_and_csum_bits (net/core/skbuff.c:3605 (discriminator 1))
[ 40.694504][ C0] ? skb_copy_and_csum_bits (net/core/skbuff.c:3605 (discriminator 1))
[ 40.694770][ C0] ? handle_invalid_op (arch/x86/kernel/traps.c:213)
[ 40.695032][ C0] ? skb_copy_and_csum_bits (net/core/skbuff.c:3605 (discriminator 1))
[ 40.695310][ C0] ? exc_invalid_op (arch/x86/kernel/traps.c:265)
[ 40.695577][ C0] ? asm_exc_invalid_op (./arch/x86/include/asm/idtentry.h:568)
[ 40.695846][ C0] ? skb_copy_and_csum_bits (net/core/skbuff.c:3605 (discriminator 1))
[ 40.696111][ C0] ? __pfx_sock_alloc_send_pskb (net/core/sock.c:2768)
[ 40.696378][ C0] icmpv6_getfrag (net/ipv6/icmp.c:324)
[ 40.696652][ C0] __ip6_append_data.isra.0 (net/ipv6/ip6_output.c:1683)
[ 40.696920][ C0] ? __pfx_icmpv6_getfrag (net/ipv6/icmp.c:317)
[ 40.697192][ C0] ? ip6_dst_mtu_maybe_forward.constprop.0 (./include/net/ip6_route.h:335)
[ 40.697522][ C0] ? __pfx___ip6_append_data.isra.0 (net/ipv6/ip6_output.c:1403)
[ 40.697851][ C0] ? ip6_dst_mtu_maybe_forward.constprop.0 (./include/net/ip6_route.h:335)
[ 40.698176][ 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)
[ 40.698442][ C0] ? __pfx_icmpv6_getfrag (net/ipv6/icmp.c:317)
[ 40.698700][ C0] ip6_append_data (net/ipv6/ip6_output.c:1838)
[ 40.698975][ C0] icmp6_send (net/ipv6/icmp.c:616)
[ 40.699246][ C0] ? __pfx_icmp6_send (net/ipv6/icmp.c:448)
[ 40.699644][ C0] ? __lock_acquire (kernel/locking/lockdep.c:5137)
[ 40.699888][ C0] ? find_held_lock (kernel/locking/lockdep.c:5244)
[ 40.700157][ C0] ? __udp6_lib_lookup (net/ipv6/udp.c:254)
[ 40.700538][ C0] ? __udp6_lib_rcv (net/ipv6/udp.c:1028 (discriminator 118))
[ 40.700799][ C0] __udp6_lib_rcv (net/ipv6/udp.c:1028 (discriminator 118))
[ 40.701059][ C0] ? __pfx___udp6_lib_rcv (net/ipv6/udp.c:931)
[ 40.701469][ C0] ? lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756)
[ 40.701705][ C0] ip6_protocol_deliver_rcu (net/ipv6/ip6_input.c:440 (discriminator 4))
[ 40.701979][ C0] ? ip6_route_input (./include/linux/skbuff.h:1168 net/ipv6/route.c:2594)
[ 40.702362][ C0] ip6_input_finish (./include/linux/rcupdate.h:779 net/ipv6/ip6_input.c:484)
[ 40.702630][ C0] ip6_input (./include/linux/netfilter.h:314 ./include/linux/netfilter.h:308 net/ipv6/ip6_input.c:492)
[ 40.702829][ C0] ? __pfx_ip6_input (net/ipv6/ip6_input.c:491)
[ 40.703096][ C0] ipv6_rcv (./include/net/dst.h:460 net/ipv6/ip6_input.c:79 ./include/linux/netfilter.h:314 ./include/linux/netfilter.h:308 net/ipv6/ip6_input.c:310)
[ 40.703313][ C0] ? __pfx_ipv6_rcv (net/ipv6/ip6_input.c:304)
[ 40.703581][ C0] ? lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756)
[ 40.704009][ C0] ? process_backlog (./include/linux/rcupdate.h:298 ./include/linux/rcupdate.h:750 net/core/dev.c:6051)
[ 40.704210][ C0] ? __pfx_ipv6_rcv (net/ipv6/ip6_input.c:304)
[ 40.704468][ C0] __netif_receive_skb_one_core (net/core/dev.c:5603)
[ 40.704800][ C0] ? __pfx___netif_receive_skb_one_core (net/core/dev.c:5603)
[ 40.705250][ C0] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114)
[ 40.705516][ C0] ? lock_acquire (./include/trace/events/lock.h:24 kernel/locking/lockdep.c:5725)
[ 40.705771][ C0] ? process_backlog (./include/linux/rcupdate.h:298 ./include/linux/rcupdate.h:750 net/core/dev.c:6051)
[ 40.706035][ C0] process_backlog (./include/linux/rcupdate.h:779 net/core/dev.c:6053)
[ 40.706419][ C0] ? find_held_lock (kernel/locking/lockdep.c:5244)
[ 40.706669][ C0] __napi_poll.constprop.0 (net/core/dev.c:6703)
[ 40.706932][ C0] net_rx_action (net/core/dev.c:6772 net/core/dev.c:6886)
[ 40.707198][ C0] ? __pfx_net_rx_action (net/core/dev.c:6850)
[ 40.707458][ C0] ? kvm_clock_get_cycles (./arch/x86/include/asm/preempt.h:94 arch/x86/kernel/kvmclock.c:80 arch/x86/kernel/kvmclock.c:86)
[ 40.707835][ 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))
[ 40.708038][ C0] ? hrtimer_interrupt (kernel/time/hrtimer.c:1828)
[ 40.708299][ C0] ? hrtimer_interrupt (kernel/time/hrtimer.c:1828)
[ 40.708561][ C0] __do_softirq (kernel/softirq.c:553)
[ 40.708824][ C0] ? __neigh_event_send (./include/linux/bottom_half.h:33 net/core/neighbour.c:1245)
[ 40.709085][ C0] do_softirq (kernel/softirq.c:454 kernel/softirq.c:441)
[ 40.709284][ C0]
[ 40.709416][ C0]
[ 40.709547][ C0] __local_bh_enable_ip (kernel/softirq.c:381)
[ 40.709805][ 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)
[ 40.710064][ C0] ? do_raw_write_lock (kernel/locking/spinlock_debug.c:187 kernel/locking/spinlock_debug.c:210)
[ 40.710326][ C0] ? __pfx_do_raw_write_lock (kernel/locking/spinlock_debug.c:209)
[ 40.710591][ C0] neigh_resolve_output (net/core/neighbour.c:1547)
[ 40.710854][ C0] ? __local_bh_enable_ip (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:77 kernel/softirq.c:386)
[ 40.711250][ C0] ? ___neigh_create (net/core/neighbour.c:722 (discriminator 9))
[ 40.711485][ C0] ip6_finish_output2 (./include/net/neighbour.h:542 net/ipv6/ip6_output.c:137)
[ 40.711747][ C0] ip6_finish_output (net/ipv6/ip6_output.c:211 net/ipv6/ip6_output.c:222)
[ 40.712010][ C0] ip6_output (./include/linux/netfilter.h:303 net/ipv6/ip6_output.c:243)
[ 40.712208][ C0] ? __pfx_ip6_output (net/ipv6/ip6_output.c:230)
[ 40.712470][ C0] ? __pfx_ip_generic_getfrag (net/ipv4/ip_output.c:935)
[ 40.712733][ C0] ? ip6_local_out (net/ipv6/output_core.c:154)
[ 40.713125][ C0] ip6_send_skb (net/ipv6/ip6_output.c:1959)
[ 40.713390][ C0] udp_v6_send_skb (net/ipv6/udp.c:1285)
[ 40.713842][ C0] udpv6_sendmsg (net/ipv6/udp.c:1580)
[ 40.714104][ 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)
[ 40.714366][ C0] ? __pfx_ip_generic_getfrag (net/ipv4/ip_output.c:935)
[ 40.714627][ C0] ? __pfx_udpv6_sendmsg (net/ipv6/udp.c:1321)
[ 40.715027][ C0] ? lock_acquire (./include/trace/events/lock.h:24 kernel/locking/lockdep.c:5725)
[ 40.715260][ C0] ? __might_fault (mm/memory.c:6080 mm/memory.c:6073)
[ 40.715529][ C0] ? __might_fault (mm/memory.c:6080 mm/memory.c:6073)
[ 40.715900][ C0] ? __pfx_inet6_sendmsg (net/ipv6/af_inet6.c:651)
[ 40.716310][ C0] ? ____sys_sendmsg (net/socket.c:730 net/socket.c:745 net/socket.c:2584)
[ 40.716524][ C0] ____sys_sendmsg (net/socket.c:730 net/socket.c:745 net/socket.c:2584)
[ 40.716792][ C0] ? __pfx_____sys_sendmsg (net/socket.c:2530)
[ 40.717054][ C0] ? __pfx_copy_msghdr_from_user (net/socket.c:2510)
[ 40.717502][ C0] ? lookup_memtype (arch/x86/mm/pat/memtype.c:680)
[ 40.717955][ C0] ___sys_sendmsg (net/socket.c:2640)
[ 40.718217][ C0] ? __pte_offset_map (./include/linux/rcupdate.h:751 mm/pgtable-generic.c:285)
[ 40.718482][ C0] ? __pfx____sys_sendmsg (net/socket.c:2627)
[ 40.718932][ C0] ? vvar_fault (arch/x86/entry/vdso/vma.c:186)
[ 40.719136][ C0] ? __do_fault (mm/memory.c:4396)
[ 40.719390][ C0] ? do_pte_missing (mm/memory.c:4758 mm/memory.c:4888 mm/memory.c:3745)
[ 40.719654][ C0] ? __pfx___handle_mm_fault (mm/memory.c:5216)
[ 40.719917][ C0] ? __fget_light (./include/linux/atomic/atomic-arch-fallback.h:479 ./include/linux/atomic/atomic-instrumented.h:50 fs/file.c:1145)
[ 40.720186][ C0] __sys_sendmsg (./include/linux/file.h:32 net/socket.c:2669)
[ 40.720444][ C0] ? __pfx___sys_sendmsg (net/socket.c:2655)
[ 40.720701][ C0] ? __up_read (./arch/x86/include/asm/atomic64_64.h:79 ./include/linux/atomic/atomic-arch-fallback.h:2735 ./include/linux/atomic/atomic-long.h:184 ./include/linux/atomic/atomic-instrumented.h:3289 kernel/locking/rwsem.c:1347)
[ 40.720960][ C0] ? __pfx_find_vma (mm/mmap.c:1883)
[ 40.721341][ C0] ? do_user_addr_fault (arch/x86/mm/fault.c:1436)
[ 40.721603][ C0] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83)
[ 40.721862][ C0] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129)
[ 40.722186][ C0] RIP: 0033:0x7f59bed327b7
[ 40.722696][ C0] Code: 0a 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b9 0f 1f 00 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 2e 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 51 c3 48 83 ec 28 89 54 24 1c 48 89 74 24 10
All code
========
0: 0a 00 or (%rax),%al
2: f7 d8 neg %eax
4: 64 89 02 mov %eax,%fs:(%rdx)
7: 48 c7 c0 ff ff ff ff mov $0xffffffffffffffff,%rax
e: eb b9 jmp 0xffffffffffffffc9
10: 0f 1f 00 nopl (%rax)
13: f3 0f 1e fa endbr64
17: 64 8b 04 25 18 00 00 mov %fs:0x18,%eax
1e: 00
1f: 85 c0 test %eax,%eax
21: 75 10 jne 0x33
23: b8 2e 00 00 00 mov $0x2e,%eax
28: 0f 05 syscall
2a:* 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax <-- trapping instruction
30: 77 51 ja 0x83
32: c3 ret
33: 48 83 ec 28 sub $0x28,%rsp
37: 89 54 24 1c mov %edx,0x1c(%rsp)
3b: 48 89 74 24 10 mov %rsi,0x10(%rsp)
Code starting with the faulting instruction
===========================================
0: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax
6: 77 51 ja 0x59
8: c3 ret
9: 48 83 ec 28 sub $0x28,%rsp
d: 89 54 24 1c mov %edx,0x1c(%rsp)
11: 48 89 74 24 10 mov %rsi,0x10(%rsp)
[ 40.723584][ C0] RSP: 002b:00007ffda1e3b528 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
[ 40.724094][ C0] RAX: ffffffffffffffda RBX: 0000003d00000001 RCX: 00007f59bed327b7
[ 40.724482][ C0] RDX: 0000000000000000 RSI: 00007ffda1e3b5e0 RDI: 0000000000000005
[ 40.724872][ C0] RBP: 0000000000000005 R08: 000000000001320a R09: 00007ffda1e4f080
[ 40.725266][ C0] R10: 00007f59bebeb708 R11: 0000000000000246 R12: 00007ffda1e3b560
Finger prints:
skb_copy_and_csum_bits:icmpv6_getfrag:ip6_append_data:icmp6_send