======================================
| [ 20.012526][ T303] netem: version 1.3
| [ 21.637811][ C2] ------------[ cut here ]------------
| [ 21.638347][ C2] WARNING: CPU: 2 PID: 317 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
| [ 21.639036][ C2] Modules linked in: sch_netem
[ 21.640147][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[ 21.640584][ 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
[ 21.641045][ 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
[ 21.642253][ C2] RSP: 0018:ffffc90000218d18 EFLAGS: 00010202
[ 21.642700][ C2] RAX: 0000000000000007 RBX: ffff88800ffb6400 RCX: 0000000000000017
[ 21.643211][ C2] RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffff888004f1cc06
[ 21.643739][ C2] RBP: ffff888004f1cc00 R08: 000000052db6efda R09: 0000000000000001
[ 21.644253][ C2] R10: ffff888004f28148 R11: ffffffffaa5a2008 R12: 0000000000000001
[ 21.644773][ C2] R13: dffffc0000000000 R14: ffff888004f28120 R15: ffff888004f28120
[ 21.645391][ C2] FS: 00007f0c89586b80(0000) GS:ffff88808c883000(0000) knlGS:0000000000000000
[ 21.646017][ C2] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 21.646452][ C2] CR2: 0000000039daa008 CR3: 0000000010b83004 CR4: 0000000000772ef0
[ 21.646983][ C2] PKRU: 55555554
[ 21.647254][ C2] Call Trace:
[ 21.647537][ C2]
[ 21.647747][ C2] ? get_slot_next (net/sched/sch_netem.c:703) sch_netem
[ 21.648178][ C2] ? skb_defer_free_flush (net/core/dev.c:6786)
[ 21.648536][ C2] ? __napi_poll.constprop.0 (net/core/dev.c:7673)
[ 21.648899][ C2] dequeue_skb (net/sched/sch_generic.c:297)
[ 21.649262][ C2] __qdisc_run (net/sched/sch_generic.c:403 net/sched/sch_generic.c:420)
[ 21.649621][ C2] ? sch_direct_xmit (net/sched/sch_generic.c:416)
[ 21.649971][ 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)
[ 21.650318][ C2] ? spin_bug (kernel/locking/spinlock_debug.c:114)
[ 21.650594][ C2] ? lock_acquire (./include/trace/events/lock.h:24 kernel/locking/lockdep.c:5831)
[ 21.650943][ C2] ? net_tx_action (./include/linux/spinlock.h:352 net/core/dev.c:5767)
[ 21.651301][ 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)
[ 21.651664][ C2] handle_softirqs (kernel/softirq.c:623)
[ 21.652023][ C2] ? __neigh_event_send (./include/linux/bottom_half.h:33 net/core/neighbour.c:1273)
[ 21.652372][ C2] do_softirq (kernel/softirq.c:523 kernel/softirq.c:510)
[ 21.652647][ C2]
[ 21.652845][ C2]
[ 21.653031][ C2] __local_bh_enable_ip (kernel/softirq.c:450)
[ 21.653382][ C2] __neigh_event_send (net/core/neighbour.c:1274)
[ 21.653761][ C2] neigh_resolve_output (net/core/neighbour.c:1578)
[ 21.654107][ C2] ? ___neigh_create (net/core/neighbour.c:727)
[ 21.654457][ C2] ip_finish_output2 (./include/net/neighbour.h:556 net/ipv4/ip_output.c:237)
[ 21.654823][ 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)
[ 21.655168][ C2] ? ip_append_data.part.0 (net/ipv4/ip_output.c:201)
[ 21.655534][ C2] ? ip_skb_dst_mtu (./include/net/ip.h:523)
[ 21.655889][ 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)
[ 21.656234][ C2] ip_output (./include/linux/netfilter.h:307 net/ipv4/ip_output.c:438)
[ 21.656518][ C2] ? ip_finish_output (net/ipv4/ip_output.c:429)
[ 21.656873][ C2] ? find_held_lock (kernel/locking/lockdep.c:5350)
[ 21.657235][ C2] __ip_queue_xmit (./include/net/dst.h:464 net/ipv4/ip_output.c:131 net/ipv4/ip_output.c:534)
[ 21.657596][ 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))
[ 21.657954][ C2] __tcp_transmit_skb (net/ipv4/tcp_output.c:1628)
[ 21.658315][ C2] ? __tcp_select_window (net/ipv4/tcp_output.c:1449)
[ 21.658694][ C2] tcp_connect (net/ipv4/tcp_output.c:1646 net/ipv4/tcp_output.c:4335)
[ 21.659053][ C2] tcp_v4_connect (net/ipv4/tcp_ipv4.c:347)
[ 21.659407][ C2] ? bpf_iter_init_tcp (net/ipv4/tcp_ipv4.c:225)
[ 21.659770][ C2] ? __local_bh_enable_ip (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:119 kernel/softirq.c:455)
[ 21.660119][ C2] mptcp_connect (net/mptcp/protocol.c:3803)
[ 21.660466][ C2] __inet_stream_connect (net/ipv4/af_inet.c:679)
[ 21.660830][ C2] ? __local_bh_enable_ip (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:119 kernel/softirq.c:455)
[ 21.661177][ C2] ? __inet_stream_connect (net/ipv4/af_inet.c:746)
[ 21.661527][ C2] inet_stream_connect (net/ipv4/af_inet.c:751)
[ 21.661880][ C2] __sys_connect (./include/linux/file.h:62 ./include/linux/file.h:83 net/socket.c:2111)
[ 21.662233][ C2] ? __sys_connect_file (net/socket.c:2109)
[ 21.662598][ C2] ? __sys_setsockopt (./include/linux/file.h:62 ./include/linux/file.h:83 net/socket.c:2377)
[ 21.662957][ C2] __x64_sys_connect (net/socket.c:2124)
[ 21.663301][ C2] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4472)
[ 21.663663][ C2] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94)
[ 21.664021][ C2] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130)
[ 21.664443][ C2] RIP: 0033:0x7f0c89698d67
[ 21.664822][ 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
[ 21.666026][ C2] RSP: 002b:00007ffe7020c7c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002a
[ 21.666545][ C2] RAX: ffffffffffffffda RBX: 0000000039daa2a0 RCX: 00007f0c89698d67
[ 21.667066][ C2] RDX: 0000000000000010 RSI: 0000000039daa2d0 RDI: 0000000000000005
[ 21.667582][ C2] RBP: 0000000000000005 R08: 0000000000000005 R09: 0000000000000001
[ 21.668098][ C2] R10: 00007f0c8958f618 R11: 0000000000000246 R12: 0000000000000000
Finger prints:
netem_dequeue:dequeue_skb:__qdisc_run:net_tx_action:handle_softirqs