make -C tools/testing/selftests TARGETS=net/forwarding TEST_PROGS=vxlan_syymmetric.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: vxlan_symmetric.sh [ 2.103291] ip (230) used greatest stack depth: 12056 bytes left [ 2.152962] ip (238) used greatest stack depth: 12032 bytes left [ 2.199292] ip (244) used greatest stack depth: 11960 bytes left [ 2.732383] br1: port 1(vx10) entered blocking state [ 2.732898] br1: port 1(vx10) entered disabled state [ 2.733305] vx10: entered allmulticast mode [ 2.733785] vx10: entered promiscuous mode [ 2.734247] br1: port 1(vx10) entered blocking state [ 2.734731] br1: port 1(vx10) entered forwarding state [ 2.776790] br1: port 2(vx20) entered blocking state [ 2.777309] br1: port 2(vx20) entered disabled state [ 2.777855] vx20: entered allmulticast mode [ 2.778302] vx20: entered promiscuous mode [ 2.778738] br1: port 2(vx20) entered blocking state [ 2.779169] br1: port 2(vx20) entered forwarding state [ 2.799843] br1: port 3(veth1) entered blocking state [ 2.800154] br1: port 3(veth1) entered disabled state [ 2.800463] veth1: entered allmulticast mode [ 2.800803] veth1: entered promiscuous mode [ 2.811726] br1: port 3(veth1) entered blocking state [ 2.812047] br1: port 3(veth1) entered forwarding state [ 2.832089] br1: port 4(veth2) entered blocking state [ 2.832407] br1: port 4(veth2) entered disabled state [ 2.832699] veth2: entered allmulticast mode [ 2.833030] veth2: entered promiscuous mode [ 2.843236] br1: port 4(veth2) entered blocking state [ 2.843533] br1: port 4(veth2) entered forwarding state [ 2.883759] br1: port 5(vx4001) entered blocking state [ 2.884249] br1: port 5(vx4001) entered disabled state [ 2.884913] vx4001: entered allmulticast mode [ 2.885343] vx4001: entered promiscuous mode [ 2.885708] br1: port 5(vx4001) entered blocking state [ 2.886162] br1: port 5(vx4001) entered forwarding state [ 2.975559] 8021q: 802.1Q VLAN Support v1.8 [ 3.012016] br1: entered promiscuous mode [ 3.012725] br1: left promiscuous mode [ 3.021999] br1: entered promiscuous mode [ 3.726747] br1: port 1(vx10) entered blocking state [ 3.727064] br1: port 1(vx10) entered disabled state [ 3.727347] vx10: entered allmulticast mode [ 3.727660] vx10: entered promiscuous mode [ 3.727932] br1: port 1(vx10) entered blocking state [ 3.728204] br1: port 1(vx10) entered forwarding state [ 3.771876] br1: port 2(vx20) entered blocking state [ 3.772196] br1: port 2(vx20) entered disabled state [ 3.772474] vx20: entered allmulticast mode [ 3.772784] vx20: entered promiscuous mode [ 3.773050] br1: port 2(vx20) entered blocking state [ 3.773322] br1: port 2(vx20) entered forwarding state [ 3.818751] br1: port 3(vx4001) entered blocking state [ 3.819079] br1: port 3(vx4001) entered disabled state [ 3.819372] vx4001: entered allmulticast mode [ 3.819695] vx4001: entered promiscuous mode [ 3.819955] br1: port 3(vx4001) entered blocking state [ 3.820236] br1: port 3(vx4001) entered forwarding state [ 3.841168] br1: port 4(w1) entered blocking state [ 3.841481] br1: port 4(w1) entered disabled state [ 3.841769] w1: entered allmulticast mode [ 3.842121] w1: entered promiscuous mode [ 3.852902] br1: port 4(w1) entered blocking state [ 3.853188] br1: port 4(w1) entered forwarding state [ 3.874791] br1: port 5(w3) entered blocking state [ 3.875097] br1: port 5(w3) entered disabled state [ 3.875371] w3: entered allmulticast mode [ 3.875691] w3: entered promiscuous mode [ 3.886561] br1: port 5(w3) entered blocking state [ 3.886875] br1: port 5(w3) entered forwarding state [ 3.988060] br1: entered promiscuous mode [ 3.988544] br1: left promiscuous mode [ 3.996013] br1: entered promiscuous mode [ 4.081523] IPv6: vlan20-v: IPv6 duplicate address fe80::200:5eff:fe00:101 used by 00:00:5e:00:01:01 detected! [ 4.082687] IPv6: vlan10-v: IPv6 duplicate address fe80::200:5eff:fe00:101 used by 00:00:5e:00:01:01 detected! # RTNETLINK answers: File exists # RTNETLINK answers: File exists [ 4.313025] br1: received packet on vx10 with own address as source address (addr:00:00:5e:00:01:01, vlan:10) [ 4.521053] br1: received packet on vx20 with own address as source address (addr:00:00:5e:00:01:01, vlan:20) # TEST: ping: local->local vid 10->vid 20 [ OK ] # TEST: ping: local->remote vid 10->vid 10 [ OK ] # TEST: ping: local->remote vid 20->vid 20 [ OK ] # TEST: ping: local->remote vid 10->vid 20 [ OK ] # TEST: ping: local->remote vid 20->vid 10 [ OK ] [ 15.113155] w3: left allmulticast mode [ 15.113561] w3: left promiscuous mode [ 15.113906] br1: port 5(w3) entered disabled state [ 15.121187] w1: left allmulticast mode [ 15.121528] w1: left promiscuous mode [ 15.121851] br1: port 4(w1) entered disabled state [ 15.131097] vx4001: left allmulticast mode [ 15.131461] vx4001: left promiscuous mode [ 15.131809] br1: port 3(vx4001) entered disabled state [ 15.141094] vx20: left allmulticast mode [ 15.141447] vx20: left promiscuous mode [ 15.141784] br1: port 2(vx20) entered disabled state [ 15.155105] vx10: left allmulticast mode [ 15.155456] vx10: left promiscuous mode [ 15.155787] br1: port 1(vx10) entered disabled state [ 15.166510] ------------[ cut here ]------------ [ 15.166929] refcount_t: underflow; use-after-free. [ 15.167348] WARNING: CPU: 3 PID: 10 at lib/refcount.c:28 refcount_warn_saturate+0xd0/0x130 [ 15.168028] Modules linked in: macvlan 8021q vxlan ip6_udp_tunnel udp_tunnel bridge stp llc vrf veth [ 15.168770] CPU: 3 PID: 10 Comm: kworker/u8:0 Not tainted 6.8.0-rc2-virtme #1 [ 15.169360] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 15.170286] Workqueue: netns cleanup_net [ 15.170616] RIP: 0010:refcount_warn_saturate+0xd0/0x130 [ 15.171054] 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 6f b6 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 [ 15.172525] RSP: 0018:ffffbd92c005bd78 EFLAGS: 00010286 [ 15.172962] RAX: 0000000000000000 RBX: ffff94b04239a000 RCX: 00000000ffffdfff [ 15.173536] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 15.174127] RBP: ffff94b04239a5f8 R08: ffffffffb6b64508 R09: 00000000ffffdfff [ 15.174706] R10: ffffffffb6a84520 R11: ffffffffb6b34520 R12: ffff94b04239a000 [ 15.175292] R13: ffffbd92c005be08 R14: ffff94b04239ab60 R15: ffffffffb8013dd0 [ 15.175862] FS: 0000000000000000(0000) GS:ffff94b07ed80000(0000) knlGS:0000000000000000 [ 15.176514] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 15.176988] CR2: 000056279923ff80 CR3: 00000000012a8003 CR4: 00000000001706f0 [ 15.177555] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 15.178135] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 15.178703] Call Trace: [ 15.178928] [ 15.179115] ? __warn+0x84/0x170 [ 15.179396] ? refcount_warn_saturate+0xd0/0x130 [ 15.179778] ? report_bug+0x199/0x1b0 [ 15.180103] ? handle_bug+0x3d/0x70 [ 15.180397] ? exc_invalid_op+0x18/0x70 [ 15.180721] ? asm_exc_invalid_op+0x1a/0x20 [ 15.181085] ? refcount_warn_saturate+0xd0/0x130 [ 15.181467] ? refcount_warn_saturate+0xcf/0x130 [ 15.181844] br_sysfs_delbr+0x1d/0x40 [bridge] [ 15.182304] br_dev_delete+0x88/0xa0 [bridge] [ 15.182689] br_net_exit_batch_rtnl+0x70/0xd0 [bridge] [ 15.183144] cleanup_net+0x251/0x3a0 [ 15.183451] ? process_one_work+0x16c/0x4b0 [ 15.183797] process_one_work+0x1d9/0x4b0 [ 15.184149] worker_thread+0x1c1/0x3d0 [ 15.184461] ? __pfx_worker_thread+0x10/0x10 [ 15.184823] kthread+0xdd/0x110 [ 15.185102] ? __pfx_kthread+0x10/0x10 [ 15.185415] ret_from_fork+0x34/0x50 [ 15.185720] ? __pfx_kthread+0x10/0x10 [ 15.186041] ret_from_fork_asm+0x1b/0x30 [ 15.186380] [ 15.186570] irq event stamp: 31519 [ 15.186853] hardirqs last enabled at (31529): [] console_unlock+0x10d/0x130 [ 15.187559] hardirqs last disabled at (31540): [] console_unlock+0xf2/0x130 [ 15.188250] softirqs last enabled at (30990): [] __do_softirq+0x2c2/0x37a [ 15.188938] softirqs last disabled at (30985): [] irq_exit_rcu+0x7f/0xa0 [ 15.189592] ---[ end trace 0000000000000000 ]--- [ 15.189990] ------------[ cut here ]------------ [ 15.190366] sysfs group 'bridge' not found for kobject 'br1' [ 15.190849] WARNING: CPU: 3 PID: 10 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90 [ 15.191497] Modules linked in: macvlan 8021q vxlan ip6_udp_tunnel udp_tunnel bridge stp llc vrf veth [ 15.192246] CPU: 3 PID: 10 Comm: kworker/u8:0 Tainted: G W 6.8.0-rc2-virtme #1 [ 15.192945] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 15.193838] Workqueue: netns cleanup_net [ 15.194174] RIP: 0010:sysfs_remove_group+0x75/0x90 [ 15.194581] 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 6f b6 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 [ 15.196048] RSP: 0018:ffffbd92c005bd70 EFLAGS: 00010286 [ 15.196475] RAX: 0000000000000000 RBX: ffffffffc0483c60 RCX: 00000000ffffdfff [ 15.197070] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 15.197641] RBP: 0000000000000000 R08: ffffffffb6b64508 R09: 00000000ffffdfff [ 15.198218] R10: ffffffffb6a84520 R11: ffffffffb6b34520 R12: ffff94b04239a5f8 [ 15.198786] R13: ffffbd92c005be08 R14: ffff94b04239ab60 R15: ffffffffb8013dd0 [ 15.199372] FS: 0000000000000000(0000) GS:ffff94b07ed80000(0000) knlGS:0000000000000000 [ 15.200022] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 15.200479] CR2: 000056279923ff80 CR3: 00000000012a8003 CR4: 00000000001706f0 [ 15.201062] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 15.201633] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 15.202209] Call Trace: [ 15.202415] [ 15.202601] ? __warn+0x84/0x170 [ 15.202893] ? sysfs_remove_group+0x75/0x90 [ 15.203239] ? report_bug+0x199/0x1b0 [ 15.203546] ? handle_bug+0x3d/0x70 [ 15.203840] ? exc_invalid_op+0x18/0x70 [ 15.204175] ? asm_exc_invalid_op+0x1a/0x20 [ 15.204538] ? sysfs_remove_group+0x75/0x90 [ 15.204904] br_dev_delete+0x88/0xa0 [bridge] [ 15.205305] br_net_exit_batch_rtnl+0x70/0xd0 [bridge] [ 15.205748] cleanup_net+0x251/0x3a0 [ 15.206068] ? process_one_work+0x16c/0x4b0 [ 15.206415] process_one_work+0x1d9/0x4b0 [ 15.206752] worker_thread+0x1c1/0x3d0 [ 15.207085] ? __pfx_worker_thread+0x10/0x10 [ 15.207442] kthread+0xdd/0x110 [ 15.207710] ? __pfx_kthread+0x10/0x10 [ 15.208034] ret_from_fork+0x34/0x50 [ 15.208333] ? __pfx_kthread+0x10/0x10 [ 15.208644] ret_from_fork_asm+0x1b/0x30 [ 15.208992] [ 15.209184] irq event stamp: 32121 [ 15.209466] hardirqs last enabled at (32131): [] console_unlock+0x10d/0x130 [ 15.210163] hardirqs last disabled at (32142): [] console_unlock+0xf2/0x130 [ 15.210841] softirqs last enabled at (30990): [] __do_softirq+0x2c2/0x37a [ 15.211527] softirqs last disabled at (30985): [] irq_exit_rcu+0x7f/0xa0 [ 15.212200] ---[ end trace 0000000000000000 ]--- [ 15.212941] br1: left promiscuous mode [ 15.551968] br1: left promiscuous mode [ 15.665665] br1: port 4(veth2) entered disabled state [ 15.676915] veth2: left allmulticast mode [ 15.677195] veth2: left promiscuous mode [ 15.677448] br1: port 4(veth2) entered disabled state [ 15.708775] br1: port 3(veth1) entered disabled state [ 15.721403] veth1: left allmulticast mode [ 15.721768] veth1: left promiscuous mode [ 15.722110] br1: port 3(veth1) entered disabled state [ 15.754313] vx4001: left allmulticast mode [ 15.754596] vx4001: left promiscuous mode [ 15.754830] br1: port 5(vx4001) entered disabled state [ 15.823081] vx20: left allmulticast mode [ 15.823451] vx20: left promiscuous mode [ 15.823782] br1: port 2(vx20) entered disabled state [ 15.887422] vx10: left allmulticast mode [ 15.887693] vx10: left promiscuous mode [ 15.887939] br1: port 1(vx10) entered disabled state ok 1 selftests: net/forwarding: vxlan_symmetric.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__->