make -C tools/testing/selftests TARGETS=net/forwarding TEST_PROGS=vxlan_syymmetric_ipv6.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_ipv6.sh [ 68.790477] br1: port 1(vx10) entered blocking state [ 68.791024] br1: port 1(vx10) entered disabled state [ 68.791487] vx10: entered allmulticast mode [ 68.792044] vx10: entered promiscuous mode [ 68.792512] br1: port 1(vx10) entered blocking state [ 68.792891] br1: port 1(vx10) entered forwarding state [ 68.836255] br1: port 2(vx20) entered blocking state [ 68.836617] br1: port 2(vx20) entered disabled state [ 68.836955] vx20: entered allmulticast mode [ 68.837334] vx20: entered promiscuous mode [ 68.837673] br1: port 2(vx20) entered blocking state [ 68.837993] br1: port 2(vx20) entered forwarding state [ 68.861074] br1: port 3(veth1) entered blocking state [ 68.861407] br1: port 3(veth1) entered disabled state [ 68.861698] veth1: entered allmulticast mode [ 68.862052] veth1: entered promiscuous mode [ 68.874459] br1: port 3(veth1) entered blocking state [ 68.874777] br1: port 3(veth1) entered forwarding state [ 68.885507] br1: port 4(veth2) entered blocking state [ 68.885806] br1: port 4(veth2) entered disabled state [ 68.886090] veth2: entered allmulticast mode [ 68.886416] veth2: entered promiscuous mode [ 68.898839] br1: port 4(veth2) entered blocking state [ 68.899146] br1: port 4(veth2) entered forwarding state [ 68.932031] br1: port 5(vx4001) entered blocking state [ 68.932374] br1: port 5(vx4001) entered disabled state [ 68.932761] vx4001: entered allmulticast mode [ 68.933163] vx4001: entered promiscuous mode [ 68.933487] br1: port 5(vx4001) entered blocking state [ 68.933818] br1: port 5(vx4001) entered forwarding state [ 69.053786] br1: entered promiscuous mode [ 69.054385] br1: left promiscuous mode [ 69.065608] br1: entered promiscuous mode [ 69.824339] br1: port 1(vx10) entered blocking state [ 69.824657] br1: port 1(vx10) entered disabled state [ 69.824950] vx10: entered allmulticast mode [ 69.825277] vx10: entered promiscuous mode [ 69.825600] br1: port 1(vx10) entered blocking state [ 69.825872] br1: port 1(vx10) entered forwarding state [ 69.873728] br1: port 2(vx20) entered blocking state [ 69.874053] br1: port 2(vx20) entered disabled state [ 69.874340] vx20: entered allmulticast mode [ 69.874722] vx20: entered promiscuous mode [ 69.874974] br1: port 2(vx20) entered blocking state [ 69.875250] br1: port 2(vx20) entered forwarding state [ 69.921051] br1: port 3(vx4001) entered blocking state [ 69.921444] br1: port 3(vx4001) entered disabled state [ 69.921839] vx4001: entered allmulticast mode [ 69.922315] vx4001: entered promiscuous mode [ 69.922768] br1: port 3(vx4001) entered blocking state [ 69.923178] br1: port 3(vx4001) entered forwarding state [ 69.947248] br1: port 4(w1) entered blocking state [ 69.947645] br1: port 4(w1) entered disabled state [ 69.947966] w1: entered allmulticast mode [ 69.948318] w1: entered promiscuous mode [ 69.960849] br1: port 4(w1) entered blocking state [ 69.961156] br1: port 4(w1) entered forwarding state [ 69.983245] br1: port 5(w3) entered blocking state [ 69.983567] br1: port 5(w3) entered disabled state [ 69.983845] w3: entered allmulticast mode [ 69.984154] w3: entered promiscuous mode [ 69.996200] br1: port 5(w3) entered blocking state [ 69.996507] br1: port 5(w3) entered forwarding state [ 70.097991] br1: entered promiscuous mode [ 70.098559] br1: left promiscuous mode [ 70.114498] br1: entered promiscuous mode [ 71.878792] br1: received packet on vx10 with own address as source address (addr:00:00:5e:00:01:01, vlan:10) [ 71.879422] br1: received packet on vx10 with own address as source address (addr:00:00:5e:00:01:01, vlan:10) [ 71.879996] br1: received packet on vx20 with own address as source address (addr:00:00:5e:00:01:01, vlan:20) [ 71.880557] br1: received packet on vx20 with own address as source address (addr:00:00:5e:00:01:01, vlan:20) [ 71.881102] br1: received packet on vx20 with own address as source address (addr:00:00:5e:00:01:01, vlan:20) [ 71.881936] br1: received packet on vx10 with own address as source address (addr:00:00:5e:00:01:01, vlan:10) [ 71.882490] br1: received packet on vx10 with own address as source address (addr:00:00:5e:00:01:01, vlan:10) [ 71.883020] br1: received packet on vx10 with own address as source address (addr:00:00:5e:00:01:01, vlan:10) [ 71.883576] br1: received packet on vx10 with own address as source address (addr:00:00:5e:00:01:01, vlan:10) [ 71.884130] br1: received packet on vx10 with own address as source address (addr:00:00:5e:00:01:01, vlan:10) # TEST: ping6: local->local vid 10->vid 20 [ OK ] # TEST: ping6: local->remote vid 10->vid 10 [ OK ] # TEST: ping6: local->remote vid 20->vid 20 [ OK ] # TEST: ping6: local->remote vid 10->vid 20 [ OK ] # TEST: ping6: local->remote vid 20->vid 10 [ OK ] [ 81.186089] w3: left allmulticast mode [ 81.186364] w3: left promiscuous mode [ 81.186599] br1: port 5(w3) entered disabled state [ 81.197523] w1: left allmulticast mode [ 81.197773] w1: left promiscuous mode [ 81.197991] br1: port 4(w1) entered disabled state [ 81.206476] vx4001: left allmulticast mode [ 81.206725] vx4001: left promiscuous mode [ 81.206957] br1: port 3(vx4001) entered disabled state [ 81.212475] vx20: left allmulticast mode [ 81.212698] vx20: left promiscuous mode [ 81.212917] br1: port 2(vx20) entered disabled state [ 81.218600] vx10: left allmulticast mode [ 81.218851] vx10: left promiscuous mode [ 81.219067] br1: port 1(vx10) entered disabled state [ 81.225306] ------------[ cut here ]------------ [ 81.225589] refcount_t: underflow; use-after-free. [ 81.225873] WARNING: CPU: 0 PID: 68 at lib/refcount.c:28 refcount_warn_saturate+0xd0/0x130 [ 81.226321] Modules linked in: macvlan vxlan ip6_udp_tunnel udp_tunnel act_mirred cls_flower ip6_gre ip6_tunnel tunnel6 act_gact cls_matchall ip_gre gre sch_ingress bridge stp llc 8021q vrf veth [ 81.227310] CPU: 0 PID: 68 Comm: kworker/u8:1 Not tainted 6.8.0-rc2-virtme #1 [ 81.227901] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 81.228793] Workqueue: netns cleanup_net [ 81.229117] RIP: 0010:refcount_warn_saturate+0xd0/0x130 [ 81.229547] 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 cf 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 [ 81.230990] RSP: 0018:ffffb44b00263d78 EFLAGS: 00010286 [ 81.231417] RAX: 0000000000000000 RBX: ffff8c4484908000 RCX: 00000000ffffdfff [ 81.231971] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 81.232543] RBP: ffff8c44849085f8 R08: ffffffffb7164508 R09: 00000000ffffdfff [ 81.233115] R10: ffffffffb7084520 R11: ffffffffb7134520 R12: ffff8c4484908000 [ 81.233693] R13: ffffb44b00263e08 R14: ffff8c4484908b60 R15: ffffffffb8613dd0 [ 81.234261] FS: 0000000000000000(0000) GS:ffff8c44bfc00000(0000) knlGS:0000000000000000 [ 81.234909] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 81.235365] CR2: 000000000044a3a0 CR3: 0000000005b04003 CR4: 00000000001706f0 [ 81.235941] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 81.236521] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 81.237077] Call Trace: [ 81.237283] [ 81.237477] ? __warn+0x84/0x170 [ 81.237754] ? refcount_warn_saturate+0xd0/0x130 [ 81.238132] ? report_bug+0x199/0x1b0 [ 81.238452] ? handle_bug+0x3d/0x70 [ 81.238740] ? exc_invalid_op+0x18/0x70 [ 81.239048] ? asm_exc_invalid_op+0x1a/0x20 [ 81.239402] ? refcount_warn_saturate+0xd0/0x130 [ 81.239780] ? refcount_warn_saturate+0xcf/0x130 [ 81.240158] br_sysfs_delbr+0x1d/0x40 [bridge] [ 81.240606] br_dev_delete+0x88/0xa0 [bridge] [ 81.240993] br_net_exit_batch_rtnl+0x70/0xd0 [bridge] [ 81.241433] cleanup_net+0x251/0x3a0 [ 81.241734] ? process_one_work+0x16c/0x4b0 [ 81.242071] process_one_work+0x1d9/0x4b0 [ 81.242417] worker_thread+0x1c1/0x3d0 [ 81.242728] ? __pfx_worker_thread+0x10/0x10 [ 81.243085] kthread+0xdd/0x110 [ 81.243347] ? __pfx_kthread+0x10/0x10 [ 81.243668] ret_from_fork+0x34/0x50 [ 81.243966] ? __pfx_kthread+0x10/0x10 [ 81.244271] ret_from_fork_asm+0x1b/0x30 [ 81.244616] [ 81.244804] irq event stamp: 42161 [ 81.245086] hardirqs last enabled at (42171): [] console_unlock+0x10d/0x130 [ 81.245782] hardirqs last disabled at (42182): [] console_unlock+0xf2/0x130 [ 81.246466] softirqs last enabled at (41718): [] __do_softirq+0x2c2/0x37a [ 81.247130] softirqs last disabled at (41713): [] irq_exit_rcu+0x7f/0xa0 [ 81.247784] ---[ end trace 0000000000000000 ]--- [ 81.248263] ------------[ cut here ]------------ [ 81.248557] sysfs group 'bridge' not found for kobject 'br1' [ 81.248886] WARNING: CPU: 2 PID: 68 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90 [ 81.249331] Modules linked in: macvlan vxlan ip6_udp_tunnel udp_tunnel act_mirred cls_flower ip6_gre ip6_tunnel tunnel6 act_gact cls_matchall ip_gre gre sch_ingress bridge stp llc 8021q vrf veth [ 81.250360] CPU: 2 PID: 68 Comm: kworker/u8:1 Tainted: G W 6.8.0-rc2-virtme #1 [ 81.250840] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 81.251488] Workqueue: netns cleanup_net [ 81.251725] RIP: 0010:sysfs_remove_group+0x75/0x90 [ 81.252008] 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 cf 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 [ 81.253049] RSP: 0018:ffffb44b00263d70 EFLAGS: 00010286 [ 81.253362] RAX: 0000000000000000 RBX: ffffffffc0558c60 RCX: 00000000ffffdfff [ 81.253777] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 81.254192] RBP: 0000000000000000 R08: ffffffffb7164508 R09: 00000000ffffdfff [ 81.254601] R10: ffffffffb7084520 R11: ffffffffb7134520 R12: ffff8c44849085f8 [ 81.255002] R13: ffffb44b00263e08 R14: ffff8c4484908b60 R15: ffffffffb8613dd0 [ 81.255421] FS: 0000000000000000(0000) GS:ffff8c44bfd00000(0000) knlGS:0000000000000000 [ 81.255879] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 81.256187] CR2: 00007fb7528ee1b4 CR3: 000000003dc4c005 CR4: 00000000001706f0 [ 81.256570] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 81.256957] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 81.257344] Call Trace: [ 81.257492] [ 81.257621] ? __warn+0x84/0x170 [ 81.257807] ? sysfs_remove_group+0x75/0x90 [ 81.258040] ? report_bug+0x199/0x1b0 [ 81.258263] ? handle_bug+0x3d/0x70 [ 81.258474] ? exc_invalid_op+0x18/0x70 [ 81.258700] ? asm_exc_invalid_op+0x1a/0x20 [ 81.258933] ? sysfs_remove_group+0x75/0x90 [ 81.259180] br_dev_delete+0x88/0xa0 [bridge] [ 81.259466] br_net_exit_batch_rtnl+0x70/0xd0 [bridge] [ 81.259774] cleanup_net+0x251/0x3a0 [ 81.259990] ? process_one_work+0x16c/0x4b0 [ 81.260233] process_one_work+0x1d9/0x4b0 [ 81.260475] worker_thread+0x1c1/0x3d0 [ 81.260697] ? __pfx_worker_thread+0x10/0x10 [ 81.260965] kthread+0xdd/0x110 [ 81.261152] ? __pfx_kthread+0x10/0x10 [ 81.261382] ret_from_fork+0x34/0x50 [ 81.261596] ? __pfx_kthread+0x10/0x10 [ 81.261828] ret_from_fork_asm+0x1b/0x30 [ 81.262164] [ 81.262316] irq event stamp: 42831 [ 81.262585] hardirqs last enabled at (42843): [] console_unlock+0x10d/0x130 [ 81.263254] hardirqs last disabled at (42852): [] console_unlock+0xf2/0x130 [ 81.263932] softirqs last enabled at (42410): [] __do_softirq+0x2c2/0x37a [ 81.264598] softirqs last disabled at (42403): [] irq_exit_rcu+0x7f/0xa0 [ 81.265242] ---[ end trace 0000000000000000 ]--- [ 81.265871] br1: left promiscuous mode [ 81.571065] br1: left promiscuous mode [ 81.672025] br1: port 4(veth2) entered disabled state [ 81.681848] veth2: left allmulticast mode [ 81.682094] veth2: left promiscuous mode [ 81.682318] br1: port 4(veth2) entered disabled state [ 81.712204] br1: port 3(veth1) entered disabled state [ 81.720963] veth1: left allmulticast mode [ 81.721224] veth1: left promiscuous mode [ 81.721473] br1: port 3(veth1) entered disabled state [ 81.754585] vx4001: left allmulticast mode [ 81.754844] vx4001: left promiscuous mode [ 81.755103] br1: port 5(vx4001) entered disabled state [ 81.810197] vx20: left allmulticast mode [ 81.810483] vx20: left promiscuous mode [ 81.810718] br1: port 2(vx20) entered disabled state [ 81.865325] vx10: left allmulticast mode [ 81.865699] vx10: left promiscuous mode [ 81.866021] br1: port 1(vx10) entered disabled state ok 1 selftests: net/forwarding: vxlan_symmetric_ipv6.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__->