======================================
|
| [ 29.196350][ C2] ------------[ cut here ]------------
| [ 29.196792][ C2] kernel BUG at net/core/skbuff.c:2813!
| [ 29.197045][ C2] invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI
[ 29.197501][ C2] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 29.197856][ C2] RIP: 0010:__pskb_pull_tail (net/core/skbuff.c:2813 (discriminator 1))
[ 29.198066][ C2] 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)
[ 29.198630][ C2] RSP: 0018:ffffc90000220ac0 EFLAGS: 00010282
[ 29.198838][ C2] RAX: 00000000fffffff2 RBX: ffff888002c8faf4 RCX: 0000000000000004
[ 29.199076][ C2] RDX: dffffc0000000000 RSI: 1ffff11000c49711 RDI: ffff88800624b888
[ 29.199314][ C2] RBP: ffffc90000220b40 R08: 0000000000000014 R09: ffff888002c8fb3c
[ 29.199555][ C2] R10: ffff888002c8fb40 R11: ffff888002c8fb40 R12: ffff888002c8fa80
[ 29.199793][ C2] R13: 0000000000000100 R14: 0000000000000000 R15: ffff888002c8fb32
[ 29.200030][ C2] FS: 00007fcc53023740(0000) GS:ffff888036100000(0000) knlGS:0000000000000000
[ 29.200313][ C2] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 29.200512][ C2] CR2: 00007ffd92768000 CR3: 000000000d8b2004 CR4: 0000000000770ef0
[ 29.200751][ C2] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 29.200991][ C2] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 29.201229][ C2] PKRU: 55555554
[ 29.201349][ C2] Call Trace:
[ 29.201471][ C2]
[ 29.201555][ C2] ? die (arch/x86/kernel/dumpstack.c:421 arch/x86/kernel/dumpstack.c:434 arch/x86/kernel/dumpstack.c:447)
[ 29.201682][ C2] ? do_trap (arch/x86/kernel/traps.c:113 arch/x86/kernel/traps.c:154)
[ 29.201806][ C2] ? __pskb_pull_tail (net/core/skbuff.c:2813 (discriminator 1))
[ 29.201964][ C2] ? do_error_trap (./arch/x86/include/asm/traps.h:58 arch/x86/kernel/traps.c:175)
[ 29.202123][ C2] ? __pskb_pull_tail (net/core/skbuff.c:2813 (discriminator 1))
[ 29.202285][ C2] ? __pskb_pull_tail (net/core/skbuff.c:2813 (discriminator 1))
[ 29.202443][ C2] ? handle_invalid_op (arch/x86/kernel/traps.c:213)
[ 29.202601][ C2] ? __pskb_pull_tail (net/core/skbuff.c:2813 (discriminator 1))
[ 29.202758][ C2] ? exc_invalid_op (arch/x86/kernel/traps.c:265)
[ 29.202919][ C2] ? asm_exc_invalid_op (./arch/x86/include/asm/idtentry.h:568)
[ 29.203081][ C2] ? __pskb_pull_tail (net/core/skbuff.c:2813 (discriminator 1))
[ 29.203242][ 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)
[ 29.203405][ C2] tcp_v4_early_demux (./include/linux/skbuff.h:2731 ./include/linux/skbuff.h:2739 net/ipv4/tcp_ipv4.c:1966)
[ 29.203573][ C2] ip_rcv_finish_core.constprop.0 (./include/linux/skbuff.h:2943 ./include/linux/ip.h:21 net/ipv4/ip_input.c:344)
[ 29.203777][ C2] ip_rcv (net/ipv4/ip_input.c:448 ./include/linux/netfilter.h:314 ./include/linux/netfilter.h:308 net/ipv4/ip_input.c:569)
[ 29.203896][ C2] ? __pfx_ip_rcv (net/ipv4/ip_input.c:562)
[ 29.204057][ C2] ? lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756)
[ 29.204216][ C2] ? process_backlog (./include/linux/rcupdate.h:298 ./include/linux/rcupdate.h:750 net/core/dev.c:6051)
[ 29.204380][ C2] ? __pfx_ip_rcv (net/ipv4/ip_input.c:562)
[ 29.204539][ C2] __netif_receive_skb_one_core (net/core/dev.c:5610 (discriminator 4))
[ 29.204735][ C2] ? __pfx___netif_receive_skb_one_core (net/core/dev.c:5603)
[ 29.204936][ C2] ? lock_acquire (./include/trace/events/lock.h:24 kernel/locking/lockdep.c:5725)
[ 29.205115][ C2] ? process_backlog (./include/linux/rcupdate.h:298 ./include/linux/rcupdate.h:750 net/core/dev.c:6051)
[ 29.205289][ C2] process_backlog (./include/linux/rcupdate.h:779 net/core/dev.c:6053)
[ 29.205452][ C2] ? find_held_lock (kernel/locking/lockdep.c:5244)
[ 29.205614][ C2] __napi_poll.constprop.0 (net/core/dev.c:6703)
[ 29.205778][ C2] net_rx_action (net/core/dev.c:6772 net/core/dev.c:6886)
[ 29.205943][ C2] ? __pfx_net_rx_action (net/core/dev.c:6850)
[ 29.206104][ C2] ? usage_skip (kernel/locking/lockdep.c:2295 kernel/locking/lockdep.c:2263)
[ 29.206266][ C2] ? mark_held_locks (kernel/locking/lockdep.c:4274)
[ 29.206434][ C2] ? hrtimer_interrupt (kernel/time/hrtimer.c:1828)
[ 29.206595][ C2] __do_softirq (kernel/softirq.c:553)
[ 29.206755][ C2] ? __dev_queue_xmit (./include/linux/rcupdate.h:308 ./include/linux/rcupdate.h:818 net/core/dev.c:4399)
[ 29.206916][ C2] do_softirq (kernel/softirq.c:454 kernel/softirq.c:441)
[ 29.207041][ C2]
[ 29.207122][ C2]
[ 29.207200][ C2] __local_bh_enable_ip (kernel/softirq.c:381)
[ 29.207363][ C2] ? __dev_queue_xmit (./include/linux/rcupdate.h:308 ./include/linux/rcupdate.h:818 net/core/dev.c:4399)
[ 29.207523][ C2] __dev_queue_xmit (net/core/dev.c:4400)
[ 29.207682][ C2] ? mark_held_locks (kernel/locking/lockdep.c:4274)
[ 29.207844][ C2] ? eth_header (net/ethernet/eth.c:100)
[ 29.208007][ C2] ? __pfx___dev_queue_xmit (net/core/dev.c:4281)
[ 29.208165][ C2] ? neigh_resolve_output (./include/linux/netdevice.h:3226 net/core/neighbour.c:1558 net/core/neighbour.c:1543)
[ 29.208329][ C2] ip_finish_output2 (./include/net/neighbour.h:542 net/ipv4/ip_output.c:235)
[ 29.208493][ C2] ? __pfx_ip_finish_output2 (net/ipv4/ip_output.c:199)
[ 29.208653][ C2] ? __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)
[ 29.208814][ C2] ip_output (./include/linux/netfilter.h:303 net/ipv4/ip_output.c:433)
[ 29.208934][ C2] ? __pfx_ip_output (net/ipv4/ip_output.c:427)
[ 29.209098][ C2] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719)
[ 29.209256][ C2] ? ip_local_out (./include/linux/skbuff.h:1136 ./include/net/dst.h:450 net/ipv4/ip_output.c:129)
[ 29.209414][ C2] __ip_queue_xmit (net/ipv4/ip_output.c:535 (discriminator 4))
[ 29.209573][ C2] ? __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))
[ 29.209730][ C2] __tcp_transmit_skb (net/ipv4/tcp_output.c:1462 (discriminator 4))
[ 29.209892][ C2] ? __pfx___tcp_transmit_skb (net/ipv4/tcp_output.c:1283)
[ 29.210050][ C2] ? __lock_release (kernel/locking/lockdep.c:5430)
[ 29.210206][ C2] ? tcp_write_xmit (net/ipv4/tcp_output.c:57 net/ipv4/tcp_output.c:2713)
[ 29.210362][ C2] ? __pfx___lock_release (kernel/locking/lockdep.c:5406)
[ 29.210525][ C2] ? 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)
[ 29.210725][ C2] tcp_write_xmit (net/ipv4/tcp_output.c:2792)
[ 29.210886][ C2] ? __pfx_tcp_write_xmit (net/ipv4/tcp_output.c:2702)
[ 29.211050][ C2] ? __pfx_tcp_set_state (net/ipv4/tcp.c:2595)
[ 29.211210][ C2] ? find_held_lock (kernel/locking/lockdep.c:5244)
[ 29.211368][ C2] ? __lock_release (kernel/locking/lockdep.c:5430)
[ 29.211526][ C2] __tcp_push_pending_frames (net/ipv4/tcp_output.c:2977)
[ 29.211685][ C2] __tcp_close (net/ipv4/tcp.c:2842)
[ 29.211846][ C2] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4300 kernel/locking/lockdep.c:4359)
[ 29.212046][ C2] tcp_close (net/ipv4/tcp.c:2932)
[ 29.212167][ C2] inet_release (net/ipv4/af_inet.c:436)
[ 29.212326][ C2] __sock_release (net/socket.c:659)
[ 29.212488][ C2] sock_close (net/socket.c:1423)
[ 29.212606][ C2] __fput (fs/file_table.c:376)
[ 29.212733][ C2] __x64_sys_close (fs/open.c:1557 fs/open.c:1539 fs/open.c:1539)
[ 29.212894][ C2] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83)
[ 29.213053][ C2] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129)
[ 29.213255][ C2] RIP: 0033:0x7fcc53165007
[ 29.213417][ C2] 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
[ 29.213980][ C2] RSP: 002b:00007ffd92634438 EFLAGS: 00000246 ORIG_RAX: 0000000000000003
[ 29.214220][ C2] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007fcc53165007
[ 29.214457][ C2] RDX: 00000000000001ab RSI: 0000018e119da72b RDI: 0000000000000006
[ 29.214696][ C2] RBP: 0000000000000006 R08: 00007ffd92767080 R09: 00007ffd926344f0
[ 29.214939][ C2] R10: 7fffffffffffffff R11: 0000000000000246 R12: 00007ffd926344f0
Finger prints:
__pskb_pull_tail:tcp_v4_early_demux:ip_rcv:__netif_receive_skb_one_core