====================================== | | [ 38.450201][ C2] ------------[ cut here ]------------ | [ 38.450511][ C2] kernel BUG at net/core/skbuff.c:3505! | [ 38.450718][ C2] invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI [ 38.451155][ C2] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 38.451503][ C2] RIP: 0010:__skb_checksum (net/core/skbuff.c:3505 (discriminator 1)) [ 38.451673][ C2] Code: 44 89 14 24 ff d0 0f 1f 00 4c 8b 44 24 08 44 8b 14 24 41 89 c1 eb a5 89 e8 e9 2d fe ff ff 41 ff d5 0f 1f 00 e9 1f fa ff ff 90 <0f> 0b 48 8b 7c 24 10 89 54 24 48 48 89 44 24 40 e8 e7 53 8d fe 8b All code ======== 0: 44 89 14 24 mov %r10d,(%rsp) 4: ff d0 call *%rax 6: 0f 1f 00 nopl (%rax) 9: 4c 8b 44 24 08 mov 0x8(%rsp),%r8 e: 44 8b 14 24 mov (%rsp),%r10d 12: 41 89 c1 mov %eax,%r9d 15: eb a5 jmp 0xffffffffffffffbc 17: 89 e8 mov %ebp,%eax 19: e9 2d fe ff ff jmp 0xfffffffffffffe4b 1e: 41 ff d5 call *%r13 21: 0f 1f 00 nopl (%rax) 24: e9 1f fa ff ff jmp 0xfffffffffffffa48 29: 90 nop 2a:* 0f 0b ud2 <-- trapping instruction 2c: 48 8b 7c 24 10 mov 0x10(%rsp),%rdi 31: 89 54 24 48 mov %edx,0x48(%rsp) 35: 48 89 44 24 40 mov %rax,0x40(%rsp) 3a: e8 e7 53 8d fe call 0xfffffffffe8d5426 3f: 8b .byte 0x8b Code starting with the faulting instruction =========================================== 0: 0f 0b ud2 2: 48 8b 7c 24 10 mov 0x10(%rsp),%rdi 7: 89 54 24 48 mov %edx,0x48(%rsp) b: 48 89 44 24 40 mov %rax,0x40(%rsp) 10: e8 e7 53 8d fe call 0xfffffffffe8d53fc 15: 8b .byte 0x8b [ 38.452221][ C2] RSP: 0018:ffffc90000220898 EFLAGS: 00010202 [ 38.452418][ C2] RAX: 000000000000955c RBX: 0000000000000008 RCX: 1ffff11004577dd9 [ 38.452649][ C2] RDX: 00000000000004d0 RSI: dffffc0000000000 RDI: ffff888022bbeec8 [ 38.452881][ C2] RBP: 000000000000955c R08: 0000000000000008 R09: ffffed100099cea9 [ 38.453113][ C2] R10: ffff8880229295c8 R11: ffff888022bbe800 R12: 0000000000000008 [ 38.453345][ C2] R13: 0000000000000000 R14: ffffc90000220958 R15: ffff8880229295c8 [ 38.453575][ C2] FS: 00007fea778b9740(0000) GS:ffff888036100000(0000) knlGS:0000000000000000 [ 38.453846][ C2] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 38.454041][ C2] CR2: 0000000000408000 CR3: 00000000060e6002 CR4: 0000000000770ef0 [ 38.454275][ C2] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 38.454509][ C2] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 38.454750][ C2] PKRU: 55555554 [ 38.454866][ C2] Call Trace: [ 38.454984][ C2] [ 38.455064][ C2] ? die (arch/x86/kernel/dumpstack.c:421 arch/x86/kernel/dumpstack.c:434 arch/x86/kernel/dumpstack.c:447) [ 38.455184][ C2] ? do_trap (arch/x86/kernel/traps.c:113 arch/x86/kernel/traps.c:154) [ 38.455303][ C2] ? __skb_checksum (net/core/skbuff.c:3505 (discriminator 1)) [ 38.455461][ C2] ? do_error_trap (./arch/x86/include/asm/traps.h:58 arch/x86/kernel/traps.c:175) [ 38.455616][ C2] ? __skb_checksum (net/core/skbuff.c:3505 (discriminator 1)) [ 38.455769][ C2] ? __skb_checksum (net/core/skbuff.c:3505 (discriminator 1)) [ 38.455924][ C2] ? handle_invalid_op (arch/x86/kernel/traps.c:213) [ 38.456079][ C2] ? __skb_checksum (net/core/skbuff.c:3505 (discriminator 1)) [ 38.456233][ C2] ? exc_invalid_op (arch/x86/kernel/traps.c:265) [ 38.456392][ C2] ? asm_exc_invalid_op (./arch/x86/include/asm/idtentry.h:568) [ 38.456551][ C2] ? __skb_checksum (net/core/skbuff.c:3505 (discriminator 1)) [ 38.456706][ C2] ? __skb_checksum (net/core/skbuff.c:3441 (discriminator 4)) [ 38.456859][ C2] ? __pfx___lock_release (kernel/locking/lockdep.c:5406) [ 38.457015][ C2] ? 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) [ 38.457171][ C2] __skb_checksum_complete (net/core/skbuff.c:3643) [ 38.457329][ C2] ? __pfx___skb_checksum_complete (net/core/skbuff.c:3637) [ 38.457521][ C2] ? __pfx_csum_partial_ext (./include/net/checksum.h:120) [ 38.457674][ C2] ? __pfx_csum_block_add_ext (./include/net/checksum.h:103) [ 38.457828][ C2] ? ipv6_raw_deliver (net/ipv6/raw.c:142) [ 38.457988][ C2] icmpv6_rcv (./include/linux/skbuff.h:4567 net/ipv6/icmp.c:921) [ 38.458144][ C2] ip6_protocol_deliver_rcu (net/ipv6/ip6_input.c:438 (discriminator 5)) [ 38.458302][ C2] ip6_input_finish (./include/linux/rcupdate.h:779 net/ipv6/ip6_input.c:484) [ 38.458460][ C2] ip6_input (./include/linux/netfilter.h:314 ./include/linux/netfilter.h:308 net/ipv6/ip6_input.c:492) [ 38.458577][ C2] ? __pfx_ip6_input (net/ipv6/ip6_input.c:491) [ 38.458733][ C2] ? ip6_rcv_core (./include/linux/rcupdate.h:308 ./include/linux/rcupdate.h:783 net/ipv6/ip6_input.c:287) [ 38.458887][ C2] ? ip6_rcv_core (./include/net/sock.h:2827 net/ipv6/ip6_input.c:290) [ 38.459046][ C2] 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) [ 38.459163][ C2] ? __pfx_ipv6_rcv (net/ipv6/ip6_input.c:304) [ 38.459320][ C2] ? lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756) [ 38.459473][ C2] ? process_backlog (./include/linux/rcupdate.h:298 ./include/linux/rcupdate.h:750 net/core/dev.c:6051) [ 38.459629][ C2] ? __pfx_ipv6_rcv (net/ipv6/ip6_input.c:304) [ 38.459784][ C2] __netif_receive_skb_one_core (net/core/dev.c:5603) [ 38.459978][ C2] ? __pfx___netif_receive_skb_one_core (net/core/dev.c:5603) [ 38.460169][ C2] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 38.460329][ C2] ? lock_acquire (./include/trace/events/lock.h:24 kernel/locking/lockdep.c:5725) [ 38.460483][ C2] ? process_backlog (./include/linux/rcupdate.h:298 ./include/linux/rcupdate.h:750 net/core/dev.c:6051) [ 38.460641][ C2] process_backlog (./include/linux/rcupdate.h:779 net/core/dev.c:6053) [ 38.460796][ C2] ? find_held_lock (kernel/locking/lockdep.c:5244) [ 38.460950][ C2] __napi_poll.constprop.0 (net/core/dev.c:6703) [ 38.461105][ C2] net_rx_action (net/core/dev.c:6772 net/core/dev.c:6886) [ 38.461262][ C2] ? __pfx_net_rx_action (net/core/dev.c:6850) [ 38.461418][ C2] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4292 kernel/locking/lockdep.c:4359) [ 38.461615][ C2] __do_softirq (kernel/softirq.c:553) [ 38.461772][ C2] ? __dev_queue_xmit (./include/linux/rcupdate.h:308 ./include/linux/rcupdate.h:818 net/core/dev.c:4399) [ 38.461926][ C2] do_softirq (kernel/softirq.c:454 kernel/softirq.c:441) [ 38.462046][ C2] [ 38.462125][ C2] [ 38.462203][ C2] __local_bh_enable_ip (kernel/softirq.c:381) [ 38.462357][ C2] ? __dev_queue_xmit (./include/linux/rcupdate.h:308 ./include/linux/rcupdate.h:818 net/core/dev.c:4399) [ 38.462509][ C2] __dev_queue_xmit (net/core/dev.c:4400) [ 38.462665][ C2] ? lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756) [ 38.462821][ C2] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4300 kernel/locking/lockdep.c:4359) [ 38.463009][ C2] ? __pfx___dev_queue_xmit (net/core/dev.c:4281) [ 38.463163][ C2] ? neigh_hh_output (./include/linux/seqlock.h:74 ./include/linux/seqlock.h:772 ./include/net/neighbour.h:496) [ 38.463320][ C2] ip6_finish_output2 (./include/net/neighbour.h:540 net/ipv6/ip6_output.c:137) [ 38.463476][ C2] ip6_finish_output (net/ipv6/ip6_output.c:211 net/ipv6/ip6_output.c:222) [ 38.463629][ C2] ? 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) [ 38.463783][ C2] ip6_output (./include/linux/netfilter.h:303 net/ipv6/ip6_output.c:243) [ 38.463901][ C2] ? __pfx_ip6_output (net/ipv6/ip6_output.c:230) [ 38.464062][ C2] NF_HOOK.constprop.0 (./include/linux/rcupdate.h:298 ./include/linux/rcupdate.h:750 ./include/linux/netfilter.h:238 ./include/linux/netfilter.h:312) [ 38.464217][ C2] ? __pfx_NF_HOOK.constprop.0 (./include/linux/netfilter.h:308) [ 38.464371][ C2] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 38.464532][ C2] ? lock_acquire (./include/trace/events/lock.h:24 kernel/locking/lockdep.c:5725) [ 38.464687][ C2] ? rawv6_send_hdrinc (./include/linux/rcupdate.h:298 ./include/linux/rcupdate.h:750 net/ipv6/raw.c:652) [ 38.464843][ C2] rawv6_send_hdrinc (net/ipv6/raw.c:656 (discriminator 60)) [ 38.465000][ C2] ? __pfx_rawv6_send_hdrinc (net/ipv6/raw.c:589) [ 38.465154][ C2] ? ip6_dst_hoplimit.part.0.isra.0 (./include/linux/rcupdate.h:308 ./include/linux/rcupdate.h:783 net/ipv6/output_core.c:117) [ 38.465353][ C2] rawv6_sendmsg (net/ipv6/raw.c:907) [ 38.465509][ C2] ? __pfx_validate_chain (kernel/locking/lockdep.c:3825) [ 38.465664][ C2] ? __pfx_rawv6_sendmsg (net/ipv6/raw.c:734) [ 38.465816][ C2] ? __lock_acquire (kernel/locking/lockdep.c:5137) [ 38.465974][ C2] ? find_held_lock (kernel/locking/lockdep.c:5244) [ 38.466129][ C2] ? __lock_release (kernel/locking/lockdep.c:5430) [ 38.466281][ C2] ? __might_fault (mm/memory.c:6080 mm/memory.c:6073) [ 38.466437][ C2] ? lock_acquire (./include/trace/events/lock.h:24 kernel/locking/lockdep.c:5725) [ 38.466594][ C2] ? __might_fault (mm/memory.c:6080 mm/memory.c:6073) [ 38.466747][ C2] ? __might_fault (mm/memory.c:6080 mm/memory.c:6073) [ 38.466902][ C2] ? __sys_sendto (net/socket.c:730 net/socket.c:745 net/socket.c:2191) [ 38.467056][ C2] __sys_sendto (net/socket.c:730 net/socket.c:745 net/socket.c:2191) [ 38.467212][ C2] ? __pfx___sys_sendto (net/socket.c:2161) [ 38.467369][ C2] ? __pfx_do_sock_setsockopt (net/socket.c:2280) [ 38.467523][ C2] ? __pfx_inet6_bind_sk (net/ipv6/af_inet6.c:443) [ 38.467682][ C2] ? __pfx___sys_setsockopt (net/socket.c:2324) [ 38.467839][ C2] ? __sys_socket (net/socket.c:497 net/socket.c:1715) [ 38.467997][ C2] ? __pfx___sys_socket (net/socket.c:1702) [ 38.468151][ C2] ? do_user_addr_fault (./include/linux/rcupdate.h:308 ./include/linux/rcupdate.h:783 ./include/linux/mm.h:688 arch/x86/mm/fault.c:1357) [ 38.468308][ C2] __x64_sys_sendto (net/socket.c:2199) [ 38.468462][ C2] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4300 kernel/locking/lockdep.c:4359) [ 38.468654][ C2] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 38.468808][ C2] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) [ 38.469001][ C2] RIP: 0033:0x7fea77a0b85a [ 38.469167][ C2] Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb b8 0f 1f 00 f3 0f 1e fa 41 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 15 b8 2c 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 7e c3 0f 1f 44 00 00 41 54 48 83 ec 30 44 89 All code ======== 0: d8 64 89 02 fsubs 0x2(%rcx,%rcx,4) 4: 48 c7 c0 ff ff ff ff mov $0xffffffffffffffff,%rax b: eb b8 jmp 0xffffffffffffffc5 d: 0f 1f 00 nopl (%rax) 10: f3 0f 1e fa endbr64 14: 41 89 ca mov %ecx,%r10d 17: 64 8b 04 25 18 00 00 mov %fs:0x18,%eax 1e: 00 1f: 85 c0 test %eax,%eax 21: 75 15 jne 0x38 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 7e ja 0xb0 32: c3 ret 33: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 38: 41 54 push %r12 3a: 48 83 ec 30 sub $0x30,%rsp 3e: 44 rex.R 3f: 89 .byte 0x89 Code starting with the faulting instruction =========================================== 0: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax 6: 77 7e ja 0x86 8: c3 ret 9: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) e: 41 54 push %r12 10: 48 83 ec 30 sub $0x30,%rsp 14: 44 rex.R 15: 89 .byte 0x89 [ 38.469714][ C2] RSP: 002b:00007ffc09130ea8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c [ 38.469954][ C2] RAX: ffffffffffffffda RBX: 00007ffc09130f90 RCX: 00007fea77a0b85a [ 38.470186][ C2] RDX: 000000000000053c RSI: 00000000004077e0 RDI: 0000000000000005 [ 38.470417][ C2] RBP: 0000000000000005 R08: 00007ffc09130f90 R09: 000000000000001c [ 38.470648][ C2] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000000001c Finger prints: __skb_checksum:__skb_checksum_complete:icmpv6_rcv:ip6_protocol_deliver_rcu