====================================== | [ 21.294972][ T304] netem: version 1.3 | [ 22.698607][ C2] ------------[ cut here ]------------ | [ 22.699139][ C2] WARNING: CPU: 2 PID: 318 at ./include/net/sch_generic.h:843 netem_dequeue (./include/net/sch_generic.h:843 ./include/net/sch_generic.h:889 ./include/net/sch_generic.h:901 net/sched/sch_netem.c:712) sch_netem | [ 22.699821][ C2] Modules linked in: sch_netem [ 22.700949][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 22.701416][ C2] RIP: 0010:netem_dequeue (./include/net/sch_generic.h:843 ./include/net/sch_generic.h:889 ./include/net/sch_generic.h:901 net/sched/sch_netem.c:712) sch_netem [ 22.701878][ C2] 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 89 09 00 00 66 83 7d 06 00 74 04 90 <0f> 0b 90 48 b8 00 00 00 00 00 fc ff df 4c 89 d2 48 c1 ea 03 0f b6 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 89 09 00 00 jne 0x9ab 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: 4c 89 d2 mov %r10,%rdx 3a: 48 c1 ea 03 shr $0x3,%rdx 3e: 0f .byte 0xf 3f: b6 .byte 0xb6 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: 4c 89 d2 mov %r10,%rdx 10: 48 c1 ea 03 shr $0x3,%rdx 14: 0f .byte 0xf 15: b6 .byte 0xb6 [ 22.703084][ C2] RSP: 0018:ffffc90000218d18 EFLAGS: 00010202 [ 22.703545][ C2] RAX: 0000000000000007 RBX: ffff88800abfb400 RCX: 0000000000000017 [ 22.704082][ C2] RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffff88800bcf4506 [ 22.704601][ C2] RBP: ffff88800bcf4500 R08: 00000005727165c3 R09: 0000000000000001 [ 22.705132][ C2] R10: ffff88800ca7c148 R11: ffffffffb9da2008 R12: 0000000000000001 [ 22.705644][ C2] R13: dffffc0000000000 R14: ffff88800ca7c120 R15: ffff88800ca7c120 [ 22.706192][ C2] FS: 00007f6b30d0db80(0000) GS:ffff88807d083000(0000) knlGS:0000000000000000 [ 22.706789][ C2] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 22.707248][ C2] CR2: 00007f6b30e203a0 CR3: 0000000009001003 CR4: 0000000000772ef0 [ 22.707764][ C2] PKRU: 55555554 [ 22.708051][ C2] Call Trace: [ 22.708337][ C2] [ 22.708638][ C2] ? get_slot_next (net/sched/sch_netem.c:703) sch_netem [ 22.709105][ C2] ? skb_defer_free_flush (net/core/dev.c:6786) [ 22.709470][ C2] ? __napi_poll.constprop.0 (net/core/dev.c:7673) [ 22.709831][ C2] dequeue_skb (net/sched/sch_generic.c:297) [ 22.710222][ C2] __qdisc_run (net/sched/sch_generic.c:403 net/sched/sch_generic.c:420) [ 22.710567][ C2] ? sch_direct_xmit (net/sched/sch_generic.c:416) [ 22.710926][ C2] ? 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) [ 22.711300][ C2] ? spin_bug (kernel/locking/spinlock_debug.c:114) [ 22.711566][ C2] ? lock_acquire (./include/trace/events/lock.h:24 kernel/locking/lockdep.c:5831) [ 22.711922][ C2] ? net_tx_action (./include/linux/spinlock.h:352 net/core/dev.c:5767) [ 22.712298][ C2] net_tx_action (./include/net/sch_generic.h:223 ./include/net/pkt_sched.h:121 ./include/net/pkt_sched.h:117 net/core/dev.c:5783) [ 22.712646][ C2] handle_softirqs (kernel/softirq.c:623) [ 22.713016][ C2] ? __neigh_event_send (./include/linux/bottom_half.h:33 net/core/neighbour.c:1273) [ 22.713390][ C2] do_softirq (kernel/softirq.c:523 kernel/softirq.c:510) [ 22.713657][ C2] [ 22.713856][ C2] [ 22.714050][ C2] __local_bh_enable_ip (kernel/softirq.c:450) [ 22.714411][ C2] __neigh_event_send (net/core/neighbour.c:1274) [ 22.714779][ C2] neigh_resolve_output (net/core/neighbour.c:1578) [ 22.715142][ C2] ? ___neigh_create (net/core/neighbour.c:727) [ 22.715501][ C2] ip_finish_output2 (./include/net/neighbour.h:556 net/ipv4/ip_output.c:237) [ 22.715862][ C2] ? ip_skb_dst_mtu (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:897 ./include/net/ip.h:504 ./include/net/ip.h:518) [ 22.716224][ C2] ? ip_append_data.part.0 (net/ipv4/ip_output.c:201) [ 22.716565][ C2] ? ip_skb_dst_mtu (./include/net/ip.h:523) [ 22.716927][ C2] ? __ip_finish_output (./include/linux/skbuff.h:1724 ./include/linux/skbuff.h:5149 net/ipv4/ip_output.c:309 net/ipv4/ip_output.c:297) [ 22.717300][ C2] ip_output (./include/linux/netfilter.h:307 net/ipv4/ip_output.c:438) [ 22.717569][ C2] ? ip_finish_output (net/ipv4/ip_output.c:429) [ 22.717922][ C2] ? find_held_lock (kernel/locking/lockdep.c:5350) [ 22.718304][ C2] __ip_queue_xmit (./include/net/dst.h:464 net/ipv4/ip_output.c:131 net/ipv4/ip_output.c:534) [ 22.718647][ 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:1585 (discriminator 4)) [ 22.719020][ C2] __tcp_transmit_skb (net/ipv4/tcp_output.c:1628) [ 22.719394][ C2] ? __tcp_select_window (net/ipv4/tcp_output.c:1449) [ 22.719765][ C2] tcp_connect (net/ipv4/tcp_output.c:1646 net/ipv4/tcp_output.c:4335) [ 22.720131][ C2] tcp_v4_connect (net/ipv4/tcp_ipv4.c:347) [ 22.720496][ C2] ? bpf_iter_init_tcp (net/ipv4/tcp_ipv4.c:225) [ 22.720861][ C2] ? __local_bh_enable_ip (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:119 kernel/softirq.c:455) [ 22.721231][ C2] mptcp_connect (net/mptcp/protocol.c:3803) [ 22.721579][ C2] __inet_stream_connect (net/ipv4/af_inet.c:679) [ 22.721935][ C2] ? __local_bh_enable_ip (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:119 kernel/softirq.c:455) [ 22.722301][ C2] ? __inet_stream_connect (net/ipv4/af_inet.c:746) [ 22.722639][ C2] inet_stream_connect (net/ipv4/af_inet.c:751) [ 22.722999][ C2] __sys_connect (./include/linux/file.h:62 ./include/linux/file.h:83 net/socket.c:2111) [ 22.723380][ C2] ? __sys_connect_file (net/socket.c:2109) [ 22.723744][ C2] ? __sys_setsockopt (./include/linux/file.h:62 ./include/linux/file.h:83 net/socket.c:2377) [ 22.724105][ C2] __x64_sys_connect (net/socket.c:2124) [ 22.724458][ C2] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4472) [ 22.724812][ C2] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [ 22.725184][ C2] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 22.725603][ C2] RIP: 0033:0x7f6b30e1fd67 [ 22.725977][ C2] Code: 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 2a 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 51 c3 48 83 ec 18 89 54 24 0c 48 89 34 24 89 All code ======== 0: 64 89 01 mov %eax,%fs:(%rcx) 3: 48 83 c8 ff or $0xffffffffffffffff,%rax 7: c3 ret 8: 66 2e 0f 1f 84 00 00 cs nopw 0x0(%rax,%rax,1) f: 00 00 00 12: 90 nop 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 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 51 ja 0x83 32: c3 ret 33: 48 83 ec 18 sub $0x18,%rsp 37: 89 54 24 0c mov %edx,0xc(%rsp) 3b: 48 89 34 24 mov %rsi,(%rsp) 3f: 89 .byte 0x89 Code starting with the faulting instruction =========================================== 0: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax 6: 77 51 ja 0x59 8: c3 ret 9: 48 83 ec 18 sub $0x18,%rsp d: 89 54 24 0c mov %edx,0xc(%rsp) 11: 48 89 34 24 mov %rsi,(%rsp) 15: 89 .byte 0x89 [ 22.727208][ C2] RSP: 002b:00007ffe1506f2c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002a [ 22.727722][ C2] RAX: ffffffffffffffda RBX: 000000001ba8a2a0 RCX: 00007f6b30e1fd67 [ 22.728256][ C2] RDX: 0000000000000010 RSI: 000000001ba8a2d0 RDI: 0000000000000005 [ 22.728770][ C2] RBP: 0000000000000005 R08: 0000000000000005 R09: 0000000000000001 [ 22.729301][ C2] R10: 00007f6b30d16618 R11: 0000000000000246 R12: 0000000000000000 Finger prints: netem_dequeue:dequeue_skb:__qdisc_run:net_tx_action:handle_softirqs