make -C tools/testing/selftests TARGETS=net/forwarding TEST_PROGS=q_in_vnii.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: q_in_vni.sh [ 2.147078] ip (232) used greatest stack depth: 12056 bytes left [ 2.245353] ip (246) used greatest stack depth: 11880 bytes left [ 2.538371] 8021q: 802.1Q VLAN Support v1.8 [ 2.978663] br1: port 1(vx100) entered blocking state [ 2.979015] br1: port 1(vx100) entered disabled state [ 2.979390] vx100: entered allmulticast mode [ 2.979757] vx100: entered promiscuous mode [ 2.980042] br1: port 1(vx100) entered blocking state [ 2.980358] br1: port 1(vx100) entered forwarding state [ 3.001874] br1: port 2(veth1) entered blocking state [ 3.002174] br1: port 2(veth1) entered disabled state [ 3.002500] veth1: entered allmulticast mode [ 3.002833] veth1: entered promiscuous mode [ 3.013928] br1: port 2(veth1) entered blocking state [ 3.014266] br1: port 2(veth1) entered forwarding state [ 3.035730] br1: port 3(veth2) entered blocking state [ 3.036055] br1: port 3(veth2) entered disabled state [ 3.036364] veth2: entered allmulticast mode [ 3.036696] veth2: entered promiscuous mode [ 3.048750] br1: port 3(veth2) entered blocking state [ 3.049142] br1: port 3(veth2) entered forwarding state [ 3.429264] br2: port 1(w1) entered blocking state [ 3.429658] br2: port 1(w1) entered disabled state [ 3.430020] w1: entered allmulticast mode [ 3.430412] w1: entered promiscuous mode [ 3.506235] br2: port 2(vx100) entered blocking state [ 3.506634] br2: port 2(vx100) entered disabled state [ 3.506940] vx100: entered allmulticast mode [ 3.507296] vx100: entered promiscuous mode [ 3.507578] br2: port 2(vx100) entered blocking state [ 3.507873] br2: port 2(vx100) entered forwarding state [ 3.590484] br2: port 1(w1) entered blocking state [ 3.590795] br2: port 1(w1) entered forwarding state [ 3.856902] br2: port 1(w1) entered blocking state [ 3.857221] br2: port 1(w1) entered disabled state [ 3.857525] w1: entered allmulticast mode [ 3.857836] w1: entered promiscuous mode [ 3.937253] br2: port 2(vx100) entered blocking state [ 3.937573] br2: port 2(vx100) entered disabled state [ 3.937872] vx100: entered allmulticast mode [ 3.938192] vx100: entered promiscuous mode [ 3.938469] br2: port 2(vx100) entered blocking state [ 3.938755] br2: port 2(vx100) entered forwarding state [ 4.027890] br2: port 1(w1) entered blocking state [ 4.028227] br2: port 1(w1) entered forwarding state # Running tests with UDP port 4789 # TEST: ping: local->local [ OK ] # TEST: ping: local->remote 1 [ OK ] # TEST: ping: local->remote 2 [ OK ] [ 12.493919] vx100: left allmulticast mode [ 12.494232] vx100: left promiscuous mode [ 12.494524] br2: port 2(vx100) entered disabled state [ 12.502606] w1: left allmulticast mode [ 12.502918] w1: left promiscuous mode [ 12.503251] br2: port 1(w1) entered disabled state [ 12.511559] ------------[ cut here ]------------ [ 12.511904] refcount_t: underflow; use-after-free. [ 12.512277] WARNING: CPU: 0 PID: 11 at lib/refcount.c:28 refcount_warn_saturate+0xd0/0x130 [ 12.512876] Modules linked in: vxlan ip6_udp_tunnel udp_tunnel bridge stp llc 8021q sch_ingress vrf veth [ 12.513547] CPU: 0 PID: 11 Comm: kworker/u8:0 Not tainted 6.8.0-rc2-virtme #1 [ 12.514063] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 12.514823] Workqueue: netns cleanup_net [ 12.515063] RIP: 0010:refcount_warn_saturate+0xd0/0x130 [ 12.515359] 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 aa 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 [ 12.516373] RSP: 0018:ffffa7cb40063d78 EFLAGS: 00010286 [ 12.516666] RAX: 0000000000000000 RBX: ffff8d0c028b4000 RCX: 00000000ffffdfff [ 12.517058] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 12.517470] RBP: ffff8d0c028b45f8 R08: ffffffffaab64508 R09: 00000000ffffdfff [ 12.517854] R10: ffffffffaaa84520 R11: ffffffffaab34520 R12: ffff8d0c028b4000 [ 12.518237] R13: ffffa7cb40063e08 R14: ffff8d0c028b4b60 R15: ffff8d0c03b50050 [ 12.518635] FS: 0000000000000000(0000) GS:ffff8d0c3ec00000(0000) knlGS:0000000000000000 [ 12.519069] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 12.519384] CR2: 00005642c8760918 CR3: 00000000029cc001 CR4: 00000000001706f0 [ 12.519770] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 12.520160] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 12.520557] Call Trace: [ 12.520700] [ 12.520824] ? __warn+0x84/0x170 [ 12.521008] ? refcount_warn_saturate+0xd0/0x130 [ 12.521267] ? report_bug+0x199/0x1b0 [ 12.521482] ? handle_bug+0x3d/0x70 [ 12.521681] ? exc_invalid_op+0x18/0x70 [ 12.521892] ? asm_exc_invalid_op+0x1a/0x20 [ 12.522128] ? refcount_warn_saturate+0xd0/0x130 [ 12.522391] ? refcount_warn_saturate+0xcf/0x130 [ 12.522649] br_sysfs_delbr+0x1d/0x40 [bridge] [ 12.522949] br_dev_delete+0x88/0xa0 [bridge] [ 12.523208] br_net_exit_batch_rtnl+0x70/0xd0 [bridge] [ 12.523510] cleanup_net+0x251/0x3a0 [ 12.523715] ? process_one_work+0x16c/0x4b0 [ 12.523951] process_one_work+0x1d9/0x4b0 [ 12.524179] worker_thread+0x1c1/0x3d0 [ 12.524397] ? __pfx_worker_thread+0x10/0x10 [ 12.524634] kthread+0xdd/0x110 [ 12.524823] ? __pfx_kthread+0x10/0x10 [ 12.525031] ret_from_fork+0x34/0x50 [ 12.525236] ? __pfx_kthread+0x10/0x10 [ 12.525448] ret_from_fork_asm+0x1b/0x30 [ 12.525676] [ 12.525803] irq event stamp: 19121 [ 12.525994] hardirqs last enabled at (19131): [] console_unlock+0x10d/0x130 [ 12.526467] hardirqs last disabled at (19142): [] console_unlock+0xf2/0x130 [ 12.527000] softirqs last enabled at (18780): [] __do_softirq+0x2c2/0x37a [ 12.527583] softirqs last disabled at (18765): [] irq_exit_rcu+0x7f/0xa0 [ 12.528082] ---[ end trace 0000000000000000 ]--- [ 12.528382] ------------[ cut here ]------------ [ 12.528714] sysfs group 'bridge' not found for kobject 'br2' [ 12.529115] WARNING: CPU: 0 PID: 11 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90 [ 12.529699] Modules linked in: vxlan ip6_udp_tunnel udp_tunnel bridge stp llc 8021q sch_ingress vrf veth [ 12.530387] CPU: 0 PID: 11 Comm: kworker/u8:0 Tainted: G W 6.8.0-rc2-virtme #1 [ 12.531001] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 12.531794] Workqueue: netns cleanup_net [ 12.532086] RIP: 0010:sysfs_remove_group+0x75/0x90 [ 12.532458] 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 aa 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 [ 12.533709] RSP: 0018:ffffa7cb40063d70 EFLAGS: 00010286 [ 12.534046] RAX: 0000000000000000 RBX: ffffffffc03aec60 RCX: 00000000ffffdfff [ 12.534530] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 12.534928] RBP: 0000000000000000 R08: ffffffffaab64508 R09: 00000000ffffdfff [ 12.535325] R10: ffffffffaaa84520 R11: ffffffffaab34520 R12: ffff8d0c028b45f8 [ 12.535740] R13: ffffa7cb40063e08 R14: ffff8d0c028b4b60 R15: ffff8d0c03b50050 [ 12.536170] FS: 0000000000000000(0000) GS:ffff8d0c3ec00000(0000) knlGS:0000000000000000 [ 12.536612] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 12.536949] CR2: 00005642c8760918 CR3: 00000000029cc001 CR4: 00000000001706f0 [ 12.537437] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 12.537888] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 12.538321] Call Trace: [ 12.538496] [ 12.538635] ? __warn+0x84/0x170 [ 12.538873] ? sysfs_remove_group+0x75/0x90 [ 12.539164] ? report_bug+0x199/0x1b0 [ 12.539435] ? handle_bug+0x3d/0x70 [ 12.539688] ? exc_invalid_op+0x18/0x70 [ 12.539951] ? asm_exc_invalid_op+0x1a/0x20 [ 12.540255] ? sysfs_remove_group+0x75/0x90 [ 12.540558] br_dev_delete+0x88/0xa0 [bridge] [ 12.540897] br_net_exit_batch_rtnl+0x70/0xd0 [bridge] [ 12.541267] cleanup_net+0x251/0x3a0 [ 12.541533] ? process_one_work+0x16c/0x4b0 [ 12.541832] process_one_work+0x1d9/0x4b0 [ 12.542112] worker_thread+0x1c1/0x3d0 [ 12.542394] ? __pfx_worker_thread+0x10/0x10 [ 12.542691] kthread+0xdd/0x110 [ 12.542924] ? __pfx_kthread+0x10/0x10 [ 12.543188] ret_from_fork+0x34/0x50 [ 12.543469] ? __pfx_kthread+0x10/0x10 [ 12.543739] ret_from_fork_asm+0x1b/0x30 [ 12.544038] [ 12.544212] irq event stamp: 19715 [ 12.544466] hardirqs last enabled at (19727): [] console_unlock+0x10d/0x130 [ 12.545019] hardirqs last disabled at (19736): [] console_unlock+0xf2/0x130 [ 12.545483] softirqs last enabled at (18780): [] __do_softirq+0x2c2/0x37a [ 12.545937] softirqs last disabled at (18765): [] irq_exit_rcu+0x7f/0xa0 [ 12.546388] ---[ end trace 0000000000000000 ]--- [ 12.623545] vx100: left allmulticast mode [ 12.623804] vx100: left promiscuous mode [ 12.624053] br2: port 2(vx100) entered disabled state [ 12.637660] w1: left allmulticast mode [ 12.637911] w1: left promiscuous mode [ 12.638130] br2: port 1(w1) entered disabled state [ 12.649526] ------------[ cut here ]------------ [ 12.649805] sysfs group 'bridge' not found for kobject 'br2' [ 12.650137] WARNING: CPU: 0 PID: 11 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90 [ 12.650607] Modules linked in: vxlan ip6_udp_tunnel udp_tunnel bridge stp llc 8021q sch_ingress vrf veth [ 12.651152] CPU: 0 PID: 11 Comm: kworker/u8:0 Tainted: G W 6.8.0-rc2-virtme #1 [ 12.651636] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 12.652261] Workqueue: netns cleanup_net [ 12.652496] RIP: 0010:sysfs_remove_group+0x75/0x90 [ 12.652766] 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 aa 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 [ 12.653778] RSP: 0018:ffffa7cb40063d70 EFLAGS: 00010286 [ 12.654071] RAX: 0000000000000000 RBX: ffffffffc03aec60 RCX: 00000000ffffdfff [ 12.654473] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 12.654896] RBP: 0000000000000000 R08: ffffffffaab64508 R09: 00000000ffffdfff [ 12.655471] R10: ffffffffaaa84520 R11: ffffffffaab34520 R12: ffff8d0c0190e5f8 [ 12.656026] R13: ffffa7cb40063e08 R14: ffff8d0c0190eb60 R15: ffffffffac013dd0 [ 12.656594] FS: 0000000000000000(0000) GS:ffff8d0c3ec00000(0000) knlGS:0000000000000000 [ 12.657224] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 12.657693] CR2: 00007f4927094000 CR3: 0000000023a4c006 CR4: 00000000001706f0 [ 12.658261] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 12.658838] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 12.659419] Call Trace: [ 12.659622] [ 12.659803] ? __warn+0x84/0x170 [ 12.660083] ? sysfs_remove_group+0x75/0x90 [ 12.660451] ? report_bug+0x199/0x1b0 [ 12.660767] ? handle_bug+0x3d/0x70 [ 12.661075] ? exc_invalid_op+0x18/0x70 [ 12.661421] ? asm_exc_invalid_op+0x1a/0x20 [ 12.661793] ? sysfs_remove_group+0x75/0x90 [ 12.662157] br_dev_delete+0x88/0xa0 [bridge] [ 12.662582] br_net_exit_batch_rtnl+0x70/0xd0 [bridge] [ 12.663038] cleanup_net+0x251/0x3a0 [ 12.663360] ? process_one_work+0x16c/0x4b0 [ 12.663710] process_one_work+0x1d9/0x4b0 [ 12.664052] worker_thread+0x1c1/0x3d0 [ 12.664382] ? __pfx_worker_thread+0x10/0x10 [ 12.664738] kthread+0xdd/0x110 [ 12.665038] ? __pfx_kthread+0x10/0x10 [ 12.665248] ret_from_fork+0x34/0x50 [ 12.665463] ? __pfx_kthread+0x10/0x10 [ 12.665670] ret_from_fork_asm+0x1b/0x30 [ 12.665896] [ 12.666022] irq event stamp: 51825 [ 12.666215] hardirqs last enabled at (51835): [] console_unlock+0x10d/0x130 [ 12.666692] hardirqs last disabled at (51846): [] console_unlock+0xf2/0x130 [ 12.667151] softirqs last enabled at (51554): [] __do_softirq+0x2c2/0x37a [ 12.667614] softirqs last disabled at (51549): [] irq_exit_rcu+0x7f/0xa0 [ 12.668055] ---[ end trace 0000000000000000 ]--- [ 12.935632] br1: port 3(veth2) entered disabled state [ 12.945859] veth2: left allmulticast mode [ 12.946123] veth2: left promiscuous mode [ 12.946436] br1: port 3(veth2) entered disabled state [ 12.975204] br1: port 2(veth1) entered disabled state [ 12.985363] veth1: left allmulticast mode [ 12.985614] veth1: left promiscuous mode [ 12.985838] br1: port 2(veth1) entered disabled state [ 13.003964] vx100: left allmulticast mode [ 13.004210] vx100: left promiscuous mode [ 13.004470] br1: port 1(vx100) entered disabled state ok 1 selftests: net/forwarding: q_in_vni.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__->