====================================== | 0 | xx__-> [ 15.503712][ T239] ------------[ cut here ]------------ | [ 15.504401][ T239] WARNING: CPU: 1 PID: 239 at ./include/net/sch_generic.h:843 __dev_xmit_skb (./include/net/sch_generic.h:843 ./include/net/sch_generic.h:889 ./include/net/sch_generic.h:901 net/core/dev.c:4239) | [ 15.505277][ T239] Modules linked in: [ 15.506800][ T239] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.507416][ T239] RIP: 0010:__dev_xmit_skb (./include/net/sch_generic.h:843 ./include/net/sch_generic.h:889 ./include/net/sch_generic.h:901 net/core/dev.c:4239) [ 15.507953][ T239] Code: 7d 06 48 89 fa 48 c1 ea 03 0f b6 14 02 48 89 f8 83 e0 07 83 c0 01 38 d0 7c 08 84 d2 0f 85 86 0d 00 00 66 83 7d 06 00 74 04 90 <0f> 0b 90 48 b8 00 00 00 00 00 fc ff df 49 8d 7c 24 28 48 89 fa 48 All code ======== 0: 7d 06 jge 0x8 2: 48 89 fa mov %rdi,%rdx 5: 48 c1 ea 03 shr $0x3,%rdx 9: 0f b6 14 02 movzbl (%rdx,%rax,1),%edx d: 48 89 f8 mov %rdi,%rax 10: 83 e0 07 and $0x7,%eax 13: 83 c0 01 add $0x1,%eax 16: 38 d0 cmp %dl,%al 18: 7c 08 jl 0x22 1a: 84 d2 test %dl,%dl 1c: 0f 85 86 0d 00 00 jne 0xda8 22: 66 83 7d 06 00 cmpw $0x0,0x6(%rbp) 27: 74 04 je 0x2d 29: 90 nop 2a:* 0f 0b ud2 <-- trapping instruction 2c: 90 nop 2d: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 34: fc ff df 37: 49 8d 7c 24 28 lea 0x28(%r12),%rdi 3c: 48 89 fa mov %rdi,%rdx 3f: 48 rex.W Code starting with the faulting instruction =========================================== 0: 0f 0b ud2 2: 90 nop 3: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax a: fc ff df d: 49 8d 7c 24 28 lea 0x28(%r12),%rdi 12: 48 89 fa mov %rdi,%rdx 15: 48 rex.W [ 15.509523][ T239] RSP: 0018:ffffc90000ae7640 EFLAGS: 00010202 [ 15.510056][ T239] RAX: 0000000000000007 RBX: 0000000000000001 RCX: ffffffffa61f4955 [ 15.510896][ T239] RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff888005039686 [ 15.511725][ T239] RBP: ffff888005039680 R08: ffff888004d9c118 R09: ffffed100197bcb3 [ 15.512488][ T239] R10: ffff88800cbde59f R11: ffffc90000ae7358 R12: ffff888004d9c118 [ 15.513220][ T239] R13: ffff88800cbde400 R14: ffff88800cbde608 R15: ffff88800cbde400 [ 15.514032][ T239] FS: 00007f91c05b5640(0000) GS:ffff88808d89a000(0000) knlGS:0000000000000000 [ 15.514761][ T239] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 15.515300][ T239] CR2: 00007f4c1a497000 CR3: 000000000c67c005 CR4: 0000000000772ef0 [ 15.515956][ T239] PKRU: 55555554 [ 15.516305][ T239] Call Trace: [ 15.516657][ T239] [ 15.516895][ T239] ? dev_get_stats (net/core/dev.c:4143) [ 15.517584][ T239] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 15.518056][ T239] ? lock_acquire (./include/trace/events/lock.h:24 kernel/locking/lockdep.c:5831) [ 15.518504][ T239] __dev_queue_xmit (net/core/dev.c:4786) [ 15.518965][ T239] ? netdev_core_pick_tx (net/core/dev.c:4728) [ 15.519387][ T239] ? find_held_lock (kernel/locking/lockdep.c:5350) [ 15.519844][ T239] ? neigh_connected_output (./include/linux/seqlock.h:74 ./include/linux/seqlock.h:836 net/core/neighbour.c:1617) [ 15.520273][ T239] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4472) [ 15.520708][ T239] ? neigh_connected_output (./include/linux/seqlock.h:74 ./include/linux/seqlock.h:836 net/core/neighbour.c:1617) [ 15.521149][ T239] ip_finish_output2 (./include/net/neighbour.h:556 net/ipv4/ip_output.c:237) [ 15.521598][ T239] ? ip_skb_dst_mtu (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:897 ./include/net/ip.h:504 ./include/net/ip.h:518) [ 15.522050][ T239] ? ip_fragment.constprop.0 (net/ipv4/ip_output.c:201) [ 15.522489][ T239] ? ip_skb_dst_mtu (./include/net/ip.h:523) [ 15.522959][ T239] ? __ip_finish_output (./include/linux/skbuff.h:1724 ./include/linux/skbuff.h:5149 net/ipv4/ip_output.c:309) [ 15.523410][ T239] ip_output (./include/linux/netfilter.h:414 net/ipv4/ip_output.c:438) [ 15.523775][ T239] __ip_queue_xmit (./include/net/dst.h:464 net/ipv4/ip_output.c:131 net/ipv4/ip_output.c:534) [ 15.524241][ T239] ? __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:1585 (discriminator 4)) [ 15.524749][ T239] __tcp_transmit_skb (net/ipv4/tcp_output.c:1628) [ 15.525224][ T239] ? __tcp_select_window (net/ipv4/tcp_output.c:1449) [ 15.525787][ T239] ? tcp_call_bpf (./include/net/sock.h:1685 ./include/net/sock.h:1780 ./include/net/tcp.h:2775) [ 15.526349][ T239] ? tcp_ca_dst_init (./include/net/tcp.h:2767) [ 15.526943][ T239] tcp_connect (net/ipv4/tcp_output.c:1646 net/ipv4/tcp_output.c:4335) [ 15.527511][ T239] tcp_v4_connect (net/ipv4/tcp_ipv4.c:347) [ 15.527973][ T239] ? tcp_v4_conn_request (net/ipv4/tcp_ipv4.c:225) [ 15.528361][ T239] ? do_raw_spin_lock (./arch/x86/include/asm/atomic.h:107 ./include/linux/atomic/atomic-arch-fallback.h:2170 ./include/linux/atomic/atomic-instrumented.h:1302 ./include/asm-generic/qspinlock.h:111 kernel/locking/spinlock_debug.c:116) [ 15.528780][ T239] ? find_held_lock (kernel/locking/lockdep.c:5350) [ 15.529241][ T239] __inet_stream_connect (net/ipv4/af_inet.c:679) [ 15.529744][ T239] ? __local_bh_enable_ip (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:119 kernel/softirq.c:455) [ 15.530149][ T239] ? __inet_stream_connect (net/ipv4/af_inet.c:746) [ 15.530551][ T239] inet_stream_connect (net/ipv4/af_inet.c:751) [ 15.531025][ T239] __sys_connect (./include/linux/file.h:62 ./include/linux/file.h:83 net/socket.c:2111) [ 15.531575][ T239] ? __sys_connect_file (net/socket.c:2109) [ 15.532139][ T239] ? expand_downwards (mm/vma.c:3147) [ 15.532718][ T239] ? __x64_sys_futex (kernel/futex/syscalls.c:207 kernel/futex/syscalls.c:188 kernel/futex/syscalls.c:188) [ 15.533272][ T239] ? do_futex (kernel/futex/syscalls.c:188) [ 15.533588][ T239] __x64_sys_connect (net/socket.c:2124) [ 15.534112][ T239] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4472) [ 15.534668][ T239] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 15.535212][ T239] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 15.535917][ T239] RIP: 0033:0x49264b [ 15.536684][ T239] Code: 83 ec 18 89 54 24 0c 48 89 34 24 89 7c 24 08 e8 6b 54 04 00 8b 54 24 0c 48 8b 34 24 41 89 c0 8b 7c 24 08 b8 2a 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 44 89 c7 89 44 24 08 e8 c1 54 04 00 8b 44 All code ======== 0: 83 ec 18 sub $0x18,%esp 3: 89 54 24 0c mov %edx,0xc(%rsp) 7: 48 89 34 24 mov %rsi,(%rsp) b: 89 7c 24 08 mov %edi,0x8(%rsp) f: e8 6b 54 04 00 call 0x4547f 14: 8b 54 24 0c mov 0xc(%rsp),%edx 18: 48 8b 34 24 mov (%rsp),%rsi 1c: 41 89 c0 mov %eax,%r8d 1f: 8b 7c 24 08 mov 0x8(%rsp),%edi 23: b8 2a 00 00 00 mov $0x2a,%eax 28: 0f 05 syscall 2a:* 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax <-- trapping instruction 30: 77 35 ja 0x67 32: 44 89 c7 mov %r8d,%edi 35: 89 44 24 08 mov %eax,0x8(%rsp) 39: e8 c1 54 04 00 call 0x454ff 3e: 8b .byte 0x8b 3f: 44 rex.R Code starting with the faulting instruction =========================================== 0: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax 6: 77 35 ja 0x3d 8: 44 89 c7 mov %r8d,%edi b: 89 44 24 08 mov %eax,0x8(%rsp) f: e8 c1 54 04 00 call 0x454d5 14: 8b .byte 0x8b 15: 44 rex.R [ 15.538373][ T239] RSP: 002b:00007f91c05b5030 EFLAGS: 00000293 ORIG_RAX: 000000000000002a [ 15.539153][ T239] RAX: ffffffffffffffda RBX: 00000000361ae830 RCX: 000000000049264b [ 15.539894][ T239] RDX: 0000000000000010 RSI: 00007f91c05b5080 RDI: 0000000000000009 [ 15.540505][ T239] RBP: 00007f91c05b5110 R08: 0000000000000000 R09: 0000000000000081 [ 15.541470][ T239] R10: 0000000000000000 R11: 0000000000000293 R12: 00007f91c05b5640 Finger prints: __dev_xmit_skb:__dev_queue_xmit:ip_finish_output2:ip_output:__ip_queue_xmit