====================================== | | [ 398.720747][ C0] ------------[ cut here ]------------ | [ 398.721041][ C0] kernel BUG at net/core/skbuff.c:2813! | [ 398.721223][ C0] invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI [ 398.721677][ C0] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 398.722035][ C0] Workqueue: events mptcp_worker [ 398.722210][ C0] RIP: 0010:__pskb_pull_tail (net/core/skbuff.c:2813 (discriminator 1)) [ 398.722437][ C0] Code: e9 52 f7 ff ff 48 8b 7c 24 38 be 02 00 00 00 e8 8e 9c ff ff 48 83 c4 58 31 c0 5b 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc 90 <0f> 0b 48 c7 44 24 38 00 00 00 00 e9 dc fa ff ff 84 c9 0f 84 4b f9 All code ======== 0: e9 52 f7 ff ff jmp 0xfffffffffffff757 5: 48 8b 7c 24 38 mov 0x38(%rsp),%rdi a: be 02 00 00 00 mov $0x2,%esi f: e8 8e 9c ff ff call 0xffffffffffff9ca2 14: 48 83 c4 58 add $0x58,%rsp 18: 31 c0 xor %eax,%eax 1a: 5b pop %rbx 1b: 41 5c pop %r12 1d: 41 5d pop %r13 1f: 41 5e pop %r14 21: 41 5f pop %r15 23: 5d pop %rbp 24: c3 ret 25: cc int3 26: cc int3 27: cc int3 28: cc int3 29: 90 nop 2a:* 0f 0b ud2 <-- trapping instruction 2c: 48 c7 44 24 38 00 00 movq $0x0,0x38(%rsp) 33: 00 00 35: e9 dc fa ff ff jmp 0xfffffffffffffb16 3a: 84 c9 test %cl,%cl 3c: 0f .byte 0xf 3d: 84 4b f9 test %cl,-0x7(%rbx) Code starting with the faulting instruction =========================================== 0: 0f 0b ud2 2: 48 c7 44 24 38 00 00 movq $0x0,0x38(%rsp) 9: 00 00 b: e9 dc fa ff ff jmp 0xfffffffffffffaec 10: 84 c9 test %cl,%cl 12: 0f .byte 0xf 13: 84 4b f9 test %cl,-0x7(%rbx) [ 398.723016][ C0] RSP: 0018:ffffc90000007ac0 EFLAGS: 00010282 [ 398.723227][ C0] RAX: 00000000fffffff2 RBX: ffff8880034a27b4 RCX: 0000000000000004 [ 398.723498][ C0] RDX: dffffc0000000000 RSI: 1ffff110014c7029 RDI: ffff88800a638148 [ 398.723745][ C0] RBP: ffffc90000007b40 R08: 0000000000000014 R09: ffff8880034a27fc [ 398.723982][ C0] R10: ffff8880034a2800 R11: ffff8880034a2800 R12: ffff8880034a2740 [ 398.724218][ C0] R13: 0000000000000100 R14: 0000000000000000 R15: ffff8880034a27f2 [ 398.724463][ C0] FS: 0000000000000000(0000) GS:ffff888036000000(0000) knlGS:0000000000000000 [ 398.724737][ C0] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 398.724927][ C0] CR2: 00007f4d6a699000 CR3: 0000000002a04005 CR4: 0000000000770ef0 [ 398.725156][ C0] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 398.725385][ C0] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 398.725612][ C0] PKRU: 55555554 [ 398.725734][ C0] Call Trace: [ 398.725852][ C0] [ 398.725929][ C0] ? die (arch/x86/kernel/dumpstack.c:421 arch/x86/kernel/dumpstack.c:434 arch/x86/kernel/dumpstack.c:447) [ 398.726048][ C0] ? do_trap (arch/x86/kernel/traps.c:113 arch/x86/kernel/traps.c:154) [ 398.726170][ C0] ? __pskb_pull_tail (net/core/skbuff.c:2813 (discriminator 1)) [ 398.726318][ C0] ? do_error_trap (./arch/x86/include/asm/traps.h:58 arch/x86/kernel/traps.c:175) [ 398.726473][ C0] ? __pskb_pull_tail (net/core/skbuff.c:2813 (discriminator 1)) [ 398.726620][ C0] ? __pskb_pull_tail (net/core/skbuff.c:2813 (discriminator 1)) [ 398.726864][ C0] ? handle_invalid_op (arch/x86/kernel/traps.c:213) [ 398.727015][ C0] ? __pskb_pull_tail (net/core/skbuff.c:2813 (discriminator 1)) [ 398.727160][ C0] ? exc_invalid_op (arch/x86/kernel/traps.c:265) [ 398.727310][ C0] ? asm_exc_invalid_op (./arch/x86/include/asm/idtentry.h:568) [ 398.727463][ C0] ? __pskb_pull_tail (net/core/skbuff.c:2813 (discriminator 1)) [ 398.727715][ 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) [ 398.727899][ C0] tcp_v4_early_demux (./include/linux/skbuff.h:2731 ./include/linux/skbuff.h:2739 net/ipv4/tcp_ipv4.c:1966) [ 398.728089][ C0] ip_rcv_finish_core.constprop.0 (./include/linux/skbuff.h:2943 ./include/linux/ip.h:21 net/ipv4/ip_input.c:344) [ 398.728278][ C0] ip_rcv (net/ipv4/ip_input.c:448 ./include/linux/netfilter.h:314 ./include/linux/netfilter.h:308 net/ipv4/ip_input.c:569) [ 398.728580][ C0] ? __pfx_ip_rcv (net/ipv4/ip_input.c:562) [ 398.728735][ C0] ? lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756) [ 398.728884][ C0] ? process_backlog (./include/linux/rcupdate.h:298 ./include/linux/rcupdate.h:750 net/core/dev.c:6051) [ 398.729039][ C0] ? __pfx_ip_rcv (net/ipv4/ip_input.c:562) [ 398.729300][ C0] __netif_receive_skb_one_core (net/core/dev.c:5610 (discriminator 4)) [ 398.729487][ C0] ? __pfx___netif_receive_skb_one_core (net/core/dev.c:5603) [ 398.729715][ C0] ? lock_acquire (./include/trace/events/lock.h:24 kernel/locking/lockdep.c:5725) [ 398.729877][ C0] ? process_backlog (./include/linux/rcupdate.h:298 ./include/linux/rcupdate.h:750 net/core/dev.c:6051) [ 398.730135][ C0] process_backlog (./include/linux/rcupdate.h:779 net/core/dev.c:6053) [ 398.730316][ C0] __napi_poll.constprop.0 (net/core/dev.c:6703) [ 398.730486][ C0] net_rx_action (net/core/dev.c:6772 net/core/dev.c:6886) [ 398.730653][ C0] ? mark_lock (kernel/locking/lockdep.c:4656 (discriminator 3)) [ 398.730883][ C0] ? __pfx_net_rx_action (net/core/dev.c:6850) [ 398.731049][ C0] ? hlock_class (kernel/locking/lockdep.c:223) [ 398.731215][ C0] ? mark_held_locks (kernel/locking/lockdep.c:4274) [ 398.731380][ C0] __do_softirq (kernel/softirq.c:553) [ 398.731564][ C0] ? __dev_queue_xmit (./include/linux/rcupdate.h:308 ./include/linux/rcupdate.h:818 net/core/dev.c:4399) [ 398.731836][ C0] do_softirq (kernel/softirq.c:454 kernel/softirq.c:441) [ 398.731963][ C0] [ 398.732070][ C0] [ 398.732152][ C0] __local_bh_enable_ip (kernel/softirq.c:381) [ 398.732314][ C0] ? __dev_queue_xmit (./include/linux/rcupdate.h:308 ./include/linux/rcupdate.h:818 net/core/dev.c:4399) [ 398.732609][ C0] __dev_queue_xmit (net/core/dev.c:4400) [ 398.732774][ C0] ? mark_held_locks (kernel/locking/lockdep.c:4274) [ 398.732957][ C0] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4300 kernel/locking/lockdep.c:4359) [ 398.733159][ C0] ? __pfx___dev_queue_xmit (net/core/dev.c:4281) [ 398.733413][ C0] ip_finish_output2 (./include/net/neighbour.h:540 net/ipv4/ip_output.c:235) [ 398.733596][ C0] ? __pfx_mptcp_established_options (net/mptcp/options.c:828) [ 398.733798][ C0] ? __pfx_ip_finish_output2 (net/ipv4/ip_output.c:199) [ 398.733960][ C0] ? __ip_finish_output (./include/linux/skbuff.h:1624 ./include/linux/skbuff.h:4942 net/ipv4/ip_output.c:307 net/ipv4/ip_output.c:295) [ 398.734232][ C0] __ip_queue_xmit (net/ipv4/ip_output.c:535 (discriminator 4)) [ 398.734396][ C0] ? __skb_clone (./arch/x86/include/asm/atomic.h:53 (discriminator 4) ./include/linux/atomic/atomic-arch-fallback.h:992 (discriminator 4) ./include/linux/atomic/atomic-instrumented.h:436 (discriminator 4) net/core/skbuff.c:1605 (discriminator 4)) [ 398.734585][ C0] __tcp_transmit_skb (net/ipv4/tcp_output.c:1462 (discriminator 4)) [ 398.734766][ C0] ? __pfx___tcp_transmit_skb (net/ipv4/tcp_output.c:1283) [ 398.735039][ C0] ? tcp_small_queue_check.isra.0 (./arch/x86/include/asm/atomic.h:23 ./include/linux/atomic/atomic-arch-fallback.h:457 ./include/linux/atomic/atomic-instrumented.h:33 ./include/linux/refcount.h:136 net/ipv4/tcp_output.c:2623) [ 398.735254][ C0] tcp_write_xmit (net/ipv4/tcp_output.c:2792) [ 398.735442][ C0] ? __pfx_tcp_current_mss (net/ipv4/tcp_output.c:1853) [ 398.735625][ C0] ? __pfx_tcp_write_xmit (net/ipv4/tcp_output.c:2702) [ 398.735869][ C0] ? tcp_get_info (net/ipv4/tcp.c:3770) [ 398.736026][ C0] ? find_held_lock (kernel/locking/lockdep.c:5244) [ 398.736185][ C0] ? __lock_release (kernel/locking/lockdep.c:5430) [ 398.736345][ C0] __tcp_push_pending_frames (net/ipv4/tcp_output.c:2977) [ 398.736510][ C0] __tcp_close (net/ipv4/tcp.c:2842) [ 398.736787][ C0] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4300 kernel/locking/lockdep.c:4359) [ 398.737017][ C0] __mptcp_close_ssk (./include/linux/instrumented.h:96 ./include/linux/atomic/atomic-instrumented.h:400 ./include/linux/refcount.h:327 ./include/linux/refcount.h:348 ./include/net/sock.h:782 net/mptcp/protocol.c:2467) [ 398.737196][ C0] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4300 kernel/locking/lockdep.c:4359) [ 398.737517][ C0] ? __pfx___mptcp_close_ssk (net/mptcp/protocol.c:2411) [ 398.737690][ C0] ? __timer_delete (kernel/time/timer.c:1316) [ 398.737873][ C0] mptcp_destroy_common (net/mptcp/protocol.c:3353) [ 398.738020][ C0] mptcp_destroy (./include/net/sock.h:1480 (discriminator 3) net/mptcp/protocol.c:3380 (discriminator 3)) [ 398.738193][ C0] __mptcp_destroy_sock (net/mptcp/protocol.c:2999) [ 398.738436][ C0] mptcp_worker (net/mptcp/protocol.c:2759) [ 398.738619][ C0] ? __pfx_mptcp_worker (net/mptcp/protocol.c:2730) [ 398.738775][ C0] ? lock_acquire (./include/trace/events/lock.h:24 kernel/locking/lockdep.c:5725) [ 398.738927][ C0] ? process_one_work (kernel/workqueue.c:2609) [ 398.739174][ C0] process_one_work (kernel/workqueue.c:2633) [ 398.739332][ C0] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 398.739488][ C0] ? __pfx_process_one_work (kernel/workqueue.c:2542) [ 398.739644][ C0] ? assign_work (kernel/workqueue.c:1101) [ 398.739882][ C0] worker_thread (kernel/workqueue.c:2700 kernel/workqueue.c:2787) [ 398.740031][ C0] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4300 kernel/locking/lockdep.c:4359) [ 398.740228][ C0] ? __pfx_worker_thread (kernel/workqueue.c:2733) [ 398.740374][ C0] ? __pfx_worker_thread (kernel/workqueue.c:2733) [ 398.740617][ C0] kthread (kernel/kthread.c:388) [ 398.740727][ C0] ? __pfx_kthread (kernel/kthread.c:341) [ 398.740874][ C0] ret_from_fork (arch/x86/kernel/process.c:147) [ 398.741027][ C0] ? __pfx_kthread (kernel/kthread.c:341) Finger prints: __pskb_pull_tail:tcp_v4_early_demux:ip_rcv:__netif_receive_skb_one_core