make -C tools/testing/selftests TARGETS=net/forwarding TEST_PROGS=vxlan_brridge_1d_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_1d_port_8472.sh [ 2.251627] ip (232) used greatest stack depth: 11688 bytes left [ 2.938539] br1: port 1(vx1) entered blocking state [ 2.939047] br1: port 1(vx1) entered disabled state [ 2.939532] vx1: entered allmulticast mode [ 2.940042] vx1: entered promiscuous mode [ 2.940560] br1: port 1(vx1) entered blocking state [ 2.941017] br1: port 1(vx1) entered forwarding state [ 2.952927] br1: port 2(veth1) entered blocking state [ 2.953266] br1: port 2(veth1) entered disabled state [ 2.953558] veth1: entered allmulticast mode [ 2.953889] veth1: entered promiscuous mode [ 2.965468] br1: port 2(veth1) entered blocking state [ 2.965816] br1: port 2(veth1) entered forwarding state [ 2.976571] br1: port 3(veth2) entered blocking state [ 2.976943] br1: port 3(veth2) entered disabled state [ 2.977231] veth2: entered allmulticast mode [ 2.977570] veth2: entered promiscuous mode [ 2.989143] br1: port 3(veth2) entered blocking state [ 2.989474] br1: port 3(veth2) entered forwarding state [ 3.359141] br2: port 1(w1) entered blocking state [ 3.359435] br2: port 1(w1) entered disabled state [ 3.359705] w1: entered allmulticast mode [ 3.360021] w1: entered promiscuous mode [ 3.417308] br2: port 2(vx2) entered blocking state [ 3.417606] br2: port 2(vx2) entered disabled state [ 3.417911] vx2: entered allmulticast mode [ 3.418232] vx2: entered promiscuous mode [ 3.418500] br2: port 2(vx2) entered blocking state [ 3.418777] br2: port 2(vx2) entered forwarding state [ 3.491068] br2: port 1(w1) entered blocking state [ 3.491375] br2: port 1(w1) entered forwarding state [ 3.689068] br2: port 1(w1) entered blocking state [ 3.689365] br2: port 1(w1) entered disabled state [ 3.689635] w1: entered allmulticast mode [ 3.689947] w1: entered promiscuous mode [ 3.753825] br2: port 2(vx2) entered blocking state [ 3.754118] br2: port 2(vx2) entered disabled state [ 3.754393] vx2: entered allmulticast mode [ 3.754691] vx2: entered promiscuous mode [ 3.755014] br2: port 2(vx2) entered blocking state [ 3.755283] br2: port 2(vx2) entered forwarding state [ 3.829674] br2: port 1(w1) entered blocking state [ 3.830013] br2: port 1(w1) entered forwarding state # Running tests with UDP port 8472 # TEST: ping: local->local [ OK ] # TEST: ping: local->remote 1 [ OK ] # TEST: ping: local->remote 2 [ OK ] [ 12.255771] vx2: left allmulticast mode [ 12.256121] vx2: left promiscuous mode [ 12.256416] br2: port 2(vx2) entered disabled state [ 12.272032] w1: left allmulticast mode [ 12.272280] w1: left promiscuous mode [ 12.272492] br2: port 1(w1) entered disabled state [ 12.280028] ------------[ cut here ]------------ [ 12.280379] refcount_t: underflow; use-after-free. [ 12.280660] WARNING: CPU: 1 PID: 11 at lib/refcount.c:28 refcount_warn_saturate+0xd0/0x130 [ 12.281149] Modules linked in: vxlan ip6_udp_tunnel udp_tunnel bridge stp llc sch_ingress vrf veth [ 12.281704] CPU: 1 PID: 11 Comm: kworker/u8:0 Not tainted 6.8.0-rc2-virtme #1 [ 12.282108] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 12.282799] Workqueue: netns cleanup_net [ 12.283093] RIP: 0010:refcount_warn_saturate+0xd0/0x130 [ 12.283392] 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 a7 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.284622] RSP: 0018:ffffc29140063d78 EFLAGS: 00010286 [ 12.285029] RAX: 0000000000000000 RBX: ffffa0ddc2f60000 RCX: 00000000ffffdfff [ 12.285545] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 12.286057] RBP: ffffa0ddc2f605f8 R08: ffffffffa7f64508 R09: 00000000ffffdfff [ 12.286566] R10: ffffffffa7e84520 R11: ffffffffa7f34520 R12: ffffa0ddc2f60000 [ 12.287083] R13: ffffc29140063e08 R14: ffffa0ddc2f60b60 R15: ffffa0ddc2790050 [ 12.287571] FS: 0000000000000000(0000) GS:ffffa0ddfec80000(0000) knlGS:0000000000000000 [ 12.288153] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 12.288561] CR2: 0000000000483760 CR3: 0000000002cd0001 CR4: 00000000001706f0 [ 12.289083] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 12.289596] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 12.290099] Call Trace: [ 12.290274] [ 12.290443] ? __warn+0x84/0x170 [ 12.290699] ? refcount_warn_saturate+0xd0/0x130 [ 12.290967] ? report_bug+0x199/0x1b0 [ 12.291199] ? handle_bug+0x3d/0x70 [ 12.291398] ? exc_invalid_op+0x18/0x70 [ 12.291624] ? asm_exc_invalid_op+0x1a/0x20 [ 12.291872] ? refcount_warn_saturate+0xd0/0x130 [ 12.292126] ? refcount_warn_saturate+0xcf/0x130 [ 12.292379] br_sysfs_delbr+0x1d/0x40 [bridge] [ 12.292680] br_dev_delete+0x88/0xa0 [bridge] [ 12.292943] br_net_exit_batch_rtnl+0x70/0xd0 [bridge] [ 12.293242] cleanup_net+0x251/0x3a0 [ 12.293447] ? process_one_work+0x16c/0x4b0 [ 12.293679] process_one_work+0x1d9/0x4b0 [ 12.293914] worker_thread+0x1c1/0x3d0 [ 12.294122] ? __pfx_worker_thread+0x10/0x10 [ 12.294357] kthread+0xdd/0x110 [ 12.294541] ? __pfx_kthread+0x10/0x10 [ 12.294750] ret_from_fork+0x34/0x50 [ 12.294959] ? __pfx_kthread+0x10/0x10 [ 12.295170] ret_from_fork_asm+0x1b/0x30 [ 12.295393] [ 12.295520] irq event stamp: 12251 [ 12.295709] hardirqs last enabled at (12261): [] console_unlock+0x10d/0x130 [ 12.296190] hardirqs last disabled at (12272): [] console_unlock+0xf2/0x130 [ 12.296640] softirqs last enabled at (12122): [] __do_softirq+0x2c2/0x37a [ 12.297092] softirqs last disabled at (12113): [] irq_exit_rcu+0x7f/0xa0 [ 12.297533] ---[ end trace 0000000000000000 ]--- [ 12.297795] ------------[ cut here ]------------ [ 12.298047] sysfs group 'bridge' not found for kobject 'br2' [ 12.298368] WARNING: CPU: 1 PID: 11 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90 [ 12.298812] Modules linked in: vxlan ip6_udp_tunnel udp_tunnel bridge stp llc sch_ingress vrf veth [ 12.299297] CPU: 1 PID: 11 Comm: kworker/u8:0 Tainted: G W 6.8.0-rc2-virtme #1 [ 12.299762] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 12.300363] Workqueue: netns cleanup_net [ 12.300579] RIP: 0010:sysfs_remove_group+0x75/0x90 [ 12.300845] 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 a7 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.301836] RSP: 0018:ffffc29140063d70 EFLAGS: 00010286 [ 12.302138] RAX: 0000000000000000 RBX: ffffffffc064fc60 RCX: 00000000ffffdfff [ 12.302628] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 12.303066] RBP: 0000000000000000 R08: ffffffffa7f64508 R09: 00000000ffffdfff [ 12.303540] R10: ffffffffa7e84520 R11: ffffffffa7f34520 R12: ffffa0ddc2f605f8 [ 12.304047] R13: ffffc29140063e08 R14: ffffa0ddc2f60b60 R15: ffffa0ddc2790050 [ 12.304556] FS: 0000000000000000(0000) GS:ffffa0ddfec80000(0000) knlGS:0000000000000000 [ 12.305143] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 12.305553] CR2: 0000000000483760 CR3: 0000000002cd0001 CR4: 00000000001706f0 [ 12.306068] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 12.306584] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 12.307110] Call Trace: [ 12.307298] [ 12.307443] ? __warn+0x84/0x170 [ 12.307683] ? sysfs_remove_group+0x75/0x90 [ 12.308003] ? report_bug+0x199/0x1b0 [ 12.308262] ? handle_bug+0x3d/0x70 [ 12.308524] ? exc_invalid_op+0x18/0x70 [ 12.308799] ? asm_exc_invalid_op+0x1a/0x20 [ 12.309120] ? sysfs_remove_group+0x75/0x90 [ 12.309373] br_dev_delete+0x88/0xa0 [bridge] [ 12.309641] br_net_exit_batch_rtnl+0x70/0xd0 [bridge] [ 12.309938] cleanup_net+0x251/0x3a0 [ 12.310155] ? process_one_work+0x16c/0x4b0 [ 12.310443] process_one_work+0x1d9/0x4b0 [ 12.310667] worker_thread+0x1c1/0x3d0 [ 12.310887] ? __pfx_worker_thread+0x10/0x10 [ 12.311175] kthread+0xdd/0x110 [ 12.311395] ? __pfx_kthread+0x10/0x10 [ 12.311683] ret_from_fork+0x34/0x50 [ 12.311893] ? __pfx_kthread+0x10/0x10 [ 12.312125] ret_from_fork_asm+0x1b/0x30 [ 12.312422] [ 12.312598] irq event stamp: 12859 [ 12.312869] hardirqs last enabled at (12871): [] console_unlock+0x10d/0x130 [ 12.313505] hardirqs last disabled at (12880): [] console_unlock+0xf2/0x130 [ 12.314148] softirqs last enabled at (12448): [] __do_softirq+0x2c2/0x37a [ 12.314790] softirqs last disabled at (12439): [] irq_exit_rcu+0x7f/0xa0 [ 12.315398] ---[ end trace 0000000000000000 ]--- [ 12.395353] vx2: left allmulticast mode [ 12.395601] vx2: left promiscuous mode [ 12.395827] br2: port 2(vx2) entered disabled state [ 12.402952] w1: left allmulticast mode [ 12.403175] w1: left promiscuous mode [ 12.403384] br2: port 1(w1) entered disabled state [ 12.410908] ------------[ cut here ]------------ [ 12.411187] sysfs group 'bridge' not found for kobject 'br2' [ 12.411520] WARNING: CPU: 0 PID: 11 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90 [ 12.411974] Modules linked in: vxlan ip6_udp_tunnel udp_tunnel bridge stp llc sch_ingress vrf veth [ 12.412466] CPU: 0 PID: 11 Comm: kworker/u8:0 Tainted: G W 6.8.0-rc2-virtme #1 [ 12.412928] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 12.413523] Workqueue: netns cleanup_net [ 12.413747] RIP: 0010:sysfs_remove_group+0x75/0x90 [ 12.414021] 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 a7 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.414991] RSP: 0018:ffffc29140063d70 EFLAGS: 00010286 [ 12.415273] RAX: 0000000000000000 RBX: ffffffffc064fc60 RCX: 00000000ffffdfff [ 12.415649] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 12.416039] RBP: 0000000000000000 R08: ffffffffa7f64508 R09: 00000000ffffdfff [ 12.416422] R10: ffffffffa7e84520 R11: ffffffffa7f34520 R12: ffffa0ddc50245f8 [ 12.416801] R13: ffffc29140063e08 R14: ffffa0ddc5024b60 R15: ffffffffa9413dd0 [ 12.417178] FS: 0000000000000000(0000) GS:ffffa0ddfec00000(0000) knlGS:0000000000000000 [ 12.417607] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 12.417922] CR2: 00000000004e1f80 CR3: 000000000264a001 CR4: 00000000001706f0 [ 12.418301] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 12.418675] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 12.419056] Call Trace: [ 12.419196] [ 12.419317] ? __warn+0x84/0x170 [ 12.419496] ? sysfs_remove_group+0x75/0x90 [ 12.419728] ? report_bug+0x199/0x1b0 [ 12.419951] ? handle_bug+0x3d/0x70 [ 12.420146] ? exc_invalid_op+0x18/0x70 [ 12.420361] ? asm_exc_invalid_op+0x1a/0x20 [ 12.420595] ? sysfs_remove_group+0x75/0x90 [ 12.420843] br_dev_delete+0x88/0xa0 [bridge] [ 12.421121] br_net_exit_batch_rtnl+0x70/0xd0 [bridge] [ 12.421410] cleanup_net+0x251/0x3a0 [ 12.421614] ? process_one_work+0x16c/0x4b0 [ 12.421848] process_one_work+0x1d9/0x4b0 [ 12.422070] worker_thread+0x1c1/0x3d0 [ 12.422276] ? __pfx_worker_thread+0x10/0x10 [ 12.422512] kthread+0xdd/0x110 [ 12.422686] ? __pfx_kthread+0x10/0x10 [ 12.422896] ret_from_fork+0x34/0x50 [ 12.423099] ? __pfx_kthread+0x10/0x10 [ 12.423302] ret_from_fork_asm+0x1b/0x30 [ 12.423528] [ 12.423659] irq event stamp: 34793 [ 12.423854] hardirqs last enabled at (34805): [] console_unlock+0x10d/0x130 [ 12.424311] hardirqs last disabled at (34814): [] console_unlock+0xf2/0x130 [ 12.424770] softirqs last enabled at (34528): [] __do_softirq+0x2c2/0x37a [ 12.425219] softirqs last disabled at (34523): [] irq_exit_rcu+0x7f/0xa0 [ 12.425654] ---[ end trace 0000000000000000 ]--- [ 12.691122] vx1: left allmulticast mode [ 12.691374] vx1: left promiscuous mode [ 12.691594] br1: port 1(vx1) entered disabled state [ 12.750593] br1: port 3(veth2) entered disabled state [ 12.761335] veth2: left allmulticast mode [ 12.761579] veth2: left promiscuous mode [ 12.761850] br1: port 3(veth2) entered disabled state [ 12.781223] br1: port 2(veth1) entered disabled state [ 12.791614] veth1: left allmulticast mode [ 12.791922] veth1: left promiscuous mode [ 12.792151] br1: port 2(veth1) entered disabled state ok 1 selftests: net/forwarding: vxlan_bridge_1d_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__->