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 [ 1029.785791] br1: port 1(vx10) entered blocking state [ 1029.786151] br1: port 1(vx10) entered disabled state [ 1029.786479] vx10: entered allmulticast mode [ 1029.786841] vx10: entered promiscuous mode [ 1029.787125] br1: port 1(vx10) entered blocking state [ 1029.787430] br1: port 1(vx10) entered forwarding state [ 1029.822513] br1: port 2(vx20) entered blocking state [ 1029.822830] br1: port 2(vx20) entered disabled state [ 1029.823145] vx20: entered allmulticast mode [ 1029.823488] vx20: entered promiscuous mode [ 1029.823769] br1: port 2(vx20) entered blocking state [ 1029.824099] br1: port 2(vx20) entered forwarding state [ 1029.842356] br1: port 3(veth1) entered blocking state [ 1029.842676] br1: port 3(veth1) entered disabled state [ 1029.842997] veth1: entered allmulticast mode [ 1029.843313] veth1: entered promiscuous mode [ 1029.852501] br1: port 3(veth1) entered blocking state [ 1029.852822] br1: port 3(veth1) entered forwarding state [ 1029.889975] br1: port 4(veth2) entered blocking state [ 1029.890298] br1: port 4(veth2) entered disabled state [ 1029.890593] veth2: entered allmulticast mode [ 1029.890940] veth2: entered promiscuous mode [ 1029.899770] br1: port 4(veth2) entered blocking state [ 1029.900083] br1: port 4(veth2) entered forwarding state [ 1030.259379] br2: port 1(w1) entered blocking state [ 1030.259676] br2: port 1(w1) entered disabled state [ 1030.259979] w1: entered allmulticast mode [ 1030.260279] w1: entered promiscuous mode [ 1030.332222] br2: port 2(vx10) entered blocking state [ 1030.332537] br2: port 2(vx10) entered disabled state [ 1030.332833] vx10: entered allmulticast mode [ 1030.333141] vx10: entered promiscuous mode [ 1030.333403] br2: port 2(vx10) entered blocking state [ 1030.333678] br2: port 2(vx10) entered forwarding state [ 1030.405301] br2: port 3(vx20) entered blocking state [ 1030.405617] br2: port 3(vx20) entered disabled state [ 1030.405909] vx20: entered allmulticast mode [ 1030.406219] vx20: entered promiscuous mode [ 1030.406468] br2: port 3(vx20) entered blocking state [ 1030.406769] br2: port 3(vx20) entered forwarding state [ 1030.484094] br2: port 1(w1) entered blocking state [ 1030.484387] br2: port 1(w1) entered forwarding state [ 1030.765584] br2: port 1(w1) entered blocking state [ 1030.765908] br2: port 1(w1) entered disabled state [ 1030.766184] w1: entered allmulticast mode [ 1030.766481] w1: entered promiscuous mode [ 1030.840358] br2: port 2(vx10) entered blocking state [ 1030.840670] br2: port 2(vx10) entered disabled state [ 1030.840966] vx10: entered allmulticast mode [ 1030.841277] vx10: entered promiscuous mode [ 1030.841526] br2: port 2(vx10) entered blocking state [ 1030.841793] br2: port 2(vx10) entered forwarding state [ 1030.902633] br2: port 3(vx20) entered blocking state [ 1030.902947] br2: port 3(vx20) entered disabled state [ 1030.903230] vx20: entered allmulticast mode [ 1030.903553] vx20: entered promiscuous mode [ 1030.903797] br2: port 3(vx20) entered blocking state [ 1030.904074] br2: port 3(vx20) entered forwarding state [ 1030.983095] br2: port 1(w1) entered blocking state [ 1030.983415] 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 ] # TEST: ping6: local->remote 2 vid 20 [ OK ] [ 1124.350245] vx20: left allmulticast mode [ 1124.350532] vx20: left promiscuous mode [ 1124.350813] br2: port 3(vx20) entered disabled state [ 1124.363008] vx10: left allmulticast mode [ 1124.363277] vx10: left promiscuous mode [ 1124.363534] br2: port 2(vx10) entered disabled state [ 1124.374948] w1: left allmulticast mode [ 1124.375193] w1: left promiscuous mode [ 1124.375417] br2: port 1(w1) entered disabled state [ 1124.384235] ------------[ cut here ]------------ [ 1124.384598] refcount_t: underflow; use-after-free. [ 1124.385012] WARNING: CPU: 0 PID: 68 at lib/refcount.c:28 refcount_warn_saturate+0xd0/0x130 [ 1124.385652] 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 [ 1124.386972] CPU: 0 PID: 68 Comm: kworker/u8:1 Not tainted 6.8.0-rc2-virtme #1 [ 1124.387535] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 1124.388439] Workqueue: netns cleanup_net [ 1124.388766] RIP: 0010:refcount_warn_saturate+0xd0/0x130 [ 1124.389203] 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 af 94 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 [ 1124.390650] RSP: 0018:ffffafd900263d78 EFLAGS: 00010286 [ 1124.391068] RAX: 0000000000000000 RBX: ffff8eb884220000 RCX: 00000000ffffdfff [ 1124.391633] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 1124.392225] RBP: ffff8eb8842205f8 R08: ffffffff94f64508 R09: 00000000ffffdfff [ 1124.392791] R10: ffffffff94e84520 R11: ffffffff94f34520 R12: ffff8eb884220000 [ 1124.393375] R13: ffffafd900263e08 R14: ffff8eb884220b60 R15: ffff8eb884ee8050 [ 1124.393962] FS: 0000000000000000(0000) GS:ffff8eb8bec00000(0000) knlGS:0000000000000000 [ 1124.394595] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1124.395062] CR2: 000056536092d1b8 CR3: 0000000001cda001 CR4: 00000000001706f0 [ 1124.395629] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 1124.396206] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 1124.396765] Call Trace: [ 1124.396984] <TASK> [ 1124.397173] ? __warn+0x84/0x170 [ 1124.397456] ? refcount_warn_saturate+0xd0/0x130 [ 1124.397850] ? report_bug+0x199/0x1b0 [ 1124.398158] ? handle_bug+0x3d/0x70 [ 1124.398443] ? exc_invalid_op+0x18/0x70 [ 1124.398753] ? asm_exc_invalid_op+0x1a/0x20 [ 1124.399118] ? refcount_warn_saturate+0xd0/0x130 [ 1124.399494] ? refcount_warn_saturate+0xcf/0x130 [ 1124.399882] br_sysfs_delbr+0x1d/0x40 [bridge] [ 1124.400318] br_dev_delete+0x88/0xa0 [bridge] [ 1124.400698] br_net_exit_batch_rtnl+0x70/0xd0 [bridge] [ 1124.401133] cleanup_net+0x251/0x3a0 [ 1124.401440] ? process_one_work+0x16c/0x4b0 [ 1124.401785] process_one_work+0x1d9/0x4b0 [ 1124.402132] worker_thread+0x1c1/0x3d0 [ 1124.402394] ? __pfx_worker_thread+0x10/0x10 [ 1124.402627] kthread+0xdd/0x110 [ 1124.402811] ? __pfx_kthread+0x10/0x10 [ 1124.403016] ret_from_fork+0x34/0x50 [ 1124.403218] ? __pfx_kthread+0x10/0x10 [ 1124.403420] ret_from_fork_asm+0x1b/0x30 [ 1124.403650] </TASK> [ 1124.403773] irq event stamp: 35679 [ 1124.403964] hardirqs last enabled at (35691): [<ffffffff935d7fdd>] console_unlock+0x10d/0x130 [ 1124.404424] hardirqs last disabled at (35700): [<ffffffff935d7fc2>] console_unlock+0xf2/0x130 [ 1124.404871] softirqs last enabled at (35280): [<ffffffff94231792>] __do_softirq+0x2c2/0x37a [ 1124.405316] softirqs last disabled at (35275): [<ffffffff9354bc8f>] irq_exit_rcu+0x7f/0xa0 [ 1124.405750] ---[ end trace 0000000000000000 ]--- [ 1124.406011] ------------[ cut here ]------------ [ 1124.406259] sysfs group 'bridge' not found for kobject 'br2' [ 1124.406578] WARNING: CPU: 0 PID: 68 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90 [ 1124.407013] 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 [ 1124.407906] CPU: 0 PID: 68 Comm: kworker/u8:1 Tainted: G W 6.8.0-rc2-virtme #1 [ 1124.408359] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 1124.408957] Workqueue: netns cleanup_net [ 1124.409175] RIP: 0010:sysfs_remove_group+0x75/0x90 [ 1124.409431] 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 af 94 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 [ 1124.410401] RSP: 0018:ffffafd900263d70 EFLAGS: 00010286 [ 1124.410683] RAX: 0000000000000000 RBX: ffffffffc036ac60 RCX: 00000000ffffdfff [ 1124.411064] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 1124.411438] RBP: 0000000000000000 R08: ffffffff94f64508 R09: 00000000ffffdfff [ 1124.411820] R10: ffffffff94e84520 R11: ffffffff94f34520 R12: ffff8eb8842205f8 [ 1124.412206] R13: ffffafd900263e08 R14: ffff8eb884220b60 R15: ffff8eb884ee8050 [ 1124.412580] FS: 0000000000000000(0000) GS:ffff8eb8bec00000(0000) knlGS:0000000000000000 [ 1124.413014] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1124.413322] CR2: 000056536092d1b8 CR3: 0000000001cda001 CR4: 00000000001706f0 [ 1124.413698] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 1124.414078] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 1124.414452] Call Trace: [ 1124.414588] <TASK> [ 1124.414709] ? __warn+0x84/0x170 [ 1124.414895] ? sysfs_remove_group+0x75/0x90 [ 1124.415124] ? report_bug+0x199/0x1b0 [ 1124.415332] ? handle_bug+0x3d/0x70 [ 1124.415527] ? exc_invalid_op+0x18/0x70 [ 1124.415741] ? asm_exc_invalid_op+0x1a/0x20 [ 1124.415981] ? sysfs_remove_group+0x75/0x90 [ 1124.416213] br_dev_delete+0x88/0xa0 [bridge] [ 1124.416475] br_net_exit_batch_rtnl+0x70/0xd0 [bridge] [ 1124.416769] cleanup_net+0x251/0x3a0 [ 1124.416976] ? process_one_work+0x16c/0x4b0 [ 1124.417205] process_one_work+0x1d9/0x4b0 [ 1124.417425] worker_thread+0x1c1/0x3d0 [ 1124.417635] ? __pfx_worker_thread+0x10/0x10 [ 1124.417871] kthread+0xdd/0x110 [ 1124.418045] ? __pfx_kthread+0x10/0x10 [ 1124.418251] ret_from_fork+0x34/0x50 [ 1124.418447] ? __pfx_kthread+0x10/0x10 [ 1124.418654] ret_from_fork_asm+0x1b/0x30 [ 1124.418879] </TASK> [ 1124.419006] irq event stamp: 36323 [ 1124.419191] hardirqs last enabled at (36333): [<ffffffff935d7fdd>] console_unlock+0x10d/0x130 [ 1124.419645] hardirqs last disabled at (36342): [<ffffffff935d7fc2>] console_unlock+0xf2/0x130 [ 1124.420096] softirqs last enabled at (35280): [<ffffffff94231792>] __do_softirq+0x2c2/0x37a [ 1124.420539] softirqs last disabled at (35275): [<ffffffff9354bc8f>] irq_exit_rcu+0x7f/0xa0 [ 1124.420986] ---[ end trace 0000000000000000 ]--- [ 1124.502312] vx20: left allmulticast mode [ 1124.502623] vx20: left promiscuous mode [ 1124.502967] br2: port 3(vx20) entered disabled state [ 1124.515013] vx10: left allmulticast mode [ 1124.515253] vx10: left promiscuous mode [ 1124.515477] br2: port 2(vx10) entered disabled state [ 1124.527958] w1: left allmulticast mode [ 1124.528200] w1: left promiscuous mode [ 1124.528417] br2: port 1(w1) entered disabled state [ 1124.534010] ------------[ cut here ]------------ [ 1124.534282] sysfs group 'bridge' not found for kobject 'br2' [ 1124.534618] WARNING: CPU: 0 PID: 68 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90 [ 1124.535077] 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 [ 1124.535984] CPU: 0 PID: 68 Comm: kworker/u8:1 Tainted: G W 6.8.0-rc2-virtme #1 [ 1124.536448] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 1124.537078] Workqueue: netns cleanup_net [ 1124.537307] RIP: 0010:sysfs_remove_group+0x75/0x90 [ 1124.537566] 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 af 94 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 [ 1124.538561] RSP: 0018:ffffafd900263d70 EFLAGS: 00010286 [ 1124.538856] RAX: 0000000000000000 RBX: ffffffffc036ac60 RCX: 00000000ffffdfff [ 1124.539232] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 1124.539605] RBP: 0000000000000000 R08: ffffffff94f64508 R09: 00000000ffffdfff [ 1124.539999] R10: ffffffff94e84520 R11: ffffffff94f34520 R12: ffff8eb881caa5f8 [ 1124.540380] R13: ffffafd900263e08 R14: ffff8eb881caab60 R15: ffffffff96413dd0 [ 1124.540760] FS: 0000000000000000(0000) GS:ffff8eb8bec00000(0000) knlGS:0000000000000000 [ 1124.541190] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1124.541510] CR2: 00007fc0b620711c CR3: 000000001ba4c002 CR4: 00000000001706f0 [ 1124.541904] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 1124.542316] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 1124.542707] Call Trace: [ 1124.542857] <TASK> [ 1124.542983] ? __warn+0x84/0x170 [ 1124.543168] ? sysfs_remove_group+0x75/0x90 [ 1124.543397] ? report_bug+0x199/0x1b0 [ 1124.543607] ? handle_bug+0x3d/0x70 [ 1124.543815] ? exc_invalid_op+0x18/0x70 [ 1124.544029] ? asm_exc_invalid_op+0x1a/0x20 [ 1124.544267] ? sysfs_remove_group+0x75/0x90 [ 1124.544498] br_dev_delete+0x88/0xa0 [bridge] [ 1124.544758] br_net_exit_batch_rtnl+0x70/0xd0 [bridge] [ 1124.545060] cleanup_net+0x251/0x3a0 [ 1124.545265] ? process_one_work+0x16c/0x4b0 [ 1124.545496] process_one_work+0x1d9/0x4b0 [ 1124.545715] worker_thread+0x1c1/0x3d0 [ 1124.545937] ? __pfx_worker_thread+0x10/0x10 [ 1124.546173] kthread+0xdd/0x110 [ 1124.546350] ? __pfx_kthread+0x10/0x10 [ 1124.546562] ret_from_fork+0x34/0x50 [ 1124.546764] ? __pfx_kthread+0x10/0x10 [ 1124.546985] ret_from_fork_asm+0x1b/0x30 [ 1124.547222] </TASK> [ 1124.547346] irq event stamp: 78603 [ 1124.547541] hardirqs last enabled at (78613): [<ffffffff935d7fdd>] console_unlock+0x10d/0x130 [ 1124.548013] hardirqs last disabled at (78624): [<ffffffff935d7fc2>] console_unlock+0xf2/0x130 [ 1124.548481] softirqs last enabled at (78262): [<ffffffff94231792>] __do_softirq+0x2c2/0x37a [ 1124.548955] softirqs last disabled at (78257): [<ffffffff9354bc8f>] irq_exit_rcu+0x7f/0xa0 [ 1124.549413] ---[ end trace 0000000000000000 ]--- [ 1124.848891] br1: port 4(veth2) entered disabled state [ 1124.860364] veth2: left allmulticast mode [ 1124.860630] veth2: left promiscuous mode [ 1124.860868] br1: port 4(veth2) entered disabled state [ 1124.915305] br1: port 3(veth1) entered disabled state [ 1124.927054] veth1: left allmulticast mode [ 1124.927315] veth1: left promiscuous mode [ 1124.927541] br1: port 3(veth1) entered disabled state [ 1124.957390] vx20: left allmulticast mode [ 1124.957644] vx20: left promiscuous mode [ 1124.957878] br1: port 2(vx20) entered disabled state [ 1125.025648] vx10: left allmulticast mode [ 1125.025922] vx10: left promiscuous mode [ 1125.026152] 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__->