====================================== | | [ 57.410626][ C1] ------------[ cut here ]------------ | [ 57.411068][ C1] kernel BUG at net/core/skbuff.c:2813! | [ 57.411268][ C1] invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI [ 57.411739][ C1] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 57.412096][ C1] RIP: 0010:__pskb_pull_tail (net/core/skbuff.c:2813 (discriminator 1)) [ 57.412317][ C1] 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) [ 57.412901][ C1] RSP: 0018:ffffc900001c8ac0 EFLAGS: 00010282 [ 57.413110][ C1] RAX: 00000000fffffff2 RBX: ffff88800745c974 RCX: 0000000000000004 [ 57.413364][ C1] RDX: dffffc0000000000 RSI: 1ffff11000cb29c9 RDI: ffff888006594e48 [ 57.413604][ C1] RBP: ffffc900001c8b40 R08: 0000000000000014 R09: ffff88800745c9bc [ 57.413842][ C1] R10: ffff88800745c9c0 R11: ffff88800745c9c0 R12: ffff88800745c900 [ 57.414077][ C1] R13: 0000000000000100 R14: 0000000000000000 R15: ffff88800745c9b2 [ 57.414314][ C1] FS: 00007f8b27899740(0000) GS:ffff888036080000(0000) knlGS:0000000000000000 [ 57.414593][ C1] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 57.414791][ C1] CR2: 00007f8b27a5c630 CR3: 0000000004370002 CR4: 0000000000770ef0 [ 57.415029][ C1] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 57.415260][ C1] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 57.415491][ C1] PKRU: 55555554 [ 57.415617][ C1] Call Trace: [ 57.415737][ C1] [ 57.415818][ C1] ? die (arch/x86/kernel/dumpstack.c:421 arch/x86/kernel/dumpstack.c:434 arch/x86/kernel/dumpstack.c:447) [ 57.415941][ C1] ? do_trap (arch/x86/kernel/traps.c:113 arch/x86/kernel/traps.c:154) [ 57.416061][ C1] ? __pskb_pull_tail (net/core/skbuff.c:2813 (discriminator 1)) [ 57.416217][ C1] ? do_error_trap (./arch/x86/include/asm/traps.h:58 arch/x86/kernel/traps.c:175) [ 57.416377][ C1] ? __pskb_pull_tail (net/core/skbuff.c:2813 (discriminator 1)) [ 57.416533][ C1] ? __pskb_pull_tail (net/core/skbuff.c:2813 (discriminator 1)) [ 57.416689][ C1] ? handle_invalid_op (arch/x86/kernel/traps.c:213) [ 57.416851][ C1] ? __pskb_pull_tail (net/core/skbuff.c:2813 (discriminator 1)) [ 57.417006][ C1] ? exc_invalid_op (arch/x86/kernel/traps.c:265) [ 57.417167][ C1] ? asm_exc_invalid_op (./arch/x86/include/asm/idtentry.h:568) [ 57.417330][ C1] ? __pskb_pull_tail (net/core/skbuff.c:2813 (discriminator 1)) [ 57.417487][ C1] ? 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) [ 57.417652][ C1] tcp_v4_early_demux (./include/linux/skbuff.h:2731 ./include/linux/skbuff.h:2739 net/ipv4/tcp_ipv4.c:1966) [ 57.417820][ C1] ip_rcv_finish_core.constprop.0 (./include/linux/skbuff.h:2943 ./include/linux/ip.h:21 net/ipv4/ip_input.c:344) [ 57.418020][ C1] ip_rcv (net/ipv4/ip_input.c:448 ./include/linux/netfilter.h:314 ./include/linux/netfilter.h:308 net/ipv4/ip_input.c:569) [ 57.418145][ C1] ? __pfx_ip_rcv (net/ipv4/ip_input.c:562) [ 57.418307][ C1] ? lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756) [ 57.418469][ C1] ? process_backlog (./include/linux/rcupdate.h:298 ./include/linux/rcupdate.h:750 net/core/dev.c:6051) [ 57.418628][ C1] ? __pfx_ip_rcv (net/ipv4/ip_input.c:562) [ 57.418786][ C1] __netif_receive_skb_one_core (net/core/dev.c:5610 (discriminator 4)) [ 57.418984][ C1] ? __pfx___netif_receive_skb_one_core (net/core/dev.c:5603) [ 57.419185][ C1] ? lock_acquire (./include/trace/events/lock.h:24 kernel/locking/lockdep.c:5725) [ 57.419342][ C1] ? process_backlog (./include/linux/rcupdate.h:298 ./include/linux/rcupdate.h:750 net/core/dev.c:6051) [ 57.419498][ C1] process_backlog (./include/linux/rcupdate.h:779 net/core/dev.c:6053) [ 57.419663][ C1] __napi_poll.constprop.0 (net/core/dev.c:6703) [ 57.419822][ C1] net_rx_action (net/core/dev.c:6772 net/core/dev.c:6886) [ 57.419981][ C1] ? __pfx_net_rx_action (net/core/dev.c:6850) [ 57.420140][ C1] ? hlock_class (kernel/locking/lockdep.c:223) [ 57.420302][ C1] ? mark_held_locks (kernel/locking/lockdep.c:4274) [ 57.420464][ C1] __do_softirq (kernel/softirq.c:553) [ 57.420625][ C1] ? __dev_queue_xmit (./include/linux/rcupdate.h:308 ./include/linux/rcupdate.h:818 net/core/dev.c:4399) [ 57.420783][ C1] do_softirq (kernel/softirq.c:454 kernel/softirq.c:441) [ 57.420911][ C1] [ 57.420996][ C1] [ 57.421078][ C1] __local_bh_enable_ip (kernel/softirq.c:381) [ 57.421235][ C1] ? __dev_queue_xmit (./include/linux/rcupdate.h:308 ./include/linux/rcupdate.h:818 net/core/dev.c:4399) [ 57.421392][ C1] __dev_queue_xmit (net/core/dev.c:4400) [ 57.421548][ C1] ? mark_held_locks (kernel/locking/lockdep.c:4274) [ 57.421715][ C1] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4300 kernel/locking/lockdep.c:4359) [ 57.421921][ C1] ? __pfx___dev_queue_xmit (net/core/dev.c:4281) [ 57.422085][ C1] ip_finish_output2 (./include/net/neighbour.h:540 net/ipv4/ip_output.c:235) [ 57.422246][ C1] ? __pfx_ip_finish_output2 (net/ipv4/ip_output.c:199) [ 57.422404][ C1] ? __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) [ 57.422565][ C1] __ip_queue_xmit (net/ipv4/ip_output.c:535 (discriminator 4)) [ 57.422723][ C1] ? __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)) [ 57.422882][ C1] __tcp_transmit_skb (net/ipv4/tcp_output.c:1462 (discriminator 4)) [ 57.423043][ C1] ? __pfx___tcp_transmit_skb (net/ipv4/tcp_output.c:1283) [ 57.423205][ C1] ? 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) [ 57.423403][ C1] tcp_write_xmit (net/ipv4/tcp_output.c:2792) [ 57.423559][ C1] ? __pfx_tcp_current_mss (net/ipv4/tcp_output.c:1853) [ 57.423716][ C1] ? __pfx_tcp_write_xmit (net/ipv4/tcp_output.c:2702) [ 57.423872][ C1] ? tcp_get_info (net/ipv4/tcp.c:3770) [ 57.424029][ C1] ? find_held_lock (kernel/locking/lockdep.c:5244) [ 57.424184][ C1] ? __lock_release (kernel/locking/lockdep.c:5430) [ 57.424341][ C1] __tcp_push_pending_frames (net/ipv4/tcp_output.c:2977) [ 57.424498][ C1] __tcp_close (net/ipv4/tcp.c:2842) [ 57.424659][ C1] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4300 kernel/locking/lockdep.c:4359) [ 57.424852][ C1] __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) [ 57.425013][ C1] ? __pfx___mptcp_close_ssk (net/mptcp/protocol.c:2411) [ 57.425170][ C1] ? __timer_delete (./include/linux/list.h:971 ./include/linux/timer.h:153 kernel/time/timer.c:1334) [ 57.425327][ C1] ? __timer_delete (./include/linux/list.h:971 ./include/linux/timer.h:153 kernel/time/timer.c:1334) [ 57.425484][ C1] mptcp_destroy_common (net/mptcp/protocol.c:3353) [ 57.425640][ C1] mptcp_destroy (./include/net/sock.h:1480 (discriminator 3) net/mptcp/protocol.c:3380 (discriminator 3)) [ 57.425798][ C1] __mptcp_destroy_sock (net/mptcp/protocol.c:2999) [ 57.425959][ C1] __mptcp_close (net/mptcp/protocol.c:3104) [ 57.426123][ C1] ? __pfx___mptcp_close (net/mptcp/protocol.c:3042) [ 57.426279][ C1] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4300 kernel/locking/lockdep.c:4359) [ 57.426476][ C1] mptcp_close (net/mptcp/protocol.c:3119) [ 57.426595][ C1] inet_release (net/ipv4/af_inet.c:436) [ 57.426757][ C1] __sock_release (net/socket.c:659) [ 57.426916][ C1] sock_close (net/socket.c:1423) [ 57.427032][ C1] __fput (fs/file_table.c:376) [ 57.427162][ C1] __x64_sys_close (fs/open.c:1557 fs/open.c:1539 fs/open.c:1539) [ 57.427321][ C1] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 57.427480][ C1] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) [ 57.427677][ C1] RIP: 0033:0x7f8b279db007 [ 57.427843][ C1] Code: ff e8 fd e2 01 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 41 c3 48 83 ec 18 89 7c 24 0c e8 c3 cb f5 ff All code ======== 0: ff (bad) 1: e8 fd e2 01 00 call 0x1e303 6: 66 2e 0f 1f 84 00 00 cs nopw 0x0(%rax,%rax,1) d: 00 00 00 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 03 00 00 00 mov $0x3,%eax 28: 0f 05 syscall 2a:* 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax <-- trapping instruction 30: 77 41 ja 0x73 32: c3 ret 33: 48 83 ec 18 sub $0x18,%rsp 37: 89 7c 24 0c mov %edi,0xc(%rsp) 3b: e8 c3 cb f5 ff call 0xfffffffffff5cc03 Code starting with the faulting instruction =========================================== 0: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax 6: 77 41 ja 0x49 8: c3 ret 9: 48 83 ec 18 sub $0x18,%rsp d: 89 7c 24 0c mov %edi,0xc(%rsp) 11: e8 c3 cb f5 ff call 0xfffffffffff5cbd9 [ 57.428393][ C1] RSP: 002b:00007fff8efbcb08 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 [ 57.428640][ C1] RAX: ffffffffffffffda RBX: 0000000000fa72a0 RCX: 00007f8b279db007 [ 57.428882][ C1] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 [ 57.429119][ C1] RBP: 0000000000000005 R08: 00007f8b27a95228 R09: 00007f8b27a95260 [ 57.429358][ C1] R10: 00007f8b278a9ef8 R11: 0000000000000246 R12: 0000000000000000 Finger prints: __pskb_pull_tail:tcp_v4_early_demux:ip_rcv:__netif_receive_skb_one_core