======================================
| # TEST: mirred egress matchall mirror (skip_hw) [ OK ]
| [ 1121.775177] ping (6965) used greatest stack depth: 11512 bytes left
| # TEST: mirred_egress_to_ingress (skip_hw) [ OK ]
| # [ 1128.716099] irq 4: nobody cared (try booting with the "irqpoll" option)
[ 1128.716840] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 1128.717435] Call Trace:
[ 1128.717569]
[ 1128.717686] dump_stack_lvl (lib/dump_stack.c:108)
[ 1128.717886] __report_bad_irq (kernel/irq/spurious.c:214)
[ 1128.718092] note_interrupt (kernel/irq/spurious.c:423)
[ 1128.718300] handle_irq_event (kernel/irq/handle.c:198 kernel/irq/handle.c:210)
[ 1128.718508] handle_edge_irq (kernel/irq/chip.c:833)
[ 1128.718716] __common_interrupt (./include/asm-generic/irq_regs.h:29 (discriminator 22) arch/x86/kernel/irq.c:270 (discriminator 22))
[ 1128.718937] common_interrupt (arch/x86/kernel/irq.c:247 (discriminator 14))
[ 1128.719147]
[ 1128.719267]
[ 1128.719387] asm_common_interrupt (./arch/x86/include/asm/idtentry.h:640)
[ 1128.719612] RIP: 0010:_raw_spin_unlock_irqrestore (./include/linux/spinlock_api_smp.h:152 kernel/locking/spinlock.c:194)
[ 1128.719908] Code: c7 18 53 48 89 f3 48 8b 74 24 10 e8 f1 39 39 ff 48 89 ef e8 a9 6a 39 ff 80 e7 02 74 06 e8 2f 93 46 ff fb 65 ff 0d 8f e4 bf 6e <74> 07 5b 5d c3 cc cc cc cc 0f 1f 44 00 00 5b 5d c3 cc cc cc cc 66
All code
========
0: c7 (bad)
1: 18 53 48 sbb %dl,0x48(%rbx)
4: 89 f3 mov %esi,%ebx
6: 48 8b 74 24 10 mov 0x10(%rsp),%rsi
b: e8 f1 39 39 ff call 0xffffffffff393a01
10: 48 89 ef mov %rbp,%rdi
13: e8 a9 6a 39 ff call 0xffffffffff396ac1
18: 80 e7 02 and $0x2,%bh
1b: 74 06 je 0x23
1d: e8 2f 93 46 ff call 0xffffffffff469351
22: fb sti
23: 65 ff 0d 8f e4 bf 6e decl %gs:0x6ebfe48f(%rip) # 0x6ebfe4b9
2a:* 74 07 je 0x33 <-- trapping instruction
2c: 5b pop %rbx
2d: 5d pop %rbp
2e: c3 ret
2f: cc int3
30: cc int3
31: cc int3
32: cc int3
33: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1)
38: 5b pop %rbx
39: 5d pop %rbp
3a: c3 ret
3b: cc int3
3c: cc int3
3d: cc int3
3e: cc int3
3f: 66 data16
Code starting with the faulting instruction
===========================================
0: 74 07 je 0x9
2: 5b pop %rbx
3: 5d pop %rbp
4: c3 ret
5: cc int3
6: cc int3
7: cc int3
8: cc int3
9: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1)
e: 5b pop %rbx
f: 5d pop %rbp
10: c3 ret
11: cc int3
12: cc int3
13: cc int3
14: cc int3
15: 66 data16
[ 1128.720869] RSP: 0018:ffffbc9ac6a0fd18 EFLAGS: 00000286
[ 1128.721149] RAX: 000000000052feb7 RBX: 0000000000000282 RCX: 0000000000000040
[ 1128.721524] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff91430ab1
[ 1128.721923] RBP: ffffffff93600f20 R08: 0000000000000001 R09: 0000000000000001
[ 1128.722302] R10: 0000000000000005 R11: 0000000000000001 R12: 0000000000000001
[ 1128.722745] R13: 0000000000000000 R14: ffff9c5b82468801 R15: ffff9c5b82270000
[ 1128.723254] ? _raw_spin_unlock_irqrestore (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:77 ./arch/x86/include/asm/irqflags.h:135 ./include/linux/spinlock_api_smp.h:151 kernel/locking/spinlock.c:194)
[ 1128.723634] ? _raw_spin_unlock_irqrestore (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:77 ./arch/x86/include/asm/irqflags.h:135 ./include/linux/spinlock_api_smp.h:151 kernel/locking/spinlock.c:194)
[ 1128.724022] uart_write (drivers/tty/serial/serial_core.c:74 drivers/tty/serial/serial_core.c:616)
[ 1128.724323] n_tty_write (drivers/tty/n_tty.c:576 drivers/tty/n_tty.c:2379)
[ 1128.724620] ? __pfx_woken_wake_function (kernel/sched/wait.c:439)
[ 1128.725003] file_tty_write.constprop.0 (drivers/tty/tty_io.c:1021 drivers/tty/tty_io.c:1096)
[ 1128.725389] vfs_write (./include/linux/fs.h:2085 fs/read_write.c:497 fs/read_write.c:590)
[ 1128.725668] ksys_write (fs/read_write.c:643)
[ 1128.725942] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83)
[ 1128.726237] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129)
[ 1128.726639] RIP: 0033:0x7f3313af8957
[ 1128.726925] Code: 0b 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 51 c3 48 83 ec 28 48 89 54 24 18 48 89 74 24
All code
========
0: 0b 00 or (%rax),%eax
2: f7 d8 neg %eax
4: 64 89 02 mov %eax,%fs:(%rdx)
7: 48 c7 c0 ff ff ff ff mov $0xffffffffffffffff,%rax
e: eb b7 jmp 0xffffffffffffffc7
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 01 00 00 00 mov $0x1,%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 28 sub $0x28,%rsp
37: 48 89 54 24 18 mov %rdx,0x18(%rsp)
3c: 48 rex.W
3d: 89 .byte 0x89
3e: 74 24 je 0x64
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 28 sub $0x28,%rsp
d: 48 89 54 24 18 mov %rdx,0x18(%rsp)
12: 48 rex.W
13: 89 .byte 0x89
14: 74 24 je 0x3a
[ 1128.728330] RSP: 002b:00007ffc2826de28 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
[ 1128.728925] RAX: ffffffffffffffda RBX: 000055e1d4f8edb0 RCX: 00007f3313af8957
[ 1128.729475] RDX: 0000000000000001 RSI: 000055e1d4f8edb0 RDI: 0000000000000001
[ 1128.730023] RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000002000
[ 1128.730569] R10: 0000000000000001 R11: 0000000000000246 R12: 000055e1d4f7b4e0
[ 1128.731115] R13: 000055e1d4f5c2a0 R14: 0000000000000001 R15: 000055e1d4f7b4e0
| [ 1159.971325] #10: ffffffff921678c0 (rcu_read_lock){....}-{1:2}, at: netif_receive_skb (./include/linux/rcupdate.h:298 ./include/linux/rcupdate.h:750 net/core/dev.c:5729 net/core/dev.c:5801)
| [ 1159.971781] #11: ffffffff921678c0 (rcu_read_lock){....}-{1:2}, at: ip_local_deliver_finish (./include/linux/rcupdate.h:298 ./include/linux/rcupdate.h:750 net/ipv4/ip_input.c:232)
| [ 1159.972263]
| [ 1159.972263] stack backtrace:
[ 1159.972837] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 1159.973424] Call Trace:
[ 1159.973559]
[ 1159.973674] dump_stack_lvl (lib/dump_stack.c:108)
[ 1159.973876] __lock_acquire (kernel/locking/lockdep.c:5138)
[ 1159.974096] ? sk_filter_trim_cap (./include/linux/rcupdate.h:298 ./include/linux/rcupdate.h:750 net/core/filter.c:151)
[ 1159.974341] lock_acquire (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756 kernel/locking/lockdep.c:5719)
[ 1159.974537] ? tcp_v4_rcv (./include/linux/skbuff.h:1619 ./include/net/tcp.h:2510 net/ipv4/tcp_ipv4.c:2326)
[ 1159.974732] ? sk_filter_trim_cap (net/core/filter.c:165)
[ 1159.974963] _raw_spin_lock_nested (kernel/locking/spinlock.c:379)
[ 1159.975193] ? tcp_v4_rcv (./include/linux/skbuff.h:1619 ./include/net/tcp.h:2510 net/ipv4/tcp_ipv4.c:2326)
[ 1159.975392] tcp_v4_rcv (./include/linux/skbuff.h:1619 ./include/net/tcp.h:2510 net/ipv4/tcp_ipv4.c:2326)
[ 1159.975584] ip_protocol_deliver_rcu (net/ipv4/ip_input.c:205 (discriminator 1))
[ 1159.975829] ip_local_deliver_finish (./include/linux/rcupdate.h:779 net/ipv4/ip_input.c:234)
[ 1159.976074] __netif_receive_skb_one_core (net/core/dev.c:5542 (discriminator 4))
[ 1159.976337] netif_receive_skb (net/core/dev.c:5742 net/core/dev.c:5801)
[ 1159.976554] tcf_mirred_to_dev (net/sched/act_mirred.c:327) act_mirred
[ 1159.976837] tcf_mirred_act (net/sched/act_mirred.c:459 (discriminator 2)) act_mirred
[ 1159.977103] ? tcf_skbedit_act (net/sched/act_skbedit.c:51 (discriminator 3)) act_skbedit
[ 1159.977386] tcf_action_exec (net/sched/act_api.c:1101 net/sched/act_api.c:1074)
[ 1159.977592] fl_classify (net/sched/cls_flower.c:345) cls_flower
[ 1159.977851] ? fl_mask_lookup (net/sched/cls_flower.c:296) cls_flower
[ 1159.978122] ? __pfx_usage_match (kernel/locking/lockdep.c:2256)
[ 1159.978343] ? __bfs (kernel/locking/lockdep.c:1787)
[ 1159.978513] ? check_irq_usage (kernel/locking/lockdep.c:2823)
[ 1159.978733] ? check_path.constprop.0 (kernel/locking/lockdep.c:2145)
[ 1159.978979] ? check_noncircular (kernel/locking/lockdep.c:2172)
[ 1159.979204] ? lock_release (kernel/locking/lockdep.c:5430 kernel/locking/lockdep.c:5774)
[ 1159.979413] ? __lock_acquire (kernel/locking/lockdep.c:5133 (discriminator 1))
[ 1159.979633] tcf_classify (./include/net/tc_wrapper.h:197 net/sched/cls_api.c:1734 net/sched/cls_api.c:1830)
[ 1159.979834] tc_run (net/core/dev.c:3945)
[ 1159.980004] __dev_queue_xmit (net/core/dev.c:4069 net/core/dev.c:4301)
[ 1159.980223] ? mark_held_locks (kernel/locking/lockdep.c:4274)
[ 1159.980432] ip_finish_output2 (./include/linux/netdevice.h:3171 ./include/net/neighbour.h:526 ./include/net/neighbour.h:540 net/ipv4/ip_output.c:235)
[ 1159.980651] ? __ip_queue_xmit (net/ipv4/ip_output.c:535)
[ 1159.980870] __ip_queue_xmit (net/ipv4/ip_output.c:535)
[ 1159.981081] __tcp_transmit_skb (net/ipv4/tcp_output.c:1462 (discriminator 4))
[ 1159.981308] ? __alloc_skb (net/core/skbuff.c:667)
[ 1159.981508] tcp_fin (net/ipv4/tcp_input.c:4522)
[ 1159.981686] tcp_data_queue (net/ipv4/tcp_input.c:5203)
[ 1159.981890] tcp_rcv_state_process (net/ipv4/tcp_input.c:6869)
[ 1159.982129] ? tcp_v4_rcv (./include/linux/skbuff.h:1619 ./include/net/tcp.h:2510 net/ipv4/tcp_ipv4.c:2326)
[ 1159.982325] ? tcp_v4_do_rcv (net/ipv4/tcp_ipv4.c:1929)
[ 1159.982529] tcp_v4_do_rcv (net/ipv4/tcp_ipv4.c:1929)
[ 1159.982727] tcp_v4_rcv (net/ipv4/tcp_ipv4.c:2329)
[ 1159.982917] ? process_backlog (net/core/dev.c:5978 (discriminator 2))
[ 1159.983130] ip_protocol_deliver_rcu (net/ipv4/ip_input.c:205 (discriminator 1))
[ 1159.983371] ip_local_deliver_finish (./include/linux/rcupdate.h:779 net/ipv4/ip_input.c:234)
[ 1159.983613] __netif_receive_skb_one_core (net/core/dev.c:5542 (discriminator 4))
[ 1159.983870] process_backlog (./include/linux/rcupdate.h:779 net/core/dev.c:5985)
[ 1159.984076] __napi_poll.constprop.0 (net/core/dev.c:6584)
[ 1159.984328] net_rx_action (net/core/dev.c:6655 net/core/dev.c:6786)
[ 1159.984537] __do_softirq (./arch/x86/include/asm/jump_label.h:27 ./include/linux/jump_label.h:207 ./include/trace/events/irq.h:142 kernel/softirq.c:554)
[ 1159.984731] irq_exit_rcu (kernel/softirq.c:427 kernel/softirq.c:632 kernel/softirq.c:644)
[ 1159.984926] sysvec_apic_timer_interrupt (arch/x86/kernel/apic/apic.c:1076 (discriminator 14))
[ 1159.985186]
[ 1159.985302]
[ 1159.985419] asm_sysvec_apic_timer_interrupt (./arch/x86/include/asm/idtentry.h:649)
[ 1159.985694] RIP: 0010:_raw_spin_unlock_irqrestore (./include/linux/spinlock_api_smp.h:152 kernel/locking/spinlock.c:194)
[ 1159.986010] Code: c7 18 53 48 89 f3 48 8b 74 24 10 e8 f1 39 39 ff 48 89 ef e8 a9 6a 39 ff 80 e7 02 74 06 e8 2f 93 46 ff fb 65 ff 0d 8f e4 bf 6e <74> 07 5b 5d c3 cc cc cc cc 0f 1f 44 00 00 5b 5d c3 cc cc cc cc 66
All code
========
0: c7 (bad)
1: 18 53 48 sbb %dl,0x48(%rbx)
4: 89 f3 mov %esi,%ebx
6: 48 8b 74 24 10 mov 0x10(%rsp),%rsi
b: e8 f1 39 39 ff call 0xffffffffff393a01
10: 48 89 ef mov %rbp,%rdi
13: e8 a9 6a 39 ff call 0xffffffffff396ac1
18: 80 e7 02 and $0x2,%bh
1b: 74 06 je 0x23
1d: e8 2f 93 46 ff call 0xffffffffff469351
22: fb sti
23: 65 ff 0d 8f e4 bf 6e decl %gs:0x6ebfe48f(%rip) # 0x6ebfe4b9
2a:* 74 07 je 0x33 <-- trapping instruction
2c: 5b pop %rbx
2d: 5d pop %rbp
2e: c3 ret
2f: cc int3
30: cc int3
31: cc int3
32: cc int3
33: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1)
38: 5b pop %rbx
39: 5d pop %rbp
3a: c3 ret
3b: cc int3
3c: cc int3
3d: cc int3
3e: cc int3
3f: 66 data16
Code starting with the faulting instruction
===========================================
0: 74 07 je 0x9
2: 5b pop %rbx
3: 5d pop %rbp
4: c3 ret
5: cc int3
6: cc int3
7: cc int3
8: cc int3
9: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1)
e: 5b pop %rbx
f: 5d pop %rbp
10: c3 ret
11: cc int3
12: cc int3
13: cc int3
14: cc int3
15: 66 data16
[ 1159.986974] RSP: 0018:ffffbc9ac6a0fd18 EFLAGS: 00000286
[ 1159.987252] RAX: 0000000002815a59 RBX: 0000000000000282 RCX: 0000000000000040
[ 1159.987626] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff91430ab1
[ 1159.988006] RBP: ffffffff93600f20 R08: 0000000000000001 R09: 0000000000000001
[ 1159.988383] R10: 0000000000000005 R11: 0000000000000001 R12: 0000000000000001
[ 1159.988756] R13: 0000000000000000 R14: ffff9c5b82468801 R15: ffff9c5b82270000
[ 1159.989130] ? _raw_spin_unlock_irqrestore (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:77 ./arch/x86/include/asm/irqflags.h:135 ./include/linux/spinlock_api_smp.h:151 kernel/locking/spinlock.c:194)
[ 1159.989397] ? _raw_spin_unlock_irqrestore (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:77 ./arch/x86/include/asm/irqflags.h:135 ./include/linux/spinlock_api_smp.h:151 kernel/locking/spinlock.c:194)
[ 1159.989659] uart_write (drivers/tty/serial/serial_core.c:74 drivers/tty/serial/serial_core.c:616)
[ 1159.989853] n_tty_write (drivers/tty/n_tty.c:576 drivers/tty/n_tty.c:2379)
[ 1159.990050] ? __pfx_woken_wake_function (kernel/sched/wait.c:439)
[ 1159.990305] file_tty_write.constprop.0 (drivers/tty/tty_io.c:1021 drivers/tty/tty_io.c:1096)
[ 1159.990569] vfs_write (./include/linux/fs.h:2085 fs/read_write.c:497 fs/read_write.c:590)
[ 1159.990757] ksys_write (fs/read_write.c:643)
[ 1159.990938] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83)
[ 1159.991136] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129)
[ 1159.991404] RIP: 0033:0x7f3313af8957
[ 1159.991597] Code: 0b 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 51 c3 48 83 ec 28 48 89 54 24 18 48 89 74 24
All code
========
0: 0b 00 or (%rax),%eax
2: f7 d8 neg %eax
4: 64 89 02 mov %eax,%fs:(%rdx)
7: 48 c7 c0 ff ff ff ff mov $0xffffffffffffffff,%rax
e: eb b7 jmp 0xffffffffffffffc7
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 01 00 00 00 mov $0x1,%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 28 sub $0x28,%rsp
37: 48 89 54 24 18 mov %rdx,0x18(%rsp)
3c: 48 rex.W
3d: 89 .byte 0x89
3e: 74 24 je 0x64
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 28 sub $0x28,%rsp
d: 48 89 54 24 18 mov %rdx,0x18(%rsp)
12: 48 rex.W
13: 89 .byte 0x89
14: 74 24 je 0x3a
[ 1159.992561] RSP: 002b:00007ffc2826de28 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
[ 1159.992956] RAX: ffffffffffffffda RBX: 000055e1d4f8edb0 RCX: 00007f3313af8957
[ 1159.993326] RDX: 0000000000000001 RSI: 000055e1d4f8edb0 RDI: 0000000000000001
[ 1159.993697] RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000002000
[ 1159.994065] R10: 0000000000000001 R11: 0000000000000246 R12: 000055e1d4f7b4e0
Finger prints:
dump_stack_lvl:__report_bad_irq:note_interrupt:handle_irq_event
dump_stack_lvl:__lock_acquire:lock_acquire:_raw_spin_lock_nested