make -C tools/testing/selftests TARGETS=net/forwarding TEST_PROGS=vxlan_brridge_1d_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_1d_port_8472_ipv6.sh [ 340.033331] br1: port 1(vx1) entered blocking state [ 340.033858] br1: port 1(vx1) entered disabled state [ 340.034404] vx1: entered allmulticast mode [ 340.034925] vx1: entered promiscuous mode [ 340.035512] br1: port 1(vx1) entered blocking state [ 340.036003] br1: port 1(vx1) entered forwarding state [ 340.048067] br1: port 2(veth1) entered blocking state [ 340.048389] br1: port 2(veth1) entered disabled state [ 340.048679] veth1: entered allmulticast mode [ 340.049016] veth1: entered promiscuous mode [ 340.059993] br1: port 2(veth1) entered blocking state [ 340.060306] br1: port 2(veth1) entered forwarding state [ 340.080161] br1: port 3(veth2) entered blocking state [ 340.080463] br1: port 3(veth2) entered disabled state [ 340.080750] veth2: entered allmulticast mode [ 340.081093] veth2: entered promiscuous mode [ 340.090697] br1: port 3(veth2) entered blocking state [ 340.091026] br1: port 3(veth2) entered forwarding state [ 340.429789] br2: port 1(w1) entered blocking state [ 340.430155] br2: port 1(w1) entered disabled state [ 340.430446] w1: entered allmulticast mode [ 340.430785] w1: entered promiscuous mode [ 340.488835] br2: port 2(vx2) entered blocking state [ 340.489201] br2: port 2(vx2) entered disabled state [ 340.489491] vx2: entered allmulticast mode [ 340.489809] vx2: entered promiscuous mode [ 340.490079] br2: port 2(vx2) entered blocking state [ 340.490347] br2: port 2(vx2) entered forwarding state [ 340.561062] br2: port 1(w1) entered blocking state [ 340.561358] br2: port 1(w1) entered forwarding state [ 340.768329] br2: port 1(w1) entered blocking state [ 340.768627] br2: port 1(w1) entered disabled state [ 340.768903] w1: entered allmulticast mode [ 340.769226] w1: entered promiscuous mode [ 340.829908] br2: port 2(vx2) entered blocking state [ 340.830226] br2: port 2(vx2) entered disabled state [ 340.830506] vx2: entered allmulticast mode [ 340.830813] vx2: entered promiscuous mode [ 340.831100] br2: port 2(vx2) entered blocking state [ 340.831365] br2: port 2(vx2) entered forwarding state [ 340.905602] br2: port 1(w1) entered blocking state [ 340.906032] br2: port 1(w1) entered forwarding state # INFO: Running tests with UDP port 8472 # TEST: ping: local->local [ OK ] # TEST: ping: local->remote 1 [ OK ] # TEST: ping: local->remote 2 [ OK ] # TEST: ping6: local->local [ OK ] # TEST: ping6: local->remote 1 [ OK ] # TEST: ping6: local->remote 2 [ OK ] [ 390.303051] vx2: left allmulticast mode [ 390.303332] vx2: left promiscuous mode [ 390.303623] br2: port 2(vx2) entered disabled state [ 390.316184] w1: left allmulticast mode [ 390.316432] w1: left promiscuous mode [ 390.316676] br2: port 1(w1) entered disabled state [ 390.331149] ------------[ cut here ]------------ [ 390.331419] refcount_t: underflow; use-after-free. [ 390.331715] WARNING: CPU: 0 PID: 11 at lib/refcount.c:28 refcount_warn_saturate+0xd0/0x130 [ 390.332169] Modules linked in: vxlan ip6_udp_tunnel udp_tunnel sch_tbf sch_prio bridge stp llc act_gact cls_flower sch_ingress 8021q ip_gre gre vrf veth [ 390.332915] CPU: 0 PID: 11 Comm: kworker/u8:0 Not tainted 6.8.0-rc2-virtme #1 [ 390.333311] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 390.333928] Workqueue: netns cleanup_net [ 390.334158] RIP: 0010:refcount_warn_saturate+0xd0/0x130 [ 390.334450] 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 ab 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 [ 390.335435] RSP: 0018:ffffbb66c0063d78 EFLAGS: 00010286 [ 390.335724] RAX: 0000000000000000 RBX: ffff902ac190a000 RCX: 00000000ffffdfff [ 390.336115] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 390.336504] RBP: ffff902ac190a5f8 R08: ffffffffab764508 R09: 00000000ffffdfff [ 390.336883] R10: ffffffffab684520 R11: ffffffffab734520 R12: ffff902ac190a000 [ 390.337274] R13: ffffbb66c0063e08 R14: ffff902ac190ab60 R15: ffff902ac1bd8050 [ 390.337658] FS: 0000000000000000(0000) GS:ffff902afec00000(0000) knlGS:0000000000000000 [ 390.338091] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 390.338407] CR2: 00007f6e72398270 CR3: 0000000001c08003 CR4: 00000000001706f0 [ 390.338799] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 390.339187] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 390.339574] Call Trace: [ 390.339713] [ 390.339840] ? __warn+0x84/0x170 [ 390.340030] ? refcount_warn_saturate+0xd0/0x130 [ 390.340283] ? report_bug+0x199/0x1b0 [ 390.340498] ? handle_bug+0x3d/0x70 [ 390.340710] ? exc_invalid_op+0x18/0x70 [ 390.340917] ? asm_exc_invalid_op+0x1a/0x20 [ 390.341155] ? refcount_warn_saturate+0xd0/0x130 [ 390.341406] ? refcount_warn_saturate+0xcf/0x130 [ 390.341675] br_sysfs_delbr+0x1d/0x40 [bridge] [ 390.341985] br_dev_delete+0x88/0xa0 [bridge] [ 390.342238] br_net_exit_batch_rtnl+0x70/0xd0 [bridge] [ 390.342535] cleanup_net+0x251/0x3a0 [ 390.342739] ? process_one_work+0x16c/0x4b0 [ 390.342976] process_one_work+0x1d9/0x4b0 [ 390.343199] worker_thread+0x1c1/0x3d0 [ 390.343411] ? __pfx_worker_thread+0x10/0x10 [ 390.343653] kthread+0xdd/0x110 [ 390.343833] ? __pfx_kthread+0x10/0x10 [ 390.344050] ret_from_fork+0x34/0x50 [ 390.344248] ? __pfx_kthread+0x10/0x10 [ 390.344468] ret_from_fork_asm+0x1b/0x30 [ 390.344691] [ 390.344816] irq event stamp: 27785 [ 390.345010] hardirqs last enabled at (27797): [] console_unlock+0x10d/0x130 [ 390.345470] hardirqs last disabled at (27806): [] console_unlock+0xf2/0x130 [ 390.345925] softirqs last enabled at (27488): [] __do_softirq+0x2c2/0x37a [ 390.346376] softirqs last disabled at (27483): [] irq_exit_rcu+0x7f/0xa0 [ 390.346810] ---[ end trace 0000000000000000 ]--- [ 390.347071] ------------[ cut here ]------------ [ 390.347323] sysfs group 'bridge' not found for kobject 'br2' [ 390.347658] WARNING: CPU: 0 PID: 11 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90 [ 390.348300] Modules linked in: vxlan ip6_udp_tunnel udp_tunnel sch_tbf sch_prio bridge stp llc act_gact cls_flower sch_ingress 8021q ip_gre gre vrf veth [ 390.349065] CPU: 0 PID: 11 Comm: kworker/u8:0 Tainted: G W 6.8.0-rc2-virtme #1 [ 390.349526] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 390.350133] Workqueue: netns cleanup_net [ 390.350351] RIP: 0010:sysfs_remove_group+0x75/0x90 [ 390.350624] 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 ab 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 [ 390.351608] RSP: 0018:ffffbb66c0063d70 EFLAGS: 00010286 [ 390.351900] RAX: 0000000000000000 RBX: ffffffffc050bc60 RCX: 00000000ffffdfff [ 390.352281] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 390.352670] RBP: 0000000000000000 R08: ffffffffab764508 R09: 00000000ffffdfff [ 390.353056] R10: ffffffffab684520 R11: ffffffffab734520 R12: ffff902ac190a5f8 [ 390.353442] R13: ffffbb66c0063e08 R14: ffff902ac190ab60 R15: ffff902ac1bd8050 [ 390.353825] FS: 0000000000000000(0000) GS:ffff902afec00000(0000) knlGS:0000000000000000 [ 390.354261] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 390.354576] CR2: 00007f6e72398270 CR3: 0000000001c08003 CR4: 00000000001706f0 [ 390.354960] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 390.355340] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 390.355732] Call Trace: [ 390.355878] [ 390.356008] ? __warn+0x84/0x170 [ 390.356190] ? sysfs_remove_group+0x75/0x90 [ 390.356423] ? report_bug+0x199/0x1b0 [ 390.356634] ? handle_bug+0x3d/0x70 [ 390.356829] ? exc_invalid_op+0x18/0x70 [ 390.357051] ? asm_exc_invalid_op+0x1a/0x20 [ 390.357289] ? sysfs_remove_group+0x75/0x90 [ 390.357526] br_dev_delete+0x88/0xa0 [bridge] [ 390.357792] br_net_exit_batch_rtnl+0x70/0xd0 [bridge] [ 390.358089] cleanup_net+0x251/0x3a0 [ 390.358289] ? process_one_work+0x16c/0x4b0 [ 390.358531] process_one_work+0x1d9/0x4b0 [ 390.358754] worker_thread+0x1c1/0x3d0 [ 390.358972] ? __pfx_worker_thread+0x10/0x10 [ 390.359205] kthread+0xdd/0x110 [ 390.359383] ? __pfx_kthread+0x10/0x10 [ 390.359599] ret_from_fork+0x34/0x50 [ 390.359796] ? __pfx_kthread+0x10/0x10 [ 390.360016] ret_from_fork_asm+0x1b/0x30 [ 390.360241] [ 390.360369] irq event stamp: 28421 [ 390.360584] hardirqs last enabled at (28431): [] console_unlock+0x10d/0x130 [ 390.361052] hardirqs last disabled at (28442): [] console_unlock+0xf2/0x130 [ 390.361510] softirqs last enabled at (28396): [] __do_softirq+0x2c2/0x37a [ 390.361975] softirqs last disabled at (28387): [] irq_exit_rcu+0x7f/0xa0 [ 390.362415] ---[ end trace 0000000000000000 ]--- [ 390.456456] vx2: left allmulticast mode [ 390.456853] vx2: left promiscuous mode [ 390.457271] br2: port 2(vx2) entered disabled state [ 390.484068] w1: left allmulticast mode [ 390.484300] w1: left promiscuous mode [ 390.484517] br2: port 1(w1) entered disabled state [ 390.496134] ------------[ cut here ]------------ [ 390.496397] sysfs group 'bridge' not found for kobject 'br2' [ 390.496736] WARNING: CPU: 2 PID: 11 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90 [ 390.497192] Modules linked in: vxlan ip6_udp_tunnel udp_tunnel sch_tbf sch_prio bridge stp llc act_gact cls_flower sch_ingress 8021q ip_gre gre vrf veth [ 390.497941] CPU: 2 PID: 11 Comm: kworker/u8:0 Tainted: G W 6.8.0-rc2-virtme #1 [ 390.498447] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 390.499074] Workqueue: netns cleanup_net [ 390.499300] RIP: 0010:sysfs_remove_group+0x75/0x90 [ 390.499563] 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 ab 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 [ 390.500567] RSP: 0018:ffffbb66c0063d70 EFLAGS: 00010286 [ 390.500849] RAX: 0000000000000000 RBX: ffffffffc050bc60 RCX: 00000000ffffdfff [ 390.501241] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 390.501619] RBP: 0000000000000000 R08: ffffffffab764508 R09: 00000000ffffdfff [ 390.502053] R10: ffffffffab684520 R11: ffffffffab734520 R12: ffff902ac24d65f8 [ 390.502445] R13: ffffbb66c0063e08 R14: ffff902ac24d6b60 R15: ffffffffacc13dd0 [ 390.502854] FS: 0000000000000000(0000) GS:ffff902afed00000(0000) knlGS:0000000000000000 [ 390.503301] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 390.503610] CR2: 00007f3bcaa351b4 CR3: 000000000f44c005 CR4: 00000000001706f0 [ 390.504001] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 390.504420] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 390.504804] Call Trace: [ 390.504957] [ 390.505079] ? __warn+0x84/0x170 [ 390.505263] ? sysfs_remove_group+0x75/0x90 [ 390.505502] ? report_bug+0x199/0x1b0 [ 390.505714] ? handle_bug+0x3d/0x70 [ 390.505916] ? exc_invalid_op+0x18/0x70 [ 390.506143] ? asm_exc_invalid_op+0x1a/0x20 [ 390.506379] ? sysfs_remove_group+0x75/0x90 [ 390.506616] br_dev_delete+0x88/0xa0 [bridge] [ 390.506889] br_net_exit_batch_rtnl+0x70/0xd0 [bridge] [ 390.507202] cleanup_net+0x251/0x3a0 [ 390.507413] ? process_one_work+0x16c/0x4b0 [ 390.507644] process_one_work+0x1d9/0x4b0 [ 390.507881] worker_thread+0x1c1/0x3d0 [ 390.508104] ? __pfx_worker_thread+0x10/0x10 [ 390.508368] kthread+0xdd/0x110 [ 390.508551] ? __pfx_kthread+0x10/0x10 [ 390.508760] ret_from_fork+0x34/0x50 [ 390.508969] ? __pfx_kthread+0x10/0x10 [ 390.509184] ret_from_fork_asm+0x1b/0x30 [ 390.509408] [ 390.509533] irq event stamp: 53209 [ 390.509724] hardirqs last enabled at (53219): [] console_unlock+0x10d/0x130 [ 390.510189] hardirqs last disabled at (53230): [] console_unlock+0xf2/0x130 [ 390.510643] softirqs last enabled at (52932): [] __do_softirq+0x2c2/0x37a [ 390.511093] softirqs last disabled at (52927): [] irq_exit_rcu+0x7f/0xa0 [ 390.511533] ---[ end trace 0000000000000000 ]--- [ 390.737241] br1: port 3(veth2) entered disabled state [ 390.748281] veth2: left allmulticast mode [ 390.748639] veth2: left promiscuous mode [ 390.748990] br1: port 3(veth2) entered disabled state [ 390.790394] br1: port 2(veth1) entered disabled state [ 390.800719] veth1: left allmulticast mode [ 390.801148] veth1: left promiscuous mode [ 390.801410] br1: port 2(veth1) entered disabled state [ 390.824580] vx1: left allmulticast mode [ 390.824889] vx1: left promiscuous mode [ 390.825250] br1: port 1(vx1) entered disabled state ok 1 selftests: net/forwarding: vxlan_bridge_1d_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__->