make -C tools/testing/selftests TARGETS=net/forwarding TEST_PROGS=vxlan_assymmetric.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_asymmetric.sh [ 1289.145805] br1: port 1(vx10) entered blocking state [ 1289.146324] br1: port 1(vx10) entered disabled state [ 1289.146743] vx10: entered allmulticast mode [ 1289.147255] vx10: entered promiscuous mode [ 1289.147641] br1: port 1(vx10) entered blocking state [ 1289.148042] br1: port 1(vx10) entered forwarding state [ 1289.188900] br1: port 2(vx20) entered blocking state [ 1289.189615] br1: port 2(vx20) entered disabled state [ 1289.190342] vx20: entered allmulticast mode [ 1289.191135] vx20: entered promiscuous mode [ 1289.191694] br1: port 2(vx20) entered blocking state [ 1289.192115] br1: port 2(vx20) entered forwarding state [ 1289.212282] br1: port 3(veth1) entered blocking state [ 1289.212589] br1: port 3(veth1) entered disabled state [ 1289.212882] veth1: entered allmulticast mode [ 1289.213217] veth1: entered promiscuous mode [ 1289.225851] br1: port 3(veth1) entered blocking state [ 1289.226307] br1: port 3(veth1) entered forwarding state [ 1289.249541] br1: port 4(veth2) entered blocking state [ 1289.249867] br1: port 4(veth2) entered disabled state [ 1289.250204] veth2: entered allmulticast mode [ 1289.250557] veth2: entered promiscuous mode [ 1289.263916] br1: port 4(veth2) entered blocking state [ 1289.264368] br1: port 4(veth2) entered forwarding state [ 1289.381810] br1: entered promiscuous mode [ 1289.382418] br1: left promiscuous mode [ 1289.393388] br1: entered promiscuous mode [ 1290.083421] br1: port 1(vx10) entered blocking state [ 1290.083747] br1: port 1(vx10) entered disabled state [ 1290.084054] vx10: entered allmulticast mode [ 1290.084474] vx10: entered promiscuous mode [ 1290.084775] br1: port 1(vx10) entered blocking state [ 1290.085062] br1: port 1(vx10) entered forwarding state [ 1290.129817] br1: port 2(vx20) entered blocking state [ 1290.130125] br1: port 2(vx20) entered disabled state [ 1290.130433] vx20: entered allmulticast mode [ 1290.130753] vx20: entered promiscuous mode [ 1290.130997] br1: port 2(vx20) entered blocking state [ 1290.131279] br1: port 2(vx20) entered forwarding state [ 1290.154963] br1: port 3(w1) entered blocking state [ 1290.155274] br1: port 3(w1) entered disabled state [ 1290.155557] w1: entered allmulticast mode [ 1290.155876] w1: entered promiscuous mode [ 1290.169344] br1: port 3(w1) entered blocking state [ 1290.169779] br1: port 3(w1) entered forwarding state [ 1290.189974] br1: port 4(w3) entered blocking state [ 1290.190313] br1: port 4(w3) entered disabled state [ 1290.190600] w3: entered allmulticast mode [ 1290.190911] w3: entered promiscuous mode [ 1290.200273] br1: port 4(w3) entered blocking state [ 1290.200565] br1: port 4(w3) entered forwarding state [ 1290.293945] br1: entered promiscuous mode [ 1290.294672] br1: left promiscuous mode [ 1290.301461] br1: entered promiscuous mode [ 1290.368603] IPv6: vlan10-v: IPv6 duplicate address fe80::200:5eff:fe00:101 used by 00:00:5e:00:01:01 detected! [ 1290.369353] IPv6: vlan20-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 [ 1290.559387] br1: received packet on vx20 with own address as source address (addr:00:00:5e:00:01:01, vlan:20) [ 1290.679365] br1: received packet on vx10 with own address as source address (addr:00:00:5e:00:01:01, vlan:10) # 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 ] # INFO: deleting neighbours from vlan interfaces # 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 ] # TEST: neigh_suppress: on / neigh exists: yes [ OK ] # TEST: neigh_suppress: on / neigh exists: no [ OK ] # TEST: neigh_suppress: off / neigh exists: no [ OK ] # TEST: neigh_suppress: off / neigh exists: yes [ OK ] [ 1307.037733] w3: left allmulticast mode [ 1307.038156] w3: left promiscuous mode [ 1307.038545] br1: port 4(w3) entered disabled state [ 1307.047386] w1: left allmulticast mode [ 1307.047615] w1: left promiscuous mode [ 1307.047828] br1: port 3(w1) entered disabled state [ 1307.055370] vx20: left allmulticast mode [ 1307.055714] vx20: left promiscuous mode [ 1307.056041] br1: port 2(vx20) entered disabled state [ 1307.064515] vx10: left allmulticast mode [ 1307.064759] vx10: left promiscuous mode [ 1307.064994] br1: port 1(vx10) entered disabled state [ 1307.075379] ------------[ cut here ]------------ [ 1307.075677] refcount_t: underflow; use-after-free. [ 1307.075988] WARNING: CPU: 1 PID: 68 at lib/refcount.c:28 refcount_warn_saturate+0xd0/0x130 [ 1307.076467] Modules linked in: macvlan vxlan ip6_udp_tunnel udp_tunnel xfrm_user act_mirred sch_prio sch_tbf sch_ets act_gact cls_flower sch_ingress bridge stp llc 8021q vrf veth [ 1307.077560] CPU: 1 PID: 68 Comm: kworker/u8:1 Not tainted 6.8.0-rc2-virtme #1 [ 1307.077952] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 1307.078577] Workqueue: netns cleanup_net [ 1307.078811] RIP: 0010:refcount_warn_saturate+0xd0/0x130 [ 1307.079107] 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 bd 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 [ 1307.080105] RSP: 0018:ffffb9bb80263d78 EFLAGS: 00010286 [ 1307.080398] RAX: 0000000000000000 RBX: ffff9f06c3a0a000 RCX: 00000000ffffdfff [ 1307.080784] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 1307.081179] RBP: ffff9f06c3a0a5f8 R08: ffffffffbdf64508 R09: 00000000ffffdfff [ 1307.081574] R10: ffffffffbde84520 R11: ffffffffbdf34520 R12: ffff9f06c3a0a000 [ 1307.081953] R13: ffffb9bb80263e08 R14: ffff9f06c3a0ab60 R15: ffffffffbf413dd0 [ 1307.082351] FS: 0000000000000000(0000) GS:ffff9f06fec80000(0000) knlGS:0000000000000000 [ 1307.082787] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1307.083106] CR2: 0000559ad56b1dec CR3: 0000000004f2c003 CR4: 00000000001706f0 [ 1307.083496] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 1307.083876] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 1307.084269] Call Trace: [ 1307.084413] [ 1307.084538] ? __warn+0x84/0x170 [ 1307.084729] ? refcount_warn_saturate+0xd0/0x130 [ 1307.084996] ? report_bug+0x199/0x1b0 [ 1307.085215] ? handle_bug+0x3d/0x70 [ 1307.085412] ? exc_invalid_op+0x18/0x70 [ 1307.085630] ? asm_exc_invalid_op+0x1a/0x20 [ 1307.085867] ? refcount_warn_saturate+0xd0/0x130 [ 1307.086132] ? refcount_warn_saturate+0xcf/0x130 [ 1307.086397] br_sysfs_delbr+0x1d/0x40 [bridge] [ 1307.086703] br_dev_delete+0x88/0xa0 [bridge] [ 1307.086961] br_net_exit_batch_rtnl+0x70/0xd0 [bridge] [ 1307.087267] cleanup_net+0x251/0x3a0 [ 1307.087475] ? process_one_work+0x16c/0x4b0 [ 1307.087708] process_one_work+0x1d9/0x4b0 [ 1307.087931] worker_thread+0x1c1/0x3d0 [ 1307.088147] ? __pfx_worker_thread+0x10/0x10 [ 1307.088394] kthread+0xdd/0x110 [ 1307.088576] ? __pfx_kthread+0x10/0x10 [ 1307.088801] ret_from_fork+0x34/0x50 [ 1307.089019] ? __pfx_kthread+0x10/0x10 [ 1307.089264] ret_from_fork_asm+0x1b/0x30 [ 1307.089578] [ 1307.089770] irq event stamp: 47729 [ 1307.089998] hardirqs last enabled at (47739): [] console_unlock+0x10d/0x130 [ 1307.090480] hardirqs last disabled at (47750): [] console_unlock+0xf2/0x130 [ 1307.090975] softirqs last enabled at (47310): [] __do_softirq+0x2c2/0x37a [ 1307.091594] softirqs last disabled at (47305): [] irq_exit_rcu+0x7f/0xa0 [ 1307.092232] ---[ end trace 0000000000000000 ]--- [ 1307.092606] ------------[ cut here ]------------ [ 1307.092968] sysfs group 'bridge' not found for kobject 'br1' [ 1307.093449] WARNING: CPU: 1 PID: 68 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90 [ 1307.094069] Modules linked in: macvlan vxlan ip6_udp_tunnel udp_tunnel xfrm_user act_mirred sch_prio sch_tbf sch_ets act_gact cls_flower sch_ingress bridge stp llc 8021q vrf veth [ 1307.095322] CPU: 1 PID: 68 Comm: kworker/u8:1 Tainted: G W 6.8.0-rc2-virtme #1 [ 1307.095988] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 1307.096894] Workqueue: netns cleanup_net [ 1307.097219] RIP: 0010:sysfs_remove_group+0x75/0x90 [ 1307.097603] 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 bd 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 [ 1307.099050] RSP: 0018:ffffb9bb80263d70 EFLAGS: 00010286 [ 1307.099469] RAX: 0000000000000000 RBX: ffffffffc04bcc60 RCX: 00000000ffffdfff [ 1307.100026] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 1307.100592] RBP: 0000000000000000 R08: ffffffffbdf64508 R09: 00000000ffffdfff [ 1307.101142] R10: ffffffffbde84520 R11: ffffffffbdf34520 R12: ffff9f06c3a0a5f8 [ 1307.101706] R13: ffffb9bb80263e08 R14: ffff9f06c3a0ab60 R15: ffffffffbf413dd0 [ 1307.102271] FS: 0000000000000000(0000) GS:ffff9f06fec80000(0000) knlGS:0000000000000000 [ 1307.102892] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1307.103363] CR2: 0000559ad56b1dec CR3: 0000000004f2c003 CR4: 00000000001706f0 [ 1307.103835] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 1307.104342] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 1307.104729] Call Trace: [ 1307.104870] [ 1307.105048] ? __warn+0x84/0x170 [ 1307.105324] ? sysfs_remove_group+0x75/0x90 [ 1307.105649] ? report_bug+0x199/0x1b0 [ 1307.105857] ? handle_bug+0x3d/0x70 [ 1307.106079] ? exc_invalid_op+0x18/0x70 [ 1307.106301] ? asm_exc_invalid_op+0x1a/0x20 [ 1307.106538] ? sysfs_remove_group+0x75/0x90 [ 1307.106769] br_dev_delete+0x88/0xa0 [bridge] [ 1307.107040] br_net_exit_batch_rtnl+0x70/0xd0 [bridge] [ 1307.107339] cleanup_net+0x251/0x3a0 [ 1307.107544] ? process_one_work+0x16c/0x4b0 [ 1307.107775] process_one_work+0x1d9/0x4b0 [ 1307.108006] worker_thread+0x1c1/0x3d0 [ 1307.108222] ? __pfx_worker_thread+0x10/0x10 [ 1307.108459] kthread+0xdd/0x110 [ 1307.108638] ? __pfx_kthread+0x10/0x10 [ 1307.108856] ret_from_fork+0x34/0x50 [ 1307.109067] ? __pfx_kthread+0x10/0x10 [ 1307.109285] ret_from_fork_asm+0x1b/0x30 [ 1307.109513] [ 1307.109640] irq event stamp: 48385 [ 1307.109830] hardirqs last enabled at (48395): [] console_unlock+0x10d/0x130 [ 1307.110308] hardirqs last disabled at (48406): [] console_unlock+0xf2/0x130 [ 1307.110763] softirqs last enabled at (48118): [] __do_softirq+0x2c2/0x37a [ 1307.111231] softirqs last disabled at (48107): [] irq_exit_rcu+0x7f/0xa0 [ 1307.111676] ---[ end trace 0000000000000000 ]--- [ 1307.112166] br1: left promiscuous mode [ 1307.419680] br1: left promiscuous mode [ 1307.533873] br1: port 4(veth2) entered disabled state [ 1307.544641] veth2: left allmulticast mode [ 1307.544910] veth2: left promiscuous mode [ 1307.545138] br1: port 4(veth2) entered disabled state [ 1307.571967] br1: port 3(veth1) entered disabled state [ 1307.582813] veth1: left allmulticast mode [ 1307.583069] veth1: left promiscuous mode [ 1307.583303] br1: port 3(veth1) entered disabled state [ 1307.616550] vx20: left allmulticast mode [ 1307.616822] vx20: left promiscuous mode [ 1307.617059] br1: port 2(vx20) entered disabled state [ 1307.678113] vx10: left allmulticast mode [ 1307.678395] vx10: left promiscuous mode [ 1307.678621] br1: port 1(vx10) entered disabled state ok 1 selftests: net/forwarding: vxlan_asymmetric.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__->