make -C tools/testing/selftests TARGETS=net/forwarding TEST_PROGS=dual_vxllan_bridge.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: dual_vxlan_bridge.sh [ 1348.557170] br1: port 1(vx100) entered blocking state [ 1348.557709] br1: port 1(vx100) entered disabled state [ 1348.558100] vx100: entered allmulticast mode [ 1348.558435] vx100: entered promiscuous mode [ 1348.558692] br1: port 1(vx100) entered blocking state [ 1348.558982] br1: port 1(vx100) entered forwarding state [ 1348.580153] br1: port 2(veth1) entered blocking state [ 1348.580460] br1: port 2(veth1) entered disabled state [ 1348.580754] veth1: entered allmulticast mode [ 1348.581124] veth1: entered promiscuous mode [ 1348.592477] br1: port 2(veth1) entered blocking state [ 1348.592786] br1: port 2(veth1) entered forwarding state [ 1348.633527] br2: port 1(vx200) entered blocking state [ 1348.633913] br2: port 1(vx200) entered disabled state [ 1348.634246] vx200: entered allmulticast mode [ 1348.634609] vx200: entered promiscuous mode [ 1348.634919] br2: port 1(vx200) entered blocking state [ 1348.635249] br2: port 1(vx200) entered forwarding state [ 1348.666594] br2: port 2(veth2.20) entered blocking state [ 1348.667120] br2: port 2(veth2.20) entered disabled state [ 1348.667714] veth2.20: entered allmulticast mode [ 1348.668316] veth2.20: entered promiscuous mode [ 1348.681908] veth2: entered allmulticast mode [ 1348.682294] veth2: entered promiscuous mode [ 1348.682767] br2: port 2(veth2.20) entered blocking state [ 1348.683203] br2: port 2(veth2.20) entered forwarding state [ 1349.077856] br3: port 1(w1) entered blocking state [ 1349.078168] br3: port 1(w1) entered disabled state [ 1349.078452] w1: entered allmulticast mode [ 1349.078764] w1: entered promiscuous mode [ 1349.150961] br3: port 2(vx100) entered blocking state [ 1349.151295] br3: port 2(vx100) entered disabled state [ 1349.151602] vx100: entered allmulticast mode [ 1349.152002] vx100: entered promiscuous mode [ 1349.152300] br3: port 2(vx100) entered blocking state [ 1349.152609] br3: port 2(vx100) entered forwarding state [ 1349.234483] br3: port 1(w1) entered blocking state [ 1349.234796] br3: port 1(w1) entered forwarding state [ 1349.533774] br3: port 1(w1) entered blocking state [ 1349.534327] br3: port 1(w1) entered disabled state [ 1349.534782] w1: entered allmulticast mode [ 1349.535328] w1: entered promiscuous mode [ 1349.601231] br3: port 2(vx200) entered blocking state [ 1349.601555] br3: port 2(vx200) entered disabled state [ 1349.601898] vx200: entered allmulticast mode [ 1349.602229] vx200: entered promiscuous mode [ 1349.602512] br3: port 2(vx200) entered blocking state [ 1349.602789] br3: port 2(vx200) entered forwarding state [ 1349.678966] br3: port 1(w1) entered blocking state [ 1349.679291] br3: port 1(w1) entered forwarding state [ 1349.885881] br3: port 3(w1.20) entered blocking state [ 1349.886185] br3: port 3(w1.20) entered disabled state [ 1349.886484] w1.20: entered allmulticast mode [ 1349.886810] w1.20: entered promiscuous mode [ 1349.955049] br3: port 3(w1.20) entered blocking state [ 1349.955492] br3: port 3(w1.20) entered forwarding state [ 1350.664147] IPv6: w2: IPv6 duplicate address fe80::78ab:70ff:fef2:7813 used by 7a:ab:70:f2:78:13 detected! # Running tests with UDP port 4789 # TEST: ping: local->remote 1 through VxLAN with an 802.1ad bridge [ OK ] # TEST: ping: local->remote 2 through VxLAN with an 802.1d bridge [ OK ] [ 1357.355614] w1.20: left allmulticast mode [ 1357.356231] w1.20: left promiscuous mode [ 1357.356857] br3: port 3(w1.20) entered disabled state [ 1357.370012] vx200: left allmulticast mode [ 1357.370305] vx200: left promiscuous mode [ 1357.370558] br3: port 2(vx200) entered disabled state [ 1357.381980] w1: left allmulticast mode [ 1357.382220] w1: left promiscuous mode [ 1357.382432] br3: port 1(w1) entered disabled state [ 1357.390222] ------------[ cut here ]------------ [ 1357.390509] refcount_t: underflow; use-after-free. [ 1357.390875] WARNING: CPU: 3 PID: 67 at lib/refcount.c:28 refcount_warn_saturate+0xd0/0x130 [ 1357.391322] Modules linked in: vxlan ip6_udp_tunnel udp_tunnel act_skbedit sch_prio sch_tbf act_mirred cls_matchall dummy bridge stp llc ip_gre act_gact cls_flower sch_ingress 8021q ip6_gre ip6_tunnel tunnel6 gre vrf veth [ 1357.392443] CPU: 3 PID: 67 Comm: kworker/u8:1 Not tainted 6.8.0-rc2-virtme #1 [ 1357.392875] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 1357.393529] Workqueue: netns cleanup_net [ 1357.393783] RIP: 0010:refcount_warn_saturate+0xd0/0x130 [ 1357.394092] 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 2f b0 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 [ 1357.395202] RSP: 0018:ffffb074c025bd78 EFLAGS: 00010286 [ 1357.395510] RAX: 0000000000000000 RBX: ffffa053c66e6000 RCX: 00000000ffffdfff [ 1357.395949] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 1357.396349] RBP: ffffa053c66e65f8 R08: ffffffffb0764508 R09: 00000000ffffdfff [ 1357.396743] R10: ffffffffb0684520 R11: ffffffffb0734520 R12: ffffa053c66e6000 [ 1357.397131] R13: ffffb074c025be08 R14: ffffa053c66e6b60 R15: ffffa053c47e0050 [ 1357.397518] FS: 0000000000000000(0000) GS:ffffa053fed80000(0000) knlGS:0000000000000000 [ 1357.397984] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1357.398307] CR2: 00007f3406532270 CR3: 000000002b84c001 CR4: 00000000001706f0 [ 1357.398746] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 1357.399136] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 1357.399515] Call Trace: [ 1357.399664] [ 1357.399789] ? __warn+0x84/0x170 [ 1357.400007] ? refcount_warn_saturate+0xd0/0x130 [ 1357.400262] ? report_bug+0x199/0x1b0 [ 1357.400493] ? handle_bug+0x3d/0x70 [ 1357.400720] ? exc_invalid_op+0x18/0x70 [ 1357.400956] ? asm_exc_invalid_op+0x1a/0x20 [ 1357.401210] ? refcount_warn_saturate+0xd0/0x130 [ 1357.401480] ? refcount_warn_saturate+0xcf/0x130 [ 1357.401768] br_sysfs_delbr+0x1d/0x40 [bridge] [ 1357.402088] br_dev_delete+0x88/0xa0 [bridge] [ 1357.402361] br_net_exit_batch_rtnl+0x70/0xd0 [bridge] [ 1357.402729] cleanup_net+0x251/0x3a0 [ 1357.402943] ? process_one_work+0x16c/0x4b0 [ 1357.403190] process_one_work+0x1d9/0x4b0 [ 1357.403430] worker_thread+0x1c1/0x3d0 [ 1357.403668] ? __pfx_worker_thread+0x10/0x10 [ 1357.403928] kthread+0xdd/0x110 [ 1357.404106] ? __pfx_kthread+0x10/0x10 [ 1357.404329] ret_from_fork+0x34/0x50 [ 1357.404566] ? __pfx_kthread+0x10/0x10 [ 1357.404795] ret_from_fork_asm+0x1b/0x30 [ 1357.405049] [ 1357.405187] irq event stamp: 91809 [ 1357.405380] hardirqs last enabled at (91819): [] console_unlock+0x10d/0x130 [ 1357.405909] hardirqs last disabled at (91830): [] console_unlock+0xf2/0x130 [ 1357.406395] softirqs last enabled at (91584): [] __do_softirq+0x2c2/0x37a [ 1357.406922] softirqs last disabled at (91575): [] irq_exit_rcu+0x7f/0xa0 [ 1357.407380] ---[ end trace 0000000000000000 ]--- [ 1357.407673] ------------[ cut here ]------------ [ 1357.407955] sysfs group 'bridge' not found for kobject 'br3' [ 1357.408328] WARNING: CPU: 3 PID: 67 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90 [ 1357.408783] Modules linked in: vxlan ip6_udp_tunnel udp_tunnel act_skbedit sch_prio sch_tbf act_mirred cls_matchall dummy bridge stp llc ip_gre act_gact cls_flower sch_ingress 8021q ip6_gre ip6_tunnel tunnel6 gre vrf veth [ 1357.409946] CPU: 3 PID: 67 Comm: kworker/u8:1 Tainted: G W 6.8.0-rc2-virtme #1 [ 1357.410421] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 1357.411114] Workqueue: netns cleanup_net [ 1357.411349] RIP: 0010:sysfs_remove_group+0x75/0x90 [ 1357.411634] 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 2f b0 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 [ 1357.412646] RSP: 0018:ffffb074c025bd70 EFLAGS: 00010286 [ 1357.412938] RAX: 0000000000000000 RBX: ffffffffc03ecc60 RCX: 00000000ffffdfff [ 1357.413324] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 1357.413718] RBP: 0000000000000000 R08: ffffffffb0764508 R09: 00000000ffffdfff [ 1357.414113] R10: ffffffffb0684520 R11: ffffffffb0734520 R12: ffffa053c66e65f8 [ 1357.414494] R13: ffffb074c025be08 R14: ffffa053c66e6b60 R15: ffffa053c47e0050 [ 1357.414958] FS: 0000000000000000(0000) GS:ffffa053fed80000(0000) knlGS:0000000000000000 [ 1357.415392] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1357.415712] CR2: 00007f3406532270 CR3: 000000002b84c001 CR4: 00000000001706f0 [ 1357.416101] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 1357.416506] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 1357.416928] Call Trace: [ 1357.417083] [ 1357.417211] ? __warn+0x84/0x170 [ 1357.417411] ? sysfs_remove_group+0x75/0x90 [ 1357.417673] ? report_bug+0x199/0x1b0 [ 1357.417907] ? handle_bug+0x3d/0x70 [ 1357.418123] ? exc_invalid_op+0x18/0x70 [ 1357.418355] ? asm_exc_invalid_op+0x1a/0x20 [ 1357.418630] ? sysfs_remove_group+0x75/0x90 [ 1357.418921] br_dev_delete+0x88/0xa0 [bridge] [ 1357.419184] br_net_exit_batch_rtnl+0x70/0xd0 [bridge] [ 1357.419477] cleanup_net+0x251/0x3a0 [ 1357.419722] ? process_one_work+0x16c/0x4b0 [ 1357.419979] process_one_work+0x1d9/0x4b0 [ 1357.420232] worker_thread+0x1c1/0x3d0 [ 1357.420459] ? __pfx_worker_thread+0x10/0x10 [ 1357.420730] kthread+0xdd/0x110 [ 1357.420924] ? __pfx_kthread+0x10/0x10 [ 1357.421144] ret_from_fork+0x34/0x50 [ 1357.421363] ? __pfx_kthread+0x10/0x10 [ 1357.421602] ret_from_fork_asm+0x1b/0x30 [ 1357.421856] [ 1357.421998] irq event stamp: 92477 [ 1357.422185] hardirqs last enabled at (92487): [] console_unlock+0x10d/0x130 [ 1357.422697] hardirqs last disabled at (92496): [] console_unlock+0xf2/0x130 [ 1357.423159] softirqs last enabled at (91584): [] __do_softirq+0x2c2/0x37a [ 1357.423633] softirqs last disabled at (91575): [] irq_exit_rcu+0x7f/0xa0 [ 1357.424104] ---[ end trace 0000000000000000 ]--- [ 1357.528013] vx100: left allmulticast mode [ 1357.528273] vx100: left promiscuous mode [ 1357.528501] br3: port 2(vx100) entered disabled state [ 1357.539090] w1: left allmulticast mode [ 1357.539421] w1: left promiscuous mode [ 1357.539715] br3: port 1(w1) entered disabled state [ 1357.551091] ------------[ cut here ]------------ [ 1357.551379] sysfs group 'bridge' not found for kobject 'br3' [ 1357.551709] WARNING: CPU: 3 PID: 67 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90 [ 1357.552176] Modules linked in: vxlan ip6_udp_tunnel udp_tunnel act_skbedit sch_prio sch_tbf act_mirred cls_matchall dummy bridge stp llc ip_gre act_gact cls_flower sch_ingress 8021q ip6_gre ip6_tunnel tunnel6 gre vrf veth [ 1357.553264] CPU: 3 PID: 67 Comm: kworker/u8:1 Tainted: G W 6.8.0-rc2-virtme #1 [ 1357.553733] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 1357.554353] Workqueue: netns cleanup_net [ 1357.554576] RIP: 0010:sysfs_remove_group+0x75/0x90 [ 1357.554846] 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 2f b0 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 [ 1357.555830] RSP: 0018:ffffb074c025bd70 EFLAGS: 00010286 [ 1357.556125] RAX: 0000000000000000 RBX: ffffffffc03ecc60 RCX: 00000000ffffdfff [ 1357.556506] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 1357.556895] RBP: 0000000000000000 R08: ffffffffb0764508 R09: 00000000ffffdfff [ 1357.557278] R10: ffffffffb0684520 R11: ffffffffb0734520 R12: ffffa053c24505f8 [ 1357.557673] R13: ffffb074c025be08 R14: ffffa053c2450b60 R15: ffffffffb1c13dd0 [ 1357.558071] FS: 0000000000000000(0000) GS:ffffa053fed80000(0000) knlGS:0000000000000000 [ 1357.558504] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1357.558813] CR2: 00007f0d2a39b000 CR3: 000000002b84c001 CR4: 00000000001706f0 [ 1357.559206] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 1357.559591] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 1357.559984] Call Trace: [ 1357.560127] [ 1357.560252] ? __warn+0x84/0x170 [ 1357.560434] ? sysfs_remove_group+0x75/0x90 [ 1357.560669] ? report_bug+0x199/0x1b0 [ 1357.560886] ? handle_bug+0x3d/0x70 [ 1357.561085] ? exc_invalid_op+0x18/0x70 [ 1357.561304] ? asm_exc_invalid_op+0x1a/0x20 [ 1357.561564] ? sysfs_remove_group+0x75/0x90 [ 1357.561864] br_dev_delete+0x88/0xa0 [bridge] [ 1357.562225] br_net_exit_batch_rtnl+0x70/0xd0 [bridge] [ 1357.562537] cleanup_net+0x251/0x3a0 [ 1357.562814] ? process_one_work+0x16c/0x4b0 [ 1357.563101] process_one_work+0x1d9/0x4b0 [ 1357.563389] worker_thread+0x1c1/0x3d0 [ 1357.563676] ? __pfx_worker_thread+0x10/0x10 [ 1357.564011] kthread+0xdd/0x110 [ 1357.564254] ? __pfx_kthread+0x10/0x10 [ 1357.564543] ret_from_fork+0x34/0x50 [ 1357.564825] ? __pfx_kthread+0x10/0x10 [ 1357.565119] ret_from_fork_asm+0x1b/0x30 [ 1357.565429] [ 1357.565603] irq event stamp: 127133 [ 1357.565877] hardirqs last enabled at (127145): [] console_unlock+0x10d/0x130 [ 1357.566510] hardirqs last disabled at (127154): [] console_unlock+0xf2/0x130 [ 1357.567118] softirqs last enabled at (126812): [] __do_softirq+0x2c2/0x37a [ 1357.567735] softirqs last disabled at (126807): [] irq_exit_rcu+0x7f/0xa0 [ 1357.568324] ---[ end trace 0000000000000000 ]--- [ 1357.826917] vx200: left allmulticast mode [ 1357.827180] vx200: left promiscuous mode [ 1357.827428] br2: port 1(vx200) entered disabled state [ 1357.883994] veth2: left allmulticast mode [ 1357.884261] veth2: left promiscuous mode [ 1357.884699] br2: port 2(veth2.20) entered disabled state [ 1357.885261] veth2.20 (unregistering): left allmulticast mode [ 1357.885578] veth2.20 (unregistering): left promiscuous mode [ 1357.885898] br2: port 2(veth2.20) entered disabled state [ 1357.959394] br1: port 2(veth1) entered disabled state [ 1357.971669] veth1: left allmulticast mode [ 1357.971938] veth1: left promiscuous mode [ 1357.972246] br1: port 2(veth1) entered disabled state [ 1357.996088] vx100: left allmulticast mode [ 1357.996350] vx100: left promiscuous mode [ 1357.996578] br1: port 1(vx100) entered disabled state ok 1 selftests: net/forwarding: dual_vxlan_bridge.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__->