====================================== | 0 | xx__-> [ 18.035534][ T231] ------------[ cut here ]------------ | [ 18.035980][ T231] WARNING: CPU: 1 PID: 231 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) | [ 18.036642][ T231] Modules linked in: [ 18.037679][ T231] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 18.038110][ T231] 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) [ 18.038476][ T231] 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 [ 18.039665][ T231] RSP: 0018:ffffc90000b175a8 EFLAGS: 00010202 [ 18.040079][ T231] RAX: 0000000000000007 RBX: 0000000000000001 RCX: ffffffff8e9f4955 [ 18.040617][ T231] RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff88800a7f4886 [ 18.041297][ T231] RBP: ffff88800a7f4880 R08: ffff8880024d0118 R09: ffffed10003dc833 [ 18.041798][ T231] R10: ffff888001ee419f R11: ffffc90000b172c0 R12: ffff8880024d0118 [ 18.042306][ T231] R13: ffff888001ee4000 R14: ffff888001ee4208 R15: ffff888001ee4000 [ 18.042834][ T231] FS: 000000004001a3c0(0000) GS:ffff88809f49a000(0000) knlGS:0000000000000000 [ 18.043426][ T231] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 18.043850][ T231] CR2: 00007f7b0b976000 CR3: 0000000008cba005 CR4: 0000000000772ef0 [ 18.044354][ T231] PKRU: 55555554 [ 18.044614][ T231] Call Trace: [ 18.044863][ T231] [ 18.045037][ T231] ? dev_get_stats (net/core/dev.c:4143) [ 18.045402][ T231] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:751) [ 18.045742][ T231] ? lock_acquire (./include/trace/events/lock.h:24 kernel/locking/lockdep.c:5831) [ 18.046069][ T231] __dev_queue_xmit (net/core/dev.c:4786) [ 18.046439][ T231] ? netdev_core_pick_tx (net/core/dev.c:4728) [ 18.046768][ T231] ? find_held_lock (kernel/locking/lockdep.c:5350) [ 18.047092][ T231] ? neigh_connected_output (./include/linux/seqlock.h:74 ./include/linux/seqlock.h:836 net/core/neighbour.c:1617) [ 18.047431][ T231] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4472) [ 18.047754][ T231] ? neigh_connected_output (./include/linux/seqlock.h:74 ./include/linux/seqlock.h:836 net/core/neighbour.c:1617) [ 18.048082][ T231] ip_finish_output2 (./include/net/neighbour.h:556 net/ipv4/ip_output.c:237) [ 18.048430][ T231] ? ip_skb_dst_mtu (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:897 ./include/net/ip.h:504 ./include/net/ip.h:518) [ 18.048749][ T231] ? ip_fragment.constprop.0 (net/ipv4/ip_output.c:201) [ 18.049078][ T231] ? ip_skb_dst_mtu (./include/net/ip.h:523) [ 18.049425][ T231] ? __ip_finish_output (./include/linux/skbuff.h:1724 ./include/linux/skbuff.h:5149 net/ipv4/ip_output.c:309) [ 18.049747][ T231] ip_output (./include/linux/netfilter.h:414 net/ipv4/ip_output.c:438) [ 18.049992][ T231] __ip_queue_xmit (./include/net/dst.h:464 net/ipv4/ip_output.c:131 net/ipv4/ip_output.c:534) [ 18.050343][ T231] ? __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)) [ 18.050676][ T231] __tcp_transmit_skb (net/ipv4/tcp_output.c:1628) [ 18.051014][ T231] ? __tcp_select_window (net/ipv4/tcp_output.c:1449) [ 18.051362][ T231] ? find_held_lock (kernel/locking/lockdep.c:5350) [ 18.051690][ T231] ? ktime_get (./include/linux/seqlock.h:74 kernel/time/timekeeping.c:824) [ 18.052020][ T231] tcp_write_xmit (net/ipv4/tcp_output.c:2999) [ 18.052366][ T231] ? __build_skb_around (./arch/x86/include/asm/atomic.h:28 ./include/linux/atomic/atomic-arch-fallback.h:503 ./include/linux/atomic/atomic-instrumented.h:68 net/core/skbuff.c:387 net/core/skbuff.c:444) [ 18.052687][ T231] ? __alloc_skb (./arch/x86/include/asm/atomic.h:28 ./include/linux/atomic/atomic-arch-fallback.h:503 ./include/linux/atomic/atomic-instrumented.h:68 ./include/linux/refcount.h:134 net/core/skbuff.c:698) [ 18.053010][ T231] ? tcp_retrans_try_collapse (net/ipv4/tcp_output.c:2903) [ 18.053348][ T231] ? inet_sk_state_store (net/ipv4/af_inet.c:1376) [ 18.053715][ T231] ? tcp_set_state (net/ipv4/tcp.c:2947 (discriminator 53)) [ 18.054038][ T231] ? tcp_call_bpf.constprop.0.isra.0 (net/ipv4/tcp.c:2947) [ 18.054484][ T231] __tcp_push_pending_frames (net/ipv4/tcp_output.c:3182) [ 18.054811][ T231] __tcp_close (net/ipv4/tcp.c:3208) [ 18.055135][ T231] ? __local_bh_enable_ip (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:119 kernel/softirq.c:455) [ 18.055478][ T231] tcp_close (net/ipv4/tcp.c:3300) [ 18.055720][ T231] inet_release (net/ipv4/af_inet.c:438) [ 18.056054][ T231] __sock_release (net/socket.c:663) [ 18.056406][ T231] sock_close (net/socket.c:1457) [ 18.056649][ T231] __fput (fs/file_table.c:468) [ 18.056902][ T231] fput_close_sync (fs/file_table.c:571) [ 18.057230][ T231] ? alloc_file_clone (fs/file_table.c:571) [ 18.057619][ T231] __x64_sys_close (fs/open.c:1592 fs/open.c:1574 fs/open.c:1574) [ 18.057938][ T231] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 18.058271][ T231] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 18.058692][ T231] RIP: 0033:0x4901eb [ 18.058945][ T231] Code: 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 78 04 00 8b 7c 24 0c 41 89 c0 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 44 89 c7 89 44 24 0c e8 21 79 04 00 8b 44 All code ======== 0: 03 00 add (%rax),%eax 2: 00 00 add %al,(%rax) 4: 0f 05 syscall 6: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax c: 77 41 ja 0x4f e: c3 ret f: 48 83 ec 18 sub $0x18,%rsp 13: 89 7c 24 0c mov %edi,0xc(%rsp) 17: e8 c3 78 04 00 call 0x478df 1c: 8b 7c 24 0c mov 0xc(%rsp),%edi 20: 41 89 c0 mov %eax,%r8d 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 35 ja 0x67 32: 44 89 c7 mov %r8d,%edi 35: 89 44 24 0c mov %eax,0xc(%rsp) 39: e8 21 79 04 00 call 0x4795f 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 0c mov %eax,0xc(%rsp) f: e8 21 79 04 00 call 0x47935 14: 8b .byte 0x8b 15: 44 rex.R [ 18.060102][ T231] RSP: 002b:00007fff025b2440 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 [ 18.060615][ T231] RAX: ffffffffffffffda RBX: 00007fff025b29b0 RCX: 00000000004901eb [ 18.061098][ T231] RDX: 0000000000000002 RSI: 0000000000000002 RDI: 000000000000000a [ 18.061593][ T231] RBP: 00007fff025b2480 R08: 0000000000000000 R09: 00000000000000ca [ 18.062085][ T231] R10: 0000000000000000 R11: 0000000000000293 R12: 00007fff025b2928 Finger prints: __dev_xmit_skb:__dev_queue_xmit:ip_finish_output2:ip_output:__ip_queue_xmit