make -C tools/testing/selftests TARGETS=net/forwarding TEST_PROGS=vxlan_brridge_1q_port_8472.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.sh [ 816.834616] br1: port 1(vx10) entered blocking state [ 816.835141] br1: port 1(vx10) entered disabled state [ 816.835616] vx10: entered allmulticast mode [ 816.836077] vx10: entered promiscuous mode [ 816.836604] br1: port 1(vx10) entered blocking state [ 816.837045] br1: port 1(vx10) entered forwarding state [ 816.876794] br1: port 2(vx20) entered blocking state [ 816.877306] br1: port 2(vx20) entered disabled state [ 816.877818] vx20: entered allmulticast mode [ 816.878396] vx20: entered promiscuous mode [ 816.878740] br1: port 2(vx20) entered blocking state [ 816.879055] br1: port 2(vx20) entered forwarding state [ 816.899221] br1: port 3(veth1) entered blocking state [ 816.899552] br1: port 3(veth1) entered disabled state [ 816.899849] veth1: entered allmulticast mode [ 816.900188] veth1: entered promiscuous mode [ 816.910568] br1: port 3(veth1) entered blocking state [ 816.910878] br1: port 3(veth1) entered forwarding state [ 816.940699] br1: port 4(veth2) entered blocking state [ 816.941026] br1: port 4(veth2) entered disabled state [ 816.941322] veth2: entered allmulticast mode [ 816.941671] veth2: entered promiscuous mode [ 816.953749] br1: port 4(veth2) entered blocking state [ 816.954211] br1: port 4(veth2) entered forwarding state [ 817.359115] br2: port 1(w1) entered blocking state [ 817.359418] br2: port 1(w1) entered disabled state [ 817.359691] w1: entered allmulticast mode [ 817.360009] w1: entered promiscuous mode [ 817.444435] br2: port 2(vx10) entered blocking state [ 817.444756] br2: port 2(vx10) entered disabled state [ 817.445084] vx10: entered allmulticast mode [ 817.445402] vx10: entered promiscuous mode [ 817.445649] br2: port 2(vx10) entered blocking state [ 817.445930] br2: port 2(vx10) entered forwarding state [ 817.528938] br2: port 3(vx20) entered blocking state [ 817.529262] br2: port 3(vx20) entered disabled state [ 817.529551] vx20: entered allmulticast mode [ 817.529865] vx20: entered promiscuous mode [ 817.530123] br2: port 3(vx20) entered blocking state [ 817.530402] br2: port 3(vx20) entered forwarding state [ 817.617154] br2: port 1(w1) entered blocking state [ 817.617589] br2: port 1(w1) entered forwarding state [ 817.890666] br2: port 1(w1) entered blocking state [ 817.891144] br2: port 1(w1) entered disabled state [ 817.891549] w1: entered allmulticast mode [ 817.892020] w1: entered promiscuous mode [ 817.974245] br2: port 2(vx10) entered blocking state [ 817.974553] br2: port 2(vx10) entered disabled state [ 817.974836] vx10: entered allmulticast mode [ 817.975206] vx10: entered promiscuous mode [ 817.975456] br2: port 2(vx10) entered blocking state [ 817.975732] br2: port 2(vx10) entered forwarding state [ 818.056542] br2: port 3(vx20) entered blocking state [ 818.056991] br2: port 3(vx20) entered disabled state [ 818.057403] vx20: entered allmulticast mode [ 818.057884] vx20: entered promiscuous mode [ 818.058342] br2: port 3(vx20) entered blocking state [ 818.058740] br2: port 3(vx20) entered forwarding state [ 818.142097] br2: port 1(w1) entered blocking state [ 818.142401] 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 ] [ 829.549034] vx20: left allmulticast mode [ 829.549567] vx20: left promiscuous mode [ 829.550194] br2: port 3(vx20) entered disabled state [ 829.561135] vx10: left allmulticast mode [ 829.561428] vx10: left promiscuous mode [ 829.561822] br2: port 2(vx10) entered disabled state [ 829.577153] w1: left allmulticast mode [ 829.577490] w1: left promiscuous mode [ 829.577811] br2: port 1(w1) entered disabled state [ 829.587408] ------------[ cut here ]------------ [ 829.587822] refcount_t: underflow; use-after-free. [ 829.588276] WARNING: CPU: 3 PID: 10 at lib/refcount.c:28 refcount_warn_saturate+0xd0/0x130 [ 829.588961] Modules linked in: vxlan ip6_udp_tunnel udp_tunnel act_mirred cls_matchall sch_red dummy act_gact cls_flower sch_ingress ip_gre gre em_meta cls_basic sch_ets sch_tbf bridge stp llc 8021q vrf veth [ 829.590533] CPU: 3 PID: 10 Comm: kworker/u8:0 Not tainted 6.8.0-rc2-virtme #1 [ 829.591142] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 829.592099] Workqueue: netns cleanup_net [ 829.592440] RIP: 0010:refcount_warn_saturate+0xd0/0x130 [ 829.592884] 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 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 [ 829.594424] RSP: 0018:ffffb840c005bd78 EFLAGS: 00010286 [ 829.594837] RAX: 0000000000000000 RBX: ffff947941f0a000 RCX: 00000000ffffdfff [ 829.595346] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 829.595783] RBP: ffff947941f0a5f8 R08: ffffffff97f64508 R09: 00000000ffffdfff [ 829.596192] R10: ffffffff97e84520 R11: ffffffff97f34520 R12: ffff947941f0a000 [ 829.596594] R13: ffffb840c005be08 R14: ffff947941f0ab60 R15: ffff947945620050 [ 829.596988] FS: 0000000000000000(0000) GS:ffff94797ed80000(0000) knlGS:0000000000000000 [ 829.597427] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 829.597744] CR2: 00007efd9f4e3270 CR3: 000000002844c004 CR4: 00000000001706f0 [ 829.598141] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 829.598540] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 829.598935] Call Trace: [ 829.599083] [ 829.599219] ? __warn+0x84/0x170 [ 829.599411] ? refcount_warn_saturate+0xd0/0x130 [ 829.599673] ? report_bug+0x199/0x1b0 [ 829.599883] ? handle_bug+0x3d/0x70 [ 829.600087] ? exc_invalid_op+0x18/0x70 [ 829.600308] ? asm_exc_invalid_op+0x1a/0x20 [ 829.600544] ? refcount_warn_saturate+0xd0/0x130 [ 829.600802] ? refcount_warn_saturate+0xcf/0x130 [ 829.601068] br_sysfs_delbr+0x1d/0x40 [bridge] [ 829.601373] br_dev_delete+0x88/0xa0 [bridge] [ 829.601634] br_net_exit_batch_rtnl+0x70/0xd0 [bridge] [ 829.601933] cleanup_net+0x251/0x3a0 [ 829.602145] ? process_one_work+0x16c/0x4b0 [ 829.602386] process_one_work+0x1d9/0x4b0 [ 829.602623] worker_thread+0x1c1/0x3d0 [ 829.602834] ? __pfx_worker_thread+0x10/0x10 [ 829.603079] kthread+0xdd/0x110 [ 829.603271] ? __pfx_kthread+0x10/0x10 [ 829.603484] ret_from_fork+0x34/0x50 [ 829.603687] ? __pfx_kthread+0x10/0x10 [ 829.603898] ret_from_fork_asm+0x1b/0x30 [ 829.604130] [ 829.604268] irq event stamp: 46851 [ 829.604458] hardirqs last enabled at (46861): [] console_unlock+0x10d/0x130 [ 829.604931] hardirqs last disabled at (46870): [] console_unlock+0xf2/0x130 [ 829.605424] softirqs last enabled at (46470): [] __do_softirq+0x2c2/0x37a [ 829.606058] softirqs last disabled at (46465): [] irq_exit_rcu+0x7f/0xa0 [ 829.606679] ---[ end trace 0000000000000000 ]--- [ 829.607049] ------------[ cut here ]------------ [ 829.607415] sysfs group 'bridge' not found for kobject 'br2' [ 829.607882] WARNING: CPU: 3 PID: 10 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90 [ 829.608531] Modules linked in: vxlan ip6_udp_tunnel udp_tunnel act_mirred cls_matchall sch_red dummy act_gact cls_flower sch_ingress ip_gre gre em_meta cls_basic sch_ets sch_tbf bridge stp llc 8021q vrf veth [ 829.609999] CPU: 3 PID: 10 Comm: kworker/u8:0 Tainted: G W 6.8.0-rc2-virtme #1 [ 829.610671] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 829.611566] Workqueue: netns cleanup_net [ 829.611891] RIP: 0010:sysfs_remove_group+0x75/0x90 [ 829.612286] 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 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 [ 829.613738] RSP: 0018:ffffb840c005bd70 EFLAGS: 00010286 [ 829.614167] RAX: 0000000000000000 RBX: ffffffffc0562c60 RCX: 00000000ffffdfff [ 829.614745] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 829.615321] RBP: 0000000000000000 R08: ffffffff97f64508 R09: 00000000ffffdfff [ 829.615879] R10: ffffffff97e84520 R11: ffffffff97f34520 R12: ffff947941f0a5f8 [ 829.616453] R13: ffffb840c005be08 R14: ffff947941f0ab60 R15: ffff947945620050 [ 829.616850] FS: 0000000000000000(0000) GS:ffff94797ed80000(0000) knlGS:0000000000000000 [ 829.617300] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 829.617614] CR2: 00007efd9f4e3270 CR3: 000000002844c004 CR4: 00000000001706f0 [ 829.618008] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 829.618396] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 829.618807] Call Trace: [ 829.618957] [ 829.619105] ? __warn+0x84/0x170 [ 829.619296] ? sysfs_remove_group+0x75/0x90 [ 829.619542] ? report_bug+0x199/0x1b0 [ 829.619760] ? handle_bug+0x3d/0x70 [ 829.619972] ? exc_invalid_op+0x18/0x70 [ 829.620213] ? asm_exc_invalid_op+0x1a/0x20 [ 829.620464] ? sysfs_remove_group+0x75/0x90 [ 829.620704] br_dev_delete+0x88/0xa0 [bridge] [ 829.620994] br_net_exit_batch_rtnl+0x70/0xd0 [bridge] [ 829.621301] cleanup_net+0x251/0x3a0 [ 829.621510] ? process_one_work+0x16c/0x4b0 [ 829.621743] process_one_work+0x1d9/0x4b0 [ 829.621967] worker_thread+0x1c1/0x3d0 [ 829.622181] ? __pfx_worker_thread+0x10/0x10 [ 829.622464] kthread+0xdd/0x110 [ 829.622653] ? __pfx_kthread+0x10/0x10 [ 829.622862] ret_from_fork+0x34/0x50 [ 829.623085] ? __pfx_kthread+0x10/0x10 [ 829.623318] ret_from_fork_asm+0x1b/0x30 [ 829.623544] [ 829.623671] irq event stamp: 47517 [ 829.623866] hardirqs last enabled at (47527): [] console_unlock+0x10d/0x130 [ 829.624339] hardirqs last disabled at (47538): [] console_unlock+0xf2/0x130 [ 829.624836] softirqs last enabled at (46470): [] __do_softirq+0x2c2/0x37a [ 829.625322] softirqs last disabled at (46465): [] irq_exit_rcu+0x7f/0xa0 [ 829.625793] ---[ end trace 0000000000000000 ]--- [ 829.709271] vx20: left allmulticast mode [ 829.709541] vx20: left promiscuous mode [ 829.709784] br2: port 3(vx20) entered disabled state [ 829.730130] vx10: left allmulticast mode [ 829.730390] vx10: left promiscuous mode [ 829.730632] br2: port 2(vx10) entered disabled state [ 829.744096] w1: left allmulticast mode [ 829.744335] w1: left promiscuous mode [ 829.744555] br2: port 1(w1) entered disabled state [ 829.750174] ------------[ cut here ]------------ [ 829.750461] sysfs group 'bridge' not found for kobject 'br2' [ 829.750814] WARNING: CPU: 0 PID: 10 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90 [ 829.751305] Modules linked in: vxlan ip6_udp_tunnel udp_tunnel act_mirred cls_matchall sch_red dummy act_gact cls_flower sch_ingress ip_gre gre em_meta cls_basic sch_ets sch_tbf bridge stp llc 8021q vrf veth [ 829.752389] CPU: 0 PID: 10 Comm: kworker/u8:0 Tainted: G W 6.8.0-rc2-virtme #1 [ 829.752864] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 829.753483] Workqueue: netns cleanup_net [ 829.753721] RIP: 0010:sysfs_remove_group+0x75/0x90 [ 829.753998] 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 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 [ 829.755025] RSP: 0018:ffffb840c005bd70 EFLAGS: 00010286 [ 829.755335] RAX: 0000000000000000 RBX: ffffffffc0562c60 RCX: 00000000ffffdfff [ 829.755716] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 829.756142] RBP: 0000000000000000 R08: ffffffff97f64508 R09: 00000000ffffdfff [ 829.756561] R10: ffffffff97e84520 R11: ffffffff97f34520 R12: ffff947942afa5f8 [ 829.756970] R13: ffffb840c005be08 R14: ffff947942afab60 R15: ffffffff99413dd0 [ 829.757391] FS: 0000000000000000(0000) GS:ffff94797ec00000(0000) knlGS:0000000000000000 [ 829.757860] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 829.758200] CR2: 0000559d43005670 CR3: 00000000029d4001 CR4: 00000000001706f0 [ 829.758613] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 829.759022] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 829.759434] Call Trace: [ 829.759587] [ 829.759719] ? __warn+0x84/0x170 [ 829.759910] ? sysfs_remove_group+0x75/0x90 [ 829.760170] ? report_bug+0x199/0x1b0 [ 829.760394] ? handle_bug+0x3d/0x70 [ 829.760610] ? exc_invalid_op+0x18/0x70 [ 829.760840] ? asm_exc_invalid_op+0x1a/0x20 [ 829.761104] ? sysfs_remove_group+0x75/0x90 [ 829.761358] br_dev_delete+0x88/0xa0 [bridge] [ 829.761636] br_net_exit_batch_rtnl+0x70/0xd0 [bridge] [ 829.761950] cleanup_net+0x251/0x3a0 [ 829.762173] ? process_one_work+0x16c/0x4b0 [ 829.762423] process_one_work+0x1d9/0x4b0 [ 829.762658] worker_thread+0x1c1/0x3d0 [ 829.762888] ? __pfx_worker_thread+0x10/0x10 [ 829.763157] kthread+0xdd/0x110 [ 829.763337] ? __pfx_kthread+0x10/0x10 [ 829.763546] ret_from_fork+0x34/0x50 [ 829.763756] ? __pfx_kthread+0x10/0x10 [ 829.763964] ret_from_fork_asm+0x1b/0x30 [ 829.764205] [ 829.764334] irq event stamp: 87371 [ 829.764524] hardirqs last enabled at (87381): [] console_unlock+0x10d/0x130 [ 829.764993] hardirqs last disabled at (87392): [] console_unlock+0xf2/0x130 [ 829.765455] softirqs last enabled at (87000): [] __do_softirq+0x2c2/0x37a [ 829.765914] softirqs last disabled at (86995): [] irq_exit_rcu+0x7f/0xa0 [ 829.766372] ---[ end trace 0000000000000000 ]--- [ 830.031620] br1: port 4(veth2) entered disabled state [ 830.040628] veth2: left allmulticast mode [ 830.040879] veth2: left promiscuous mode [ 830.041119] br1: port 4(veth2) entered disabled state [ 830.076992] br1: port 3(veth1) entered disabled state [ 830.085704] veth1: left allmulticast mode [ 830.085948] veth1: left promiscuous mode [ 830.086210] br1: port 3(veth1) entered disabled state [ 830.120868] vx20: left allmulticast mode [ 830.121123] vx20: left promiscuous mode [ 830.121345] br1: port 2(vx20) entered disabled state [ 830.185433] vx10: left allmulticast mode [ 830.185681] vx10: left promiscuous mode [ 830.185916] br1: port 1(vx10) entered disabled state ok 1 selftests: net/forwarding: vxlan_bridge_1q_port_8472.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__->