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.177842] ip (232) used greatest stack depth: 12056 bytes left [ 2.558725] 8021q: 802.1Q VLAN Support v1.8 [ 2.994196] br1: port 1(vx100) entered blocking state [ 2.994582] br1: port 1(vx100) entered disabled state [ 2.994980] vx100: entered allmulticast mode [ 2.995379] vx100: entered promiscuous mode [ 2.995661] br1: port 1(vx100) entered blocking state [ 2.996007] br1: port 1(vx100) entered forwarding state [ 3.016838] br1: port 2(veth1) entered blocking state [ 3.017152] br1: port 2(veth1) entered disabled state [ 3.017436] veth1: entered allmulticast mode [ 3.017761] veth1: entered promiscuous mode [ 3.027536] br1: port 2(veth1) entered blocking state [ 3.027879] br1: port 2(veth1) entered forwarding state [ 3.047019] br1: port 3(veth2) entered blocking state [ 3.047330] br1: port 3(veth2) entered disabled state [ 3.047615] veth2: entered allmulticast mode [ 3.047948] veth2: entered promiscuous mode [ 3.057986] br1: port 3(veth2) entered blocking state [ 3.058314] br1: port 3(veth2) entered forwarding state [ 3.420350] br2: port 1(w1) entered blocking state [ 3.420637] br2: port 1(w1) entered disabled state [ 3.420910] w1: entered allmulticast mode [ 3.421233] w1: entered promiscuous mode [ 3.487818] br2: port 2(vx100) entered blocking state [ 3.488156] br2: port 2(vx100) entered disabled state [ 3.488458] vx100: entered allmulticast mode [ 3.488813] vx100: entered promiscuous mode [ 3.489060] br2: port 2(vx100) entered blocking state [ 3.489358] br2: port 2(vx100) entered forwarding state [ 3.571518] br2: port 1(w1) entered blocking state [ 3.571951] br2: port 1(w1) entered forwarding state [ 3.837609] br2: port 1(w1) entered blocking state [ 3.837989] br2: port 1(w1) entered disabled state [ 3.838405] w1: entered allmulticast mode [ 3.838737] w1: entered promiscuous mode [ 3.925382] br2: port 2(vx100) entered blocking state [ 3.925689] br2: port 2(vx100) entered disabled state [ 3.925969] vx100: entered allmulticast mode [ 3.926298] vx100: entered promiscuous mode [ 3.926557] br2: port 2(vx100) entered blocking state [ 3.926828] br2: port 2(vx100) entered forwarding state [ 4.020689] br2: port 1(w1) entered blocking state [ 4.021107] 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.505847] vx100: left allmulticast mode [ 12.506132] vx100: left promiscuous mode [ 12.506399] br2: port 2(vx100) entered disabled state [ 12.516396] w1: left allmulticast mode [ 12.516646] w1: left promiscuous mode [ 12.516879] br2: port 1(w1) entered disabled state [ 12.530352] ------------[ cut here ]------------ [ 12.530622] refcount_t: underflow; use-after-free. [ 12.530900] WARNING: CPU: 0 PID: 67 at lib/refcount.c:28 refcount_warn_saturate+0xd0/0x130 [ 12.531366] Modules linked in: vxlan ip6_udp_tunnel udp_tunnel bridge stp llc 8021q sch_ingress vrf veth [ 12.531898] CPU: 0 PID: 67 Comm: kworker/u8:1 Not tainted 6.8.0-rc2-virtme #1 [ 12.532311] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 12.532913] Workqueue: netns cleanup_net [ 12.533136] RIP: 0010:refcount_warn_saturate+0xd0/0x130 [ 12.533424] 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 8f 97 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.534401] RSP: 0018:ffffa3708025bd78 EFLAGS: 00010286 [ 12.534685] RAX: 0000000000000000 RBX: ffff93dc42162000 RCX: 00000000ffffdfff [ 12.535069] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 12.535459] RBP: ffff93dc421625f8 R08: ffffffff97d64508 R09: 00000000ffffdfff [ 12.535852] R10: ffffffff97c84520 R11: ffffffff97d34520 R12: ffff93dc42162000 [ 12.536242] R13: ffffa3708025be08 R14: ffff93dc42162b60 R15: ffff93dc42510050 [ 12.536623] FS: 0000000000000000(0000) GS:ffff93dc7ec00000(0000) knlGS:0000000000000000 [ 12.537051] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 12.537371] CR2: 00007ffd86137bb0 CR3: 000000000e44c001 CR4: 00000000001706f0 [ 12.537744] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 12.538133] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 12.538516] Call Trace: [ 12.538655] [ 12.538776] ? __warn+0x84/0x170 [ 12.538964] ? refcount_warn_saturate+0xd0/0x130 [ 12.539228] ? report_bug+0x199/0x1b0 [ 12.539434] ? handle_bug+0x3d/0x70 [ 12.539629] ? exc_invalid_op+0x18/0x70 [ 12.539860] ? asm_exc_invalid_op+0x1a/0x20 [ 12.540093] ? refcount_warn_saturate+0xd0/0x130 [ 12.540362] ? refcount_warn_saturate+0xcf/0x130 [ 12.540613] br_sysfs_delbr+0x1d/0x40 [bridge] [ 12.540906] br_dev_delete+0x88/0xa0 [bridge] [ 12.541169] br_net_exit_batch_rtnl+0x70/0xd0 [bridge] [ 12.541460] cleanup_net+0x251/0x3a0 [ 12.541662] ? process_one_work+0x16c/0x4b0 [ 12.541888] process_one_work+0x1d9/0x4b0 [ 12.542110] worker_thread+0x1c1/0x3d0 [ 12.542340] ? __pfx_worker_thread+0x10/0x10 [ 12.542574] kthread+0xdd/0x110 [ 12.542755] ? __pfx_kthread+0x10/0x10 [ 12.542962] ret_from_fork+0x34/0x50 [ 12.543174] ? __pfx_kthread+0x10/0x10 [ 12.543382] ret_from_fork_asm+0x1b/0x30 [ 12.543601] [ 12.543726] irq event stamp: 19435 [ 12.543930] hardirqs last enabled at (19445): [] console_unlock+0x10d/0x130 [ 12.544411] hardirqs last disabled at (19456): [] console_unlock+0xf2/0x130 [ 12.544864] softirqs last enabled at (19006): [] __do_softirq+0x2c2/0x37a [ 12.545324] softirqs last disabled at (19001): [] irq_exit_rcu+0x7f/0xa0 [ 12.545758] ---[ end trace 0000000000000000 ]--- [ 12.546013] ------------[ cut here ]------------ [ 12.546272] sysfs group 'bridge' not found for kobject 'br2' [ 12.546592] WARNING: CPU: 0 PID: 67 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90 [ 12.547023] Modules linked in: vxlan ip6_udp_tunnel udp_tunnel bridge stp llc 8021q sch_ingress vrf veth [ 12.547544] CPU: 0 PID: 67 Comm: kworker/u8:1 Tainted: G W 6.8.0-rc2-virtme #1 [ 12.548011] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 12.548620] Workqueue: netns cleanup_net [ 12.548871] RIP: 0010:sysfs_remove_group+0x75/0x90 [ 12.549206] 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 8f 97 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.550189] RSP: 0018:ffffa3708025bd70 EFLAGS: 00010286 [ 12.550470] RAX: 0000000000000000 RBX: ffffffffc04dac60 RCX: 00000000ffffdfff [ 12.550859] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 12.551241] RBP: 0000000000000000 R08: ffffffff97d64508 R09: 00000000ffffdfff [ 12.551618] R10: ffffffff97c84520 R11: ffffffff97d34520 R12: ffff93dc421625f8 [ 12.552008] R13: ffffa3708025be08 R14: ffff93dc42162b60 R15: ffff93dc42510050 [ 12.552402] FS: 0000000000000000(0000) GS:ffff93dc7ec00000(0000) knlGS:0000000000000000 [ 12.552853] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 12.553296] CR2: 00007ffd86137bb0 CR3: 000000000e44c001 CR4: 00000000001706f0 [ 12.553832] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 12.554397] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 12.554945] Call Trace: [ 12.555163] [ 12.555342] ? __warn+0x84/0x170 [ 12.555609] ? sysfs_remove_group+0x75/0x90 [ 12.555940] ? report_bug+0x199/0x1b0 [ 12.556255] ? handle_bug+0x3d/0x70 [ 12.556541] ? exc_invalid_op+0x18/0x70 [ 12.556847] ? asm_exc_invalid_op+0x1a/0x20 [ 12.557204] ? sysfs_remove_group+0x75/0x90 [ 12.557546] br_dev_delete+0x88/0xa0 [bridge] [ 12.557927] br_net_exit_batch_rtnl+0x70/0xd0 [bridge] [ 12.558367] cleanup_net+0x251/0x3a0 [ 12.558672] ? process_one_work+0x16c/0x4b0 [ 12.559005] process_one_work+0x1d9/0x4b0 [ 12.559353] worker_thread+0x1c1/0x3d0 [ 12.559662] ? __pfx_worker_thread+0x10/0x10 [ 12.560013] kthread+0xdd/0x110 [ 12.560287] ? __pfx_kthread+0x10/0x10 [ 12.560595] ret_from_fork+0x34/0x50 [ 12.560886] ? __pfx_kthread+0x10/0x10 [ 12.561204] ret_from_fork_asm+0x1b/0x30 [ 12.561533] [ 12.561720] irq event stamp: 20029 [ 12.562001] hardirqs last enabled at (20039): [] console_unlock+0x10d/0x130 [ 12.562694] hardirqs last disabled at (20050): [] console_unlock+0xf2/0x130 [ 12.563373] softirqs last enabled at (19006): [] __do_softirq+0x2c2/0x37a [ 12.564029] softirqs last disabled at (19001): [] irq_exit_rcu+0x7f/0xa0 [ 12.564688] ---[ end trace 0000000000000000 ]--- [ 12.644869] vx100: left allmulticast mode [ 12.645168] vx100: left promiscuous mode [ 12.645459] br2: port 2(vx100) entered disabled state [ 12.652276] w1: left allmulticast mode [ 12.652505] w1: left promiscuous mode [ 12.652745] br2: port 1(w1) entered disabled state [ 12.664444] ------------[ cut here ]------------ [ 12.664716] sysfs group 'bridge' not found for kobject 'br2' [ 12.665042] WARNING: CPU: 0 PID: 67 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90 [ 12.665493] Modules linked in: vxlan ip6_udp_tunnel udp_tunnel bridge stp llc 8021q sch_ingress vrf veth [ 12.666041] CPU: 0 PID: 67 Comm: kworker/u8:1 Tainted: G W 6.8.0-rc2-virtme #1 [ 12.666502] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 12.667117] Workqueue: netns cleanup_net [ 12.667349] RIP: 0010:sysfs_remove_group+0x75/0x90 [ 12.667610] 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 8f 97 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.668592] RSP: 0018:ffffa3708025bd70 EFLAGS: 00010286 [ 12.668874] RAX: 0000000000000000 RBX: ffffffffc04dac60 RCX: 00000000ffffdfff [ 12.669255] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 12.669628] RBP: 0000000000000000 R08: ffffffff97d64508 R09: 00000000ffffdfff [ 12.670030] R10: ffffffff97c84520 R11: ffffffff97d34520 R12: ffff93dc421605f8 [ 12.670416] R13: ffffa3708025be08 R14: ffff93dc42160b60 R15: ffffffff99213dd0 [ 12.670795] FS: 0000000000000000(0000) GS:ffff93dc7ec00000(0000) knlGS:0000000000000000 [ 12.671228] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 12.671536] CR2: 0000559792a913c8 CR3: 000000000e44c001 CR4: 00000000001706f0 [ 12.671921] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 12.672332] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 12.672716] Call Trace: [ 12.672857] [ 12.672981] ? __warn+0x84/0x170 [ 12.673167] ? sysfs_remove_group+0x75/0x90 [ 12.673399] ? report_bug+0x199/0x1b0 [ 12.673603] ? handle_bug+0x3d/0x70 [ 12.673797] ? exc_invalid_op+0x18/0x70 [ 12.674036] ? asm_exc_invalid_op+0x1a/0x20 [ 12.674279] ? sysfs_remove_group+0x75/0x90 [ 12.674509] br_dev_delete+0x88/0xa0 [bridge] [ 12.674768] br_net_exit_batch_rtnl+0x70/0xd0 [bridge] [ 12.675059] cleanup_net+0x251/0x3a0 [ 12.675269] ? process_one_work+0x16c/0x4b0 [ 12.675499] process_one_work+0x1d9/0x4b0 [ 12.675721] worker_thread+0x1c1/0x3d0 [ 12.675930] ? __pfx_worker_thread+0x10/0x10 [ 12.676173] kthread+0xdd/0x110 [ 12.676350] ? __pfx_kthread+0x10/0x10 [ 12.676556] ret_from_fork+0x34/0x50 [ 12.676758] ? __pfx_kthread+0x10/0x10 [ 12.676963] ret_from_fork_asm+0x1b/0x30 [ 12.677197] [ 12.677323] irq event stamp: 52181 [ 12.677511] hardirqs last enabled at (52191): [] console_unlock+0x10d/0x130 [ 12.677993] hardirqs last disabled at (52200): [] console_unlock+0xf2/0x130 [ 12.678450] softirqs last enabled at (51882): [] __do_softirq+0x2c2/0x37a [ 12.678903] softirqs last disabled at (51877): [] irq_exit_rcu+0x7f/0xa0 [ 12.679346] ---[ end trace 0000000000000000 ]--- [ 12.930653] br1: port 3(veth2) entered disabled state [ 12.939988] veth2: left allmulticast mode [ 12.940253] veth2: left promiscuous mode [ 12.940481] br1: port 3(veth2) entered disabled state [ 12.969246] br1: port 2(veth1) entered disabled state [ 12.978237] veth1: left allmulticast mode [ 12.978497] veth1: left promiscuous mode [ 12.978742] br1: port 2(veth1) entered disabled state [ 12.997972] vx100: left allmulticast mode [ 12.998235] vx100: left promiscuous mode [ 12.998461] 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__->