make -C tools/testing/selftests TARGETS=net/forwarding TEST_PROGS=q_in_vnii.sh TEST_GEN_PROGS="" run_tests
make: Entering directory '/home/virtme/testing-2/tools/testing/selftests'
make[1]: Entering directory '/home/virtme/testing-2/tools/testing/selftests/net/forwarding'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/virtme/testing-2/tools/testing/selftests/net/forwarding'
make[1]: Entering directory '/home/virtme/testing-2/tools/testing/selftests/net/forwarding'
TAP version 13
1..1
# timeout set to 10800
# selftests: net/forwarding: q_in_vni.sh
[ 17.129261] br1: port 1(vx100) entered blocking state
[ 17.130102] br1: port 1(vx100) entered disabled state
[ 17.130877] vx100: entered allmulticast mode
[ 17.131606] vx100: entered promiscuous mode
[ 17.132235] br1: port 1(vx100) entered blocking state
[ 17.132923] br1: port 1(vx100) entered forwarding state
[ 17.160432] br1: port 2(veth1) entered blocking state
[ 17.160893] br1: port 2(veth1) entered disabled state
[ 17.161326] veth1: entered allmulticast mode
[ 17.161813] veth1: entered promiscuous mode
[ 17.173559] br1: port 2(veth1) entered blocking state
[ 17.173904] br1: port 2(veth1) entered forwarding state
[ 17.198233] br1: port 3(veth2) entered blocking state
[ 17.198654] br1: port 3(veth2) entered disabled state
[ 17.199076] veth2: entered allmulticast mode
[ 17.199544] veth2: entered promiscuous mode
[ 17.212610] br1: port 3(veth2) entered blocking state
[ 17.213049] br1: port 3(veth2) entered forwarding state
[ 17.645104] br2: port 1(w1) entered blocking state
[ 17.645479] br2: port 1(w1) entered disabled state
[ 17.645847] w1: entered allmulticast mode
[ 17.646275] w1: entered promiscuous mode
[ 17.727080] br2: port 2(vx100) entered blocking state
[ 17.727487] br2: port 2(vx100) entered disabled state
[ 17.727844] vx100: entered allmulticast mode
[ 17.728355] vx100: entered promiscuous mode
[ 17.728689] br2: port 2(vx100) entered blocking state
[ 17.729026] br2: port 2(vx100) entered forwarding state
[ 17.819569] br2: port 1(w1) entered blocking state
[ 17.820019] br2: port 1(w1) entered forwarding state
[ 18.111889] br2: port 1(w1) entered blocking state
[ 18.112184] br2: port 1(w1) entered disabled state
[ 18.112451] w1: entered allmulticast mode
[ 18.112744] w1: entered promiscuous mode
[ 18.182158] br2: port 2(vx100) entered blocking state
[ 18.182465] br2: port 2(vx100) entered disabled state
[ 18.182764] vx100: entered allmulticast mode
[ 18.183094] vx100: entered promiscuous mode
[ 18.183340] br2: port 2(vx100) entered blocking state
[ 18.183615] br2: port 2(vx100) entered forwarding state
[ 18.264198] br2: port 1(w1) entered blocking state
[ 18.264495] br2: port 1(w1) entered forwarding state
# Running tests with UDP port 4789
# TEST: ping: local->local [ OK ]
# TEST: ping: local->remote 1 [ OK ]
# TEST: ping: local->remote 2 [ OK ]
[ 26.755681] vx100: left allmulticast mode
[ 26.756006] vx100: left promiscuous mode
[ 26.756242] br2: port 2(vx100) entered disabled state
[ 26.765110] w1: left allmulticast mode
[ 26.765511] w1: left promiscuous mode
[ 26.765857] br2: port 1(w1) entered disabled state
[ 26.779096] ------------[ cut here ]------------
[ 26.779369] refcount_t: underflow; use-after-free.
[ 26.779646] WARNING: CPU: 1 PID: 11 at lib/refcount.c:28 refcount_warn_saturate+0xd0/0x130
[ 26.780103] Modules linked in: vxlan ip6_udp_tunnel udp_tunnel bridge stp llc sch_ingress ip_gre gre 8021q vrf veth
[ 26.780675] CPU: 1 PID: 11 Comm: kworker/u8:0 Not tainted 6.8.0-rc2-virtme #1
[ 26.781068] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 26.781693] Workqueue: netns cleanup_net
[ 26.781944] RIP: 0010:refcount_warn_saturate+0xd0/0x130
[ 26.782240] Code: 0b 90 90 c3 cc cc cc cc 80 3d a1 b9 66 01 00 0f 85 75 ff ff ff c6 05 94 b9 66 01 01 90 48 c7 c7 a0 70 af 8b e8 71 92 b4 ff 90 <0f> 0b 90 90 c3 cc cc cc cc 80 3d 74 b9 66 01 00 0f 85 4a ff ff ff
[ 26.783217] RSP: 0018:ffffc08dc0063d78 EFLAGS: 00010286
[ 26.783501] RAX: 0000000000000000 RBX: ffff9ac9423e8000 RCX: 00000000ffffdfff
[ 26.783884] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001
[ 26.784259] RBP: ffff9ac9423e85f8 R08: ffffffff8bf64508 R09: 00000000ffffdfff
[ 26.784633] R10: ffffffff8be84520 R11: ffffffff8bf34520 R12: ffff9ac9423e8000
[ 26.785017] R13: ffffc08dc0063e08 R14: ffff9ac9423e8b60 R15: ffff9ac945040050
[ 26.785394] FS: 0000000000000000(0000) GS:ffff9ac97ec80000(0000) knlGS:0000000000000000
[ 26.785832] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 26.786144] CR2: 00007f1bc1393270 CR3: 000000001324c004 CR4: 00000000001706f0
[ 26.786523] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 26.786905] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 26.787278] Call Trace:
[ 26.787417]
[ 26.787541] ? __warn+0x84/0x170
[ 26.787726] ? refcount_warn_saturate+0xd0/0x130
[ 26.787987] ? report_bug+0x199/0x1b0
[ 26.788193] ? handle_bug+0x3d/0x70
[ 26.788385] ? exc_invalid_op+0x18/0x70
[ 26.788592] ? asm_exc_invalid_op+0x1a/0x20
[ 26.788821] ? refcount_warn_saturate+0xd0/0x130
[ 26.789076] ? refcount_warn_saturate+0xcf/0x130
[ 26.789327] br_sysfs_delbr+0x1d/0x40 [bridge]
[ 26.789626] br_dev_delete+0x88/0xa0 [bridge]
[ 26.789897] br_net_exit_batch_rtnl+0x70/0xd0 [bridge]
[ 26.790185] cleanup_net+0x251/0x3a0
[ 26.790382] ? process_one_work+0x16c/0x4b0
[ 26.790610] process_one_work+0x1d9/0x4b0
[ 26.790831] worker_thread+0x1c1/0x3d0
[ 26.791043] ? __pfx_worker_thread+0x10/0x10
[ 26.791291] kthread+0xdd/0x110
[ 26.791467] ? __pfx_kthread+0x10/0x10
[ 26.791669] ret_from_fork+0x34/0x50
[ 26.791874] ? __pfx_kthread+0x10/0x10
[ 26.792082] ret_from_fork_asm+0x1b/0x30
[ 26.792304]
[ 26.792428] irq event stamp: 20699
[ 26.792618] hardirqs last enabled at (20709): [] console_unlock+0x10d/0x130
[ 26.793082] hardirqs last disabled at (20720): [] console_unlock+0xf2/0x130
[ 26.793531] softirqs last enabled at (20320): [] __do_softirq+0x2c2/0x37a
[ 26.794000] softirqs last disabled at (20315): [] irq_exit_rcu+0x7f/0xa0
[ 26.794437] ---[ end trace 0000000000000000 ]---
[ 26.794685] ------------[ cut here ]------------
[ 26.794938] sysfs group 'bridge' not found for kobject 'br2'
[ 26.795259] WARNING: CPU: 1 PID: 11 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90
[ 26.795685] Modules linked in: vxlan ip6_udp_tunnel udp_tunnel bridge stp llc sch_ingress ip_gre gre 8021q vrf veth
[ 26.796249] CPU: 1 PID: 11 Comm: kworker/u8:0 Tainted: G W 6.8.0-rc2-virtme #1
[ 26.796703] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 26.797301] Workqueue: netns cleanup_net
[ 26.797513] RIP: 0010:sysfs_remove_group+0x75/0x90
[ 26.797788] Code: 48 89 ef 5d 41 5c e9 0a ae ff ff 48 89 ef e8 a2 9b ff ff eb d1 90 49 8b 14 24 48 8b 33 48 c7 c7 88 06 af 8b e8 fc b0 c5 ff 90 <0f> 0b 90 90 5b 5d 41 5c c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00
[ 26.798753] RSP: 0018:ffffc08dc0063d70 EFLAGS: 00010286
[ 26.799038] RAX: 0000000000000000 RBX: ffffffffc033ac60 RCX: 00000000ffffdfff
[ 26.799412] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001
[ 26.799786] RBP: 0000000000000000 R08: ffffffff8bf64508 R09: 00000000ffffdfff
[ 26.800169] R10: ffffffff8be84520 R11: ffffffff8bf34520 R12: ffff9ac9423e85f8
[ 26.800542] R13: ffffc08dc0063e08 R14: ffff9ac9423e8b60 R15: ffff9ac945040050
[ 26.800921] FS: 0000000000000000(0000) GS:ffff9ac97ec80000(0000) knlGS:0000000000000000
[ 26.801382] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 26.801694] CR2: 00007f1bc1393270 CR3: 000000001324c004 CR4: 00000000001706f0
[ 26.802092] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 26.802475] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 26.802851] Call Trace:
[ 26.802996]
[ 26.803121] ? __warn+0x84/0x170
[ 26.803305] ? sysfs_remove_group+0x75/0x90
[ 26.803532] ? report_bug+0x199/0x1b0
[ 26.803734] ? handle_bug+0x3d/0x70
[ 26.803931] ? exc_invalid_op+0x18/0x70
[ 26.804139] ? asm_exc_invalid_op+0x1a/0x20
[ 26.804370] ? sysfs_remove_group+0x75/0x90
[ 26.804598] br_dev_delete+0x88/0xa0 [bridge]
[ 26.804857] br_net_exit_batch_rtnl+0x70/0xd0 [bridge]
[ 26.805156] cleanup_net+0x251/0x3a0
[ 26.805357] ? process_one_work+0x16c/0x4b0
[ 26.805583] process_one_work+0x1d9/0x4b0
[ 26.805816] worker_thread+0x1c1/0x3d0
[ 26.806028] ? __pfx_worker_thread+0x10/0x10
[ 26.806264] kthread+0xdd/0x110
[ 26.806440] ? __pfx_kthread+0x10/0x10
[ 26.806650] ret_from_fork+0x34/0x50
[ 26.806848] ? __pfx_kthread+0x10/0x10
[ 26.807059] ret_from_fork_asm+0x1b/0x30
[ 26.807280]
[ 26.807403] irq event stamp: 21309
[ 26.807592] hardirqs last enabled at (21319): [] console_unlock+0x10d/0x130
[ 26.808050] hardirqs last disabled at (21330): [] console_unlock+0xf2/0x130
[ 26.808498] softirqs last enabled at (21186): [] __do_softirq+0x2c2/0x37a
[ 26.808949] softirqs last disabled at (21177): [] irq_exit_rcu+0x7f/0xa0
[ 26.809380] ---[ end trace 0000000000000000 ]---
[ 26.885180] vx100: left allmulticast mode
[ 26.885919] vx100: left promiscuous mode
[ 26.886465] br2: port 2(vx100) entered disabled state
[ 26.895990] w1: left allmulticast mode
[ 26.896231] w1: left promiscuous mode
[ 26.896462] br2: port 1(w1) entered disabled state
[ 26.906057] ------------[ cut here ]------------
[ 26.906369] sysfs group 'bridge' not found for kobject 'br2'
[ 26.906691] WARNING: CPU: 1 PID: 11 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90
[ 26.907154] Modules linked in: vxlan ip6_udp_tunnel udp_tunnel bridge stp llc sch_ingress ip_gre gre 8021q vrf veth
[ 26.907791] CPU: 1 PID: 11 Comm: kworker/u8:0 Tainted: G W 6.8.0-rc2-virtme #1
[ 26.908303] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 26.908966] Workqueue: netns cleanup_net
[ 26.909198] RIP: 0010:sysfs_remove_group+0x75/0x90
[ 26.909495] Code: 48 89 ef 5d 41 5c e9 0a ae ff ff 48 89 ef e8 a2 9b ff ff eb d1 90 49 8b 14 24 48 8b 33 48 c7 c7 88 06 af 8b e8 fc b0 c5 ff 90 <0f> 0b 90 90 5b 5d 41 5c c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00
[ 26.910592] RSP: 0018:ffffc08dc0063d70 EFLAGS: 00010286
[ 26.910882] RAX: 0000000000000000 RBX: ffffffffc033ac60 RCX: 00000000ffffdfff
[ 26.911294] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001
[ 26.911708] RBP: 0000000000000000 R08: ffffffff8bf64508 R09: 00000000ffffdfff
[ 26.912118] R10: ffffffff8be84520 R11: ffffffff8bf34520 R12: ffff9ac9423ea5f8
[ 26.912538] R13: ffffc08dc0063e08 R14: ffff9ac9423eab60 R15: ffffffff8d413dd0
[ 26.913029] FS: 0000000000000000(0000) GS:ffff9ac97ec80000(0000) knlGS:0000000000000000
[ 26.913497] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 26.913825] CR2: 00007f1bc1393270 CR3: 000000001324c004 CR4: 00000000001706f0
[ 26.914210] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 26.914605] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 26.915020] Call Trace:
[ 26.915173]
[ 26.915324] ? __warn+0x84/0x170
[ 26.915535] ? sysfs_remove_group+0x75/0x90
[ 26.915824] ? report_bug+0x199/0x1b0
[ 26.916126] ? handle_bug+0x3d/0x70
[ 26.916408] ? exc_invalid_op+0x18/0x70
[ 26.916671] ? asm_exc_invalid_op+0x1a/0x20
[ 26.916911] ? sysfs_remove_group+0x75/0x90
[ 26.917154] br_dev_delete+0x88/0xa0 [bridge]
[ 26.917455] br_net_exit_batch_rtnl+0x70/0xd0 [bridge]
[ 26.917767] cleanup_net+0x251/0x3a0
[ 26.917975] ? process_one_work+0x16c/0x4b0
[ 26.918206] process_one_work+0x1d9/0x4b0
[ 26.918445] worker_thread+0x1c1/0x3d0
[ 26.918654] ? __pfx_worker_thread+0x10/0x10
[ 26.918890] kthread+0xdd/0x110
[ 26.919065] ? __pfx_kthread+0x10/0x10
[ 26.919278] ret_from_fork+0x34/0x50
[ 26.919474] ? __pfx_kthread+0x10/0x10
[ 26.919679] ret_from_fork_asm+0x1b/0x30
[ 26.919904]
[ 26.920031] irq event stamp: 56047
[ 26.920221] hardirqs last enabled at (56057): [] console_unlock+0x10d/0x130
[ 26.920678] hardirqs last disabled at (56066): [] console_unlock+0xf2/0x130
[ 26.921144] softirqs last enabled at (55758): [] __do_softirq+0x2c2/0x37a
[ 26.921631] softirqs last disabled at (55753): [] irq_exit_rcu+0x7f/0xa0
[ 26.922097] ---[ end trace 0000000000000000 ]---
[ 27.222962] br1: port 3(veth2) entered disabled state
[ 27.235340] veth2: left allmulticast mode
[ 27.235610] veth2: left promiscuous mode
[ 27.235885] br1: port 3(veth2) entered disabled state
[ 27.269585] br1: port 2(veth1) entered disabled state
[ 27.280541] veth1: left allmulticast mode
[ 27.280819] veth1: left promiscuous mode
[ 27.281114] br1: port 2(veth1) entered disabled state
[ 27.298172] vx100: left allmulticast mode
[ 27.298437] vx100: left promiscuous mode
[ 27.298660] br1: port 1(vx100) entered disabled state
ok 1 selftests: net/forwarding: q_in_vni.sh
make[1]: Leaving directory '/home/virtme/testing-2/tools/testing/selftests/net/forwarding'
make: Leaving directory '/home/virtme/testing-2/tools/testing/selftests'
xx__-> echo $?
0
xx__->