make -C tools/testing/selftests TARGETS=net/forwarding TEST_PROGS=vxlan_brridge_1q_port_8472_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_bridge_1q_port_8472_ipv6.sh [ 1057.766718] br1: port 1(vx10) entered blocking state [ 1057.767211] br1: port 1(vx10) entered disabled state [ 1057.767628] vx10: entered allmulticast mode [ 1057.768222] vx10: entered promiscuous mode [ 1057.768616] br1: port 1(vx10) entered blocking state [ 1057.768944] br1: port 1(vx10) entered forwarding state [ 1057.811030] br1: port 2(vx20) entered blocking state [ 1057.811565] br1: port 2(vx20) entered disabled state [ 1057.811968] vx20: entered allmulticast mode [ 1057.812406] vx20: entered promiscuous mode [ 1057.812728] br1: port 2(vx20) entered blocking state [ 1057.813178] br1: port 2(vx20) entered forwarding state [ 1057.834307] br1: port 3(veth1) entered blocking state [ 1057.834656] br1: port 3(veth1) entered disabled state [ 1057.835030] veth1: entered allmulticast mode [ 1057.835362] veth1: entered promiscuous mode [ 1057.847356] br1: port 3(veth1) entered blocking state [ 1057.847793] br1: port 3(veth1) entered forwarding state [ 1057.891321] br1: port 4(veth2) entered blocking state [ 1057.891680] br1: port 4(veth2) entered disabled state [ 1057.892004] veth2: entered allmulticast mode [ 1057.892333] veth2: entered promiscuous mode [ 1057.903798] br1: port 4(veth2) entered blocking state [ 1057.904116] br1: port 4(veth2) entered forwarding state [ 1058.321964] br2: port 1(w1) entered blocking state [ 1058.322263] br2: port 1(w1) entered disabled state [ 1058.322537] w1: entered allmulticast mode [ 1058.322854] w1: entered promiscuous mode [ 1058.399032] br2: port 2(vx10) entered blocking state [ 1058.399434] br2: port 2(vx10) entered disabled state [ 1058.399810] vx10: entered allmulticast mode [ 1058.400238] vx10: entered promiscuous mode [ 1058.400582] br2: port 2(vx10) entered blocking state [ 1058.400952] br2: port 2(vx10) entered forwarding state [ 1058.475259] br2: port 3(vx20) entered blocking state [ 1058.475595] br2: port 3(vx20) entered disabled state [ 1058.475922] vx20: entered allmulticast mode [ 1058.476258] vx20: entered promiscuous mode [ 1058.476520] br2: port 3(vx20) entered blocking state [ 1058.476801] br2: port 3(vx20) entered forwarding state [ 1058.572925] br2: port 1(w1) entered blocking state [ 1058.573303] br2: port 1(w1) entered forwarding state [ 1058.860049] br2: port 1(w1) entered blocking state [ 1058.860363] br2: port 1(w1) entered disabled state [ 1058.860642] w1: entered allmulticast mode [ 1058.861058] w1: entered promiscuous mode [ 1058.951522] br2: port 2(vx10) entered blocking state [ 1058.951843] br2: port 2(vx10) entered disabled state [ 1058.952230] vx10: entered allmulticast mode [ 1058.952550] vx10: entered promiscuous mode [ 1058.952816] br2: port 2(vx10) entered blocking state [ 1058.953098] br2: port 2(vx10) entered forwarding state [ 1059.029642] br2: port 3(vx20) entered blocking state [ 1059.030083] br2: port 3(vx20) entered disabled state [ 1059.030372] vx20: entered allmulticast mode [ 1059.030697] vx20: entered promiscuous mode [ 1059.031009] br2: port 3(vx20) entered blocking state [ 1059.031280] br2: port 3(vx20) entered forwarding state [ 1059.122893] br2: port 1(w1) entered blocking state [ 1059.123194] br2: port 1(w1) entered forwarding state # INFO: Running tests with UDP port 8472 # TEST: ping: local->local vid 10 [ OK ] # TEST: ping: local->local vid 20 [ OK ] # TEST: ping: local->remote 1 vid 10 [ OK ] # TEST: ping: local->remote 2 vid 10 [ OK ] # TEST: ping: local->remote 1 vid 20 [ OK ] # TEST: ping: local->remote 2 vid 20 [ OK ] # TEST: ping6: local->local vid 10 [ OK ] # TEST: ping6: local->local vid 20 [ OK ] # TEST: ping6: local->remote 1 vid 10 [ OK ] # TEST: ping6: local->remote 2 vid 10 [ OK ] # TEST: ping6: local->remote 1 vid 20 [ OK ] [ 1142.064045] tc (10173) used greatest stack depth: 11576 bytes left # TEST: ping6: local->remote 2 vid 20 [ OK ] [ 1152.590023] vx20: left allmulticast mode [ 1152.590542] vx20: left promiscuous mode [ 1152.591194] br2: port 3(vx20) entered disabled state [ 1152.602136] vx10: left allmulticast mode [ 1152.602487] vx10: left promiscuous mode [ 1152.602900] br2: port 2(vx10) entered disabled state [ 1152.615030] w1: left allmulticast mode [ 1152.615264] w1: left promiscuous mode [ 1152.615478] br2: port 1(w1) entered disabled state [ 1152.624318] ------------[ cut here ]------------ [ 1152.624655] refcount_t: underflow; use-after-free. [ 1152.625087] WARNING: CPU: 1 PID: 68 at lib/refcount.c:28 refcount_warn_saturate+0xd0/0x130 [ 1152.625727] Modules linked in: vxlan ip6_udp_tunnel udp_tunnel act_mirred cls_flower 8021q bridge stp llc ip6_gre ip6_tunnel tunnel6 act_gact cls_matchall ip_gre gre sch_ingress vrf veth [ 1152.627045] CPU: 1 PID: 68 Comm: kworker/u8:1 Not tainted 6.8.0-rc2-virtme #1 [ 1152.627602] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 1152.628492] Workqueue: netns cleanup_net [ 1152.628815] RIP: 0010:refcount_warn_saturate+0xd0/0x130 [ 1152.629234] 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 c8 70 0f 83 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 [ 1152.630558] RSP: 0018:ffffa1cec0263d78 EFLAGS: 00010286 [ 1152.630852] RAX: 0000000000000000 RBX: ffff919542838000 RCX: 00000000ffffdfff [ 1152.631284] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 1152.631824] RBP: ffff9195428385f8 R08: ffffffff83564508 R09: 00000000ffffdfff [ 1152.632331] R10: ffffffff83484520 R11: ffffffff83534520 R12: ffff919542838000 [ 1152.632866] R13: ffffa1cec0263e08 R14: ffff919542838b60 R15: ffff919545e20050 [ 1152.633372] FS: 0000000000000000(0000) GS:ffff91957ec80000(0000) knlGS:0000000000000000 [ 1152.633904] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1152.634357] CR2: 00005645c8bea008 CR3: 00000000026bc006 CR4: 00000000001706f0 [ 1152.634923] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 1152.635473] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 1152.636031] Call Trace: [ 1152.636237] [ 1152.636416] ? __warn+0x84/0x170 [ 1152.636690] ? refcount_warn_saturate+0xd0/0x130 [ 1152.637068] ? report_bug+0x199/0x1b0 [ 1152.637373] ? handle_bug+0x3d/0x70 [ 1152.637633] ? exc_invalid_op+0x18/0x70 [ 1152.637956] ? asm_exc_invalid_op+0x1a/0x20 [ 1152.638300] ? refcount_warn_saturate+0xd0/0x130 [ 1152.638668] ? refcount_warn_saturate+0xcf/0x130 [ 1152.639038] br_sysfs_delbr+0x1d/0x40 [bridge] [ 1152.639466] br_dev_delete+0x88/0xa0 [bridge] [ 1152.639840] br_net_exit_batch_rtnl+0x70/0xd0 [bridge] [ 1152.640273] cleanup_net+0x251/0x3a0 [ 1152.640572] ? process_one_work+0x16c/0x4b0 [ 1152.640859] process_one_work+0x1d9/0x4b0 [ 1152.641108] worker_thread+0x1c1/0x3d0 [ 1152.641319] ? __pfx_worker_thread+0x10/0x10 [ 1152.641554] kthread+0xdd/0x110 [ 1152.641744] ? __pfx_kthread+0x10/0x10 [ 1152.641974] ret_from_fork+0x34/0x50 [ 1152.642176] ? __pfx_kthread+0x10/0x10 [ 1152.642389] ret_from_fork_asm+0x1b/0x30 [ 1152.642612] [ 1152.642738] irq event stamp: 36091 [ 1152.642962] hardirqs last enabled at (36103): [] console_unlock+0x10d/0x130 [ 1152.643424] hardirqs last disabled at (36112): [] console_unlock+0xf2/0x130 [ 1152.643898] softirqs last enabled at (36130): [] __do_softirq+0x2c2/0x37a [ 1152.644352] softirqs last disabled at (36121): [] irq_exit_rcu+0x7f/0xa0 [ 1152.644787] ---[ end trace 0000000000000000 ]--- [ 1152.645058] ------------[ cut here ]------------ [ 1152.645308] sysfs group 'bridge' not found for kobject 'br2' [ 1152.645632] WARNING: CPU: 1 PID: 68 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90 [ 1152.646092] Modules linked in: vxlan ip6_udp_tunnel udp_tunnel act_mirred cls_flower 8021q bridge stp llc ip6_gre ip6_tunnel tunnel6 act_gact cls_matchall ip_gre gre sch_ingress vrf veth [ 1152.646998] CPU: 1 PID: 68 Comm: kworker/u8:1 Tainted: G W 6.8.0-rc2-virtme #1 [ 1152.647458] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 1152.648084] Workqueue: netns cleanup_net [ 1152.648309] RIP: 0010:sysfs_remove_group+0x75/0x90 [ 1152.648581] 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 b0 06 0f 83 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 [ 1152.649561] RSP: 0018:ffffa1cec0263d70 EFLAGS: 00010286 [ 1152.649856] RAX: 0000000000000000 RBX: ffffffffc0515c60 RCX: 00000000ffffdfff [ 1152.650241] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 1152.650620] RBP: 0000000000000000 R08: ffffffff83564508 R09: 00000000ffffdfff [ 1152.651014] R10: ffffffff83484520 R11: ffffffff83534520 R12: ffff9195428385f8 [ 1152.651415] R13: ffffa1cec0263e08 R14: ffff919542838b60 R15: ffff919545e20050 [ 1152.651800] FS: 0000000000000000(0000) GS:ffff91957ec80000(0000) knlGS:0000000000000000 [ 1152.652247] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1152.652560] CR2: 00005645c8bea008 CR3: 00000000026bc006 CR4: 00000000001706f0 [ 1152.652945] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 1152.653327] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 1152.653721] Call Trace: [ 1152.653863] [ 1152.653996] ? __warn+0x84/0x170 [ 1152.654178] ? sysfs_remove_group+0x75/0x90 [ 1152.654407] ? report_bug+0x199/0x1b0 [ 1152.654611] ? handle_bug+0x3d/0x70 [ 1152.654803] ? exc_invalid_op+0x18/0x70 [ 1152.655023] ? asm_exc_invalid_op+0x1a/0x20 [ 1152.655257] ? sysfs_remove_group+0x75/0x90 [ 1152.655486] br_dev_delete+0x88/0xa0 [bridge] [ 1152.655747] br_net_exit_batch_rtnl+0x70/0xd0 [bridge] [ 1152.656051] cleanup_net+0x251/0x3a0 [ 1152.656254] ? process_one_work+0x16c/0x4b0 [ 1152.656486] process_one_work+0x1d9/0x4b0 [ 1152.656709] worker_thread+0x1c1/0x3d0 [ 1152.656930] ? __pfx_worker_thread+0x10/0x10 [ 1152.657163] kthread+0xdd/0x110 [ 1152.657338] ? __pfx_kthread+0x10/0x10 [ 1152.657545] ret_from_fork+0x34/0x50 [ 1152.657742] ? __pfx_kthread+0x10/0x10 [ 1152.657955] ret_from_fork_asm+0x1b/0x30 [ 1152.658184] [ 1152.658312] irq event stamp: 36745 [ 1152.658507] hardirqs last enabled at (36755): [] console_unlock+0x10d/0x130 [ 1152.658978] hardirqs last disabled at (36766): [] console_unlock+0xf2/0x130 [ 1152.659433] softirqs last enabled at (36130): [] __do_softirq+0x2c2/0x37a [ 1152.659893] softirqs last disabled at (36121): [] irq_exit_rcu+0x7f/0xa0 [ 1152.660330] ---[ end trace 0000000000000000 ]--- [ 1152.749077] vx20: left allmulticast mode [ 1152.749465] vx20: left promiscuous mode [ 1152.749802] br2: port 3(vx20) entered disabled state [ 1152.760136] vx10: left allmulticast mode [ 1152.760497] vx10: left promiscuous mode [ 1152.760825] br2: port 2(vx10) entered disabled state [ 1152.772062] w1: left allmulticast mode [ 1152.772384] w1: left promiscuous mode [ 1152.772600] br2: port 1(w1) entered disabled state [ 1152.782073] ------------[ cut here ]------------ [ 1152.782347] sysfs group 'bridge' not found for kobject 'br2' [ 1152.782687] WARNING: CPU: 1 PID: 68 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90 [ 1152.783162] Modules linked in: vxlan ip6_udp_tunnel udp_tunnel act_mirred cls_flower 8021q bridge stp llc ip6_gre ip6_tunnel tunnel6 act_gact cls_matchall ip_gre gre sch_ingress vrf veth [ 1152.784080] CPU: 1 PID: 68 Comm: kworker/u8:1 Tainted: G W 6.8.0-rc2-virtme #1 [ 1152.784541] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 1152.785176] Workqueue: netns cleanup_net [ 1152.785395] RIP: 0010:sysfs_remove_group+0x75/0x90 [ 1152.785664] 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 b0 06 0f 83 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 [ 1152.786659] RSP: 0018:ffffa1cec0263d70 EFLAGS: 00010286 [ 1152.786961] RAX: 0000000000000000 RBX: ffffffffc0515c60 RCX: 00000000ffffdfff [ 1152.787340] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 1152.787733] RBP: 0000000000000000 R08: ffffffff83564508 R09: 00000000ffffdfff [ 1152.788130] R10: ffffffff83484520 R11: ffffffff83534520 R12: ffff91954283e5f8 [ 1152.788515] R13: ffffa1cec0263e08 R14: ffff91954283eb60 R15: ffffffff84a13dd0 [ 1152.788920] FS: 0000000000000000(0000) GS:ffff91957ec80000(0000) knlGS:0000000000000000 [ 1152.789347] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1152.789665] CR2: 00005645c8bcc320 CR3: 00000000026bc006 CR4: 00000000001706f0 [ 1152.790065] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 1152.790442] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 1152.790824] Call Trace: [ 1152.790979] [ 1152.791117] ? __warn+0x84/0x170 [ 1152.791303] ? sysfs_remove_group+0x75/0x90 [ 1152.791534] ? report_bug+0x199/0x1b0 [ 1152.791743] ? handle_bug+0x3d/0x70 [ 1152.791990] ? exc_invalid_op+0x18/0x70 [ 1152.792200] ? asm_exc_invalid_op+0x1a/0x20 [ 1152.792434] ? sysfs_remove_group+0x75/0x90 [ 1152.792670] br_dev_delete+0x88/0xa0 [bridge] [ 1152.792950] br_net_exit_batch_rtnl+0x70/0xd0 [bridge] [ 1152.793241] cleanup_net+0x251/0x3a0 [ 1152.793444] ? process_one_work+0x16c/0x4b0 [ 1152.793681] process_one_work+0x1d9/0x4b0 [ 1152.793920] worker_thread+0x1c1/0x3d0 [ 1152.794126] ? __pfx_worker_thread+0x10/0x10 [ 1152.794365] kthread+0xdd/0x110 [ 1152.794541] ? __pfx_kthread+0x10/0x10 [ 1152.794745] ret_from_fork+0x34/0x50 [ 1152.794981] ? __pfx_kthread+0x10/0x10 [ 1152.795189] ret_from_fork_asm+0x1b/0x30 [ 1152.795412] [ 1152.795536] irq event stamp: 78903 [ 1152.795727] hardirqs last enabled at (78913): [] console_unlock+0x10d/0x130 [ 1152.796191] hardirqs last disabled at (78924): [] console_unlock+0xf2/0x130 [ 1152.796664] softirqs last enabled at (78594): [] __do_softirq+0x2c2/0x37a [ 1152.797120] softirqs last disabled at (78589): [] irq_exit_rcu+0x7f/0xa0 [ 1152.797554] ---[ end trace 0000000000000000 ]--- [ 1153.096175] br1: port 4(veth2) entered disabled state [ 1153.106842] veth2: left allmulticast mode [ 1153.107151] veth2: left promiscuous mode [ 1153.107379] br1: port 4(veth2) entered disabled state [ 1153.158547] br1: port 3(veth1) entered disabled state [ 1153.170267] veth1: left allmulticast mode [ 1153.170519] veth1: left promiscuous mode [ 1153.170747] br1: port 3(veth1) entered disabled state [ 1153.202067] vx20: left allmulticast mode [ 1153.202422] vx20: left promiscuous mode [ 1153.202744] br1: port 2(vx20) entered disabled state [ 1153.265969] vx10: left allmulticast mode [ 1153.266222] vx10: left promiscuous mode [ 1153.266446] br1: port 1(vx10) entered disabled state ok 1 selftests: net/forwarding: vxlan_bridge_1q_port_8472_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__->