make -C tools/testing/selftests TARGETS=net/forwarding TEST_PROGS=q_in_vnii_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: q_in_vni_ipv6.sh [ 15.629175] 8021q: 802.1Q VLAN Support v1.8 [ 16.003840] br1: port 1(vx100) entered blocking state [ 16.004300] br1: port 1(vx100) entered disabled state [ 16.005112] vx100: entered allmulticast mode [ 16.006378] vx100: entered promiscuous mode [ 16.006784] br1: port 1(vx100) entered blocking state [ 16.007214] br1: port 1(vx100) entered forwarding state [ 16.028824] br1: port 2(veth1) entered blocking state [ 16.029158] br1: port 2(veth1) entered disabled state [ 16.029446] veth1: entered allmulticast mode [ 16.029772] veth1: entered promiscuous mode [ 16.041154] br1: port 2(veth1) entered blocking state [ 16.041581] br1: port 2(veth1) entered forwarding state [ 16.063456] br1: port 3(veth2) entered blocking state [ 16.063757] br1: port 3(veth2) entered disabled state [ 16.064062] veth2: entered allmulticast mode [ 16.064454] veth2: entered promiscuous mode [ 16.075143] br1: port 3(veth2) entered blocking state [ 16.075478] br1: port 3(veth2) entered forwarding state [ 16.461333] br2: port 1(w1) entered blocking state [ 16.461640] br2: port 1(w1) entered disabled state [ 16.461922] w1: entered allmulticast mode [ 16.462253] w1: entered promiscuous mode [ 16.533732] br2: port 2(vx100) entered blocking state [ 16.534093] br2: port 2(vx100) entered disabled state [ 16.534405] vx100: entered allmulticast mode [ 16.534726] vx100: entered promiscuous mode [ 16.534990] br2: port 2(vx100) entered blocking state [ 16.535303] br2: port 2(vx100) entered forwarding state [ 16.619179] br2: port 1(w1) entered blocking state [ 16.619607] br2: port 1(w1) entered forwarding state [ 16.904062] br2: port 1(w1) entered blocking state [ 16.904476] br2: port 1(w1) entered disabled state [ 16.904868] w1: entered allmulticast mode [ 16.905342] w1: entered promiscuous mode [ 16.983606] br2: port 2(vx100) entered blocking state [ 16.984040] br2: port 2(vx100) entered disabled state [ 16.984454] vx100: entered allmulticast mode [ 16.984933] vx100: entered promiscuous mode [ 16.985311] br2: port 2(vx100) entered blocking state [ 16.985705] br2: port 2(vx100) entered forwarding state [ 17.067612] br2: port 1(w1) entered blocking state [ 17.068081] br2: port 1(w1) entered forwarding state # Running tests with UDP port 4789 # TEST: ping6: local->local [ OK ] # TEST: ping6: local->remote 1 [ OK ] # TEST: ping6: local->remote 2 [ OK ] [ 25.561629] vx100: left allmulticast mode [ 25.562062] vx100: left promiscuous mode [ 25.562462] br2: port 2(vx100) entered disabled state [ 25.573169] w1: left allmulticast mode [ 25.573518] w1: left promiscuous mode [ 25.573900] br2: port 1(w1) entered disabled state [ 25.590148] ------------[ cut here ]------------ [ 25.590427] refcount_t: underflow; use-after-free. [ 25.590708] WARNING: CPU: 2 PID: 10 at lib/refcount.c:28 refcount_warn_saturate+0xd0/0x130 [ 25.591185] Modules linked in: vxlan ip6_udp_tunnel udp_tunnel 8021q sch_ingress bridge stp llc vrf veth [ 25.591705] CPU: 2 PID: 10 Comm: kworker/u8:0 Not tainted 6.8.0-rc2-virtme #1 [ 25.592112] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 25.592723] Workqueue: netns cleanup_net [ 25.592953] RIP: 0010:refcount_warn_saturate+0xd0/0x130 [ 25.593244] 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 b3 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 [ 25.594232] RSP: 0018:ffffb2250005bd78 EFLAGS: 00010286 [ 25.594525] RAX: 0000000000000000 RBX: ffff9bf44250a000 RCX: 00000000ffffdfff [ 25.594908] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 25.595310] RBP: ffff9bf44250a5f8 R08: ffffffffb4164508 R09: 00000000ffffdfff [ 25.595697] R10: ffffffffb4084520 R11: ffffffffb4134520 R12: ffff9bf44250a000 [ 25.596087] R13: ffffb2250005be08 R14: ffff9bf44250ab60 R15: ffff9bf445bc0050 [ 25.596492] FS: 0000000000000000(0000) GS:ffff9bf47ed00000(0000) knlGS:0000000000000000 [ 25.596925] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 25.597250] CR2: 00007f61012f11b4 CR3: 000000002a24c004 CR4: 00000000001706f0 [ 25.597644] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 25.598035] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 25.598422] Call Trace: [ 25.598568] [ 25.598693] ? __warn+0x84/0x170 [ 25.598880] ? refcount_warn_saturate+0xd0/0x130 [ 25.599144] ? report_bug+0x199/0x1b0 [ 25.599352] ? handle_bug+0x3d/0x70 [ 25.599548] ? exc_invalid_op+0x18/0x70 [ 25.599763] ? asm_exc_invalid_op+0x1a/0x20 [ 25.600003] ? refcount_warn_saturate+0xd0/0x130 [ 25.600270] ? refcount_warn_saturate+0xcf/0x130 [ 25.600532] br_sysfs_delbr+0x1d/0x40 [bridge] [ 25.600833] br_dev_delete+0x88/0xa0 [bridge] [ 25.601099] br_net_exit_batch_rtnl+0x70/0xd0 [bridge] [ 25.601405] cleanup_net+0x251/0x3a0 [ 25.601608] ? process_one_work+0x16c/0x4b0 [ 25.601845] process_one_work+0x1d9/0x4b0 [ 25.602077] worker_thread+0x1c1/0x3d0 [ 25.602291] ? __pfx_worker_thread+0x10/0x10 [ 25.602527] kthread+0xdd/0x110 [ 25.602707] ? __pfx_kthread+0x10/0x10 [ 25.602919] ret_from_fork+0x34/0x50 [ 25.603125] ? __pfx_kthread+0x10/0x10 [ 25.603336] ret_from_fork_asm+0x1b/0x30 [ 25.603564] [ 25.603695] irq event stamp: 20599 [ 25.603886] hardirqs last enabled at (20609): [] console_unlock+0x10d/0x130 [ 25.604362] hardirqs last disabled at (20620): [] console_unlock+0xf2/0x130 [ 25.604845] softirqs last enabled at (20312): [] __do_softirq+0x2c2/0x37a [ 25.605412] softirqs last disabled at (20301): [] irq_exit_rcu+0x7f/0xa0 [ 25.606037] ---[ end trace 0000000000000000 ]--- [ 25.606397] ------------[ cut here ]------------ [ 25.606769] sysfs group 'bridge' not found for kobject 'br2' [ 25.607251] WARNING: CPU: 2 PID: 10 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90 [ 25.607889] Modules linked in: vxlan ip6_udp_tunnel udp_tunnel 8021q sch_ingress bridge stp llc vrf veth [ 25.608658] CPU: 2 PID: 10 Comm: kworker/u8:0 Tainted: G W 6.8.0-rc2-virtme #1 [ 25.609346] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 25.610246] Workqueue: netns cleanup_net [ 25.610572] RIP: 0010:sysfs_remove_group+0x75/0x90 [ 25.610970] 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 b3 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 [ 25.612426] RSP: 0018:ffffb2250005bd70 EFLAGS: 00010286 [ 25.612847] RAX: 0000000000000000 RBX: ffffffffc0493c60 RCX: 00000000ffffdfff [ 25.613419] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 25.613993] RBP: 0000000000000000 R08: ffffffffb4164508 R09: 00000000ffffdfff [ 25.614565] R10: ffffffffb4084520 R11: ffffffffb4134520 R12: ffff9bf44250a5f8 [ 25.615134] R13: ffffb2250005be08 R14: ffff9bf44250ab60 R15: ffff9bf445bc0050 [ 25.615605] FS: 0000000000000000(0000) GS:ffff9bf47ed00000(0000) knlGS:0000000000000000 [ 25.616056] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 25.616370] CR2: 00007f61012f11b4 CR3: 000000002a24c004 CR4: 00000000001706f0 [ 25.616756] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 25.617154] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 25.617575] Call Trace: [ 25.617718] [ 25.617844] ? __warn+0x84/0x170 [ 25.618038] ? sysfs_remove_group+0x75/0x90 [ 25.618277] ? report_bug+0x199/0x1b0 [ 25.618490] ? handle_bug+0x3d/0x70 [ 25.618689] ? exc_invalid_op+0x18/0x70 [ 25.618909] ? asm_exc_invalid_op+0x1a/0x20 [ 25.619154] ? sysfs_remove_group+0x75/0x90 [ 25.619392] br_dev_delete+0x88/0xa0 [bridge] [ 25.619664] br_net_exit_batch_rtnl+0x70/0xd0 [bridge] [ 25.619966] cleanup_net+0x251/0x3a0 [ 25.620174] ? process_one_work+0x16c/0x4b0 [ 25.620409] process_one_work+0x1d9/0x4b0 [ 25.620636] worker_thread+0x1c1/0x3d0 [ 25.620852] ? __pfx_worker_thread+0x10/0x10 [ 25.621094] kthread+0xdd/0x110 [ 25.621273] ? __pfx_kthread+0x10/0x10 [ 25.621490] ret_from_fork+0x34/0x50 [ 25.621714] ? __pfx_kthread+0x10/0x10 [ 25.621925] ret_from_fork_asm+0x1b/0x30 [ 25.622160] [ 25.622290] irq event stamp: 21195 [ 25.622480] hardirqs last enabled at (21205): [] console_unlock+0x10d/0x130 [ 25.622953] hardirqs last disabled at (21216): [] console_unlock+0xf2/0x130 [ 25.623411] softirqs last enabled at (20312): [] __do_softirq+0x2c2/0x37a [ 25.623862] softirqs last disabled at (20301): [] irq_exit_rcu+0x7f/0xa0 [ 25.624319] ---[ end trace 0000000000000000 ]--- [ 25.692009] vx100: left allmulticast mode [ 25.692407] vx100: left promiscuous mode [ 25.692930] br2: port 2(vx100) entered disabled state [ 25.699163] w1: left allmulticast mode [ 25.699503] w1: left promiscuous mode [ 25.699822] br2: port 1(w1) entered disabled state [ 25.707206] ------------[ cut here ]------------ [ 25.707599] sysfs group 'bridge' not found for kobject 'br2' [ 25.708093] WARNING: CPU: 2 PID: 10 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90 [ 25.708752] Modules linked in: vxlan ip6_udp_tunnel udp_tunnel 8021q sch_ingress bridge stp llc vrf veth [ 25.709541] CPU: 2 PID: 10 Comm: kworker/u8:0 Tainted: G W 6.8.0-rc2-virtme #1 [ 25.710248] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 25.711177] Workqueue: netns cleanup_net [ 25.711503] RIP: 0010:sysfs_remove_group+0x75/0x90 [ 25.711903] 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 b3 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 [ 25.713392] RSP: 0018:ffffb2250005bd70 EFLAGS: 00010286 [ 25.713818] RAX: 0000000000000000 RBX: ffffffffc0493c60 RCX: 00000000ffffdfff [ 25.714395] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 25.714984] RBP: 0000000000000000 R08: ffffffffb4164508 R09: 00000000ffffdfff [ 25.715564] R10: ffffffffb4084520 R11: ffffffffb4134520 R12: ffff9bf4426245f8 [ 25.716150] R13: ffffb2250005be08 R14: ffff9bf442624b60 R15: ffffffffb5613dd0 [ 25.716723] FS: 0000000000000000(0000) GS:ffff9bf47ed00000(0000) knlGS:0000000000000000 [ 25.717390] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 25.717854] CR2: 0000562c25594dec CR3: 00000000025c2005 CR4: 00000000001706f0 [ 25.718436] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 25.719023] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 25.719605] Call Trace: [ 25.719815] [ 25.720016] ? __warn+0x84/0x170 [ 25.720292] ? sysfs_remove_group+0x75/0x90 [ 25.720638] ? report_bug+0x199/0x1b0 [ 25.720957] ? handle_bug+0x3d/0x70 [ 25.721251] ? exc_invalid_op+0x18/0x70 [ 25.721568] ? asm_exc_invalid_op+0x1a/0x20 [ 25.721920] ? sysfs_remove_group+0x75/0x90 [ 25.722278] br_dev_delete+0x88/0xa0 [bridge] [ 25.722675] br_net_exit_batch_rtnl+0x70/0xd0 [bridge] [ 25.723131] cleanup_net+0x251/0x3a0 [ 25.723440] ? process_one_work+0x16c/0x4b0 [ 25.723784] process_one_work+0x1d9/0x4b0 [ 25.724133] worker_thread+0x1c1/0x3d0 [ 25.724449] ? __pfx_worker_thread+0x10/0x10 [ 25.724803] kthread+0xdd/0x110 [ 25.725079] ? __pfx_kthread+0x10/0x10 [ 25.725406] ret_from_fork+0x34/0x50 [ 25.725702] ? __pfx_kthread+0x10/0x10 [ 25.726024] ret_from_fork_asm+0x1b/0x30 [ 25.726360] [ 25.726550] irq event stamp: 53227 [ 25.726827] hardirqs last enabled at (53237): [] console_unlock+0x10d/0x130 [ 25.727508] hardirqs last disabled at (53248): [] console_unlock+0xf2/0x130 [ 25.728191] softirqs last enabled at (52922): [] __do_softirq+0x2c2/0x37a [ 25.728854] softirqs last disabled at (52917): [] irq_exit_rcu+0x7f/0xa0 [ 25.729510] ---[ end trace 0000000000000000 ]--- [ 26.005357] br1: port 3(veth2) entered disabled state [ 26.015413] veth2: left allmulticast mode [ 26.015659] veth2: left promiscuous mode [ 26.015885] br1: port 3(veth2) entered disabled state [ 26.042644] br1: port 2(veth1) entered disabled state [ 26.053544] veth1: left allmulticast mode [ 26.053793] veth1: left promiscuous mode [ 26.054029] br1: port 2(veth1) entered disabled state [ 26.076487] vx100: left allmulticast mode [ 26.076742] vx100: left promiscuous mode [ 26.076997] br1: port 1(vx100) entered disabled state ok 1 selftests: net/forwarding: q_in_vni_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__->