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 [ 318.879566] br1: port 1(vx1) entered blocking state [ 318.880073] br1: port 1(vx1) entered disabled state [ 318.880733] vx1: entered allmulticast mode [ 318.881370] vx1: entered promiscuous mode [ 318.881934] br1: port 1(vx1) entered blocking state [ 318.882480] br1: port 1(vx1) entered forwarding state [ 318.894415] br1: port 2(veth1) entered blocking state [ 318.894754] br1: port 2(veth1) entered disabled state [ 318.895074] veth1: entered allmulticast mode [ 318.895448] veth1: entered promiscuous mode [ 318.906822] br1: port 2(veth1) entered blocking state [ 318.907279] br1: port 2(veth1) entered forwarding state [ 318.919349] br1: port 3(veth2) entered blocking state [ 318.919785] br1: port 3(veth2) entered disabled state [ 318.920225] veth2: entered allmulticast mode [ 318.920732] veth2: entered promiscuous mode [ 318.933134] br1: port 3(veth2) entered blocking state [ 318.933458] br1: port 3(veth2) entered forwarding state [ 319.321419] br2: port 1(w1) entered blocking state [ 319.321733] br2: port 1(w1) entered disabled state [ 319.322033] w1: entered allmulticast mode [ 319.322373] w1: entered promiscuous mode [ 319.383604] br2: port 2(vx2) entered blocking state [ 319.383921] br2: port 2(vx2) entered disabled state [ 319.384217] vx2: entered allmulticast mode [ 319.384547] vx2: entered promiscuous mode [ 319.384798] br2: port 2(vx2) entered blocking state [ 319.385077] br2: port 2(vx2) entered forwarding state [ 319.458424] br2: port 1(w1) entered blocking state [ 319.458738] br2: port 1(w1) entered forwarding state [ 319.673356] br2: port 1(w1) entered blocking state [ 319.673656] br2: port 1(w1) entered disabled state [ 319.673929] w1: entered allmulticast mode [ 319.674259] w1: entered promiscuous mode [ 319.736645] br2: port 2(vx2) entered blocking state [ 319.736961] br2: port 2(vx2) entered disabled state [ 319.737268] vx2: entered allmulticast mode [ 319.737612] vx2: entered promiscuous mode [ 319.737868] br2: port 2(vx2) entered blocking state [ 319.738139] br2: port 2(vx2) entered forwarding state [ 319.814109] br2: port 1(w1) entered blocking state [ 319.814431] 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 ] [ 328.265357] vx2: left allmulticast mode [ 328.265694] vx2: left promiscuous mode [ 328.266001] br2: port 2(vx2) entered disabled state [ 328.275699] w1: left allmulticast mode [ 328.276058] w1: left promiscuous mode [ 328.276404] br2: port 1(w1) entered disabled state [ 328.288225] ------------[ cut here ]------------ [ 328.288638] refcount_t: underflow; use-after-free. [ 328.289045] WARNING: CPU: 2 PID: 11 at lib/refcount.c:28 refcount_warn_saturate+0xd0/0x130 [ 328.289721] Modules linked in: vxlan ip6_udp_tunnel udp_tunnel dummy act_pedit act_mirred cls_flower 8021q ip6_gre ip6_tunnel tunnel6 act_gact cls_matchall ip_gre gre sch_ingress bridge stp llc vrf veth [ 328.291556] CPU: 2 PID: 11 Comm: kworker/u8:0 Not tainted 6.8.0-rc2-virtme #1 [ 328.292142] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 328.293061] Workqueue: netns cleanup_net [ 328.293403] RIP: 0010:refcount_warn_saturate+0xd0/0x130 [ 328.293826] 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 9c 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 [ 328.295301] RSP: 0018:ffffb40fc0063d78 EFLAGS: 00010286 [ 328.295730] RAX: 0000000000000000 RBX: ffff8fcbc190e000 RCX: 00000000ffffdfff [ 328.296318] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 328.296887] RBP: ffff8fcbc190e5f8 R08: ffffffff9cd64508 R09: 00000000ffffdfff [ 328.297484] R10: ffffffff9cc84520 R11: ffffffff9cd34520 R12: ffff8fcbc190e000 [ 328.298060] R13: ffffb40fc0063e08 R14: ffff8fcbc190eb60 R15: ffff8fcbc4d38050 [ 328.298643] FS: 0000000000000000(0000) GS:ffff8fcbfed00000(0000) knlGS:0000000000000000 [ 328.299303] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 328.299759] CR2: 00007ff1c95831b4 CR3: 0000000039a4c004 CR4: 00000000001706f0 [ 328.300344] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 328.300919] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 328.301505] Call Trace: [ 328.301716] [ 328.301904] ? __warn+0x84/0x170 [ 328.302182] ? refcount_warn_saturate+0xd0/0x130 [ 328.302577] ? report_bug+0x199/0x1b0 [ 328.302888] ? handle_bug+0x3d/0x70 [ 328.303180] ? exc_invalid_op+0x18/0x70 [ 328.303514] ? asm_exc_invalid_op+0x1a/0x20 [ 328.303869] ? refcount_warn_saturate+0xd0/0x130 [ 328.304264] ? refcount_warn_saturate+0xcf/0x130 [ 328.304650] br_sysfs_delbr+0x1d/0x40 [bridge] [ 328.305082] br_dev_delete+0x88/0xa0 [bridge] [ 328.305484] br_net_exit_batch_rtnl+0x70/0xd0 [bridge] [ 328.305930] cleanup_net+0x251/0x3a0 [ 328.306247] ? process_one_work+0x16c/0x4b0 [ 328.306596] process_one_work+0x1d9/0x4b0 [ 328.306933] worker_thread+0x1c1/0x3d0 [ 328.307264] ? __pfx_worker_thread+0x10/0x10 [ 328.307622] kthread+0xdd/0x110 [ 328.307888] ? __pfx_kthread+0x10/0x10 [ 328.308212] ret_from_fork+0x34/0x50 [ 328.308515] ? __pfx_kthread+0x10/0x10 [ 328.308824] ret_from_fork_asm+0x1b/0x30 [ 328.309150] [ 328.309348] irq event stamp: 38745 [ 328.309634] hardirqs last enabled at (38755): [] console_unlock+0x10d/0x130 [ 328.310343] hardirqs last disabled at (38766): [] console_unlock+0xf2/0x130 [ 328.311026] softirqs last enabled at (38294): [] __do_softirq+0x2c2/0x37a [ 328.311711] softirqs last disabled at (38239): [] irq_exit_rcu+0x7f/0xa0 [ 328.312386] ---[ end trace 0000000000000000 ]--- [ 328.312764] ------------[ cut here ]------------ [ 328.313142] sysfs group 'bridge' not found for kobject 'br2' [ 328.313631] WARNING: CPU: 2 PID: 11 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90 [ 328.314275] Modules linked in: vxlan ip6_udp_tunnel udp_tunnel dummy act_pedit act_mirred cls_flower 8021q ip6_gre ip6_tunnel tunnel6 act_gact cls_matchall ip_gre gre sch_ingress bridge stp llc vrf veth [ 328.315706] CPU: 2 PID: 11 Comm: kworker/u8:0 Tainted: G W 6.8.0-rc2-virtme #1 [ 328.316391] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 328.317301] Workqueue: netns cleanup_net [ 328.317622] RIP: 0010:sysfs_remove_group+0x75/0x90 [ 328.318012] 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 9c 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 [ 328.319482] RSP: 0018:ffffb40fc0063d70 EFLAGS: 00010286 [ 328.319904] RAX: 0000000000000000 RBX: ffffffffc04d9c60 RCX: 00000000ffffdfff [ 328.320486] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 328.321052] RBP: 0000000000000000 R08: ffffffff9cd64508 R09: 00000000ffffdfff [ 328.321638] R10: ffffffff9cc84520 R11: ffffffff9cd34520 R12: ffff8fcbc190e5f8 [ 328.322216] R13: ffffb40fc0063e08 R14: ffff8fcbc190eb60 R15: ffff8fcbc4d38050 [ 328.322787] FS: 0000000000000000(0000) GS:ffff8fcbfed00000(0000) knlGS:0000000000000000 [ 328.323451] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 328.323919] CR2: 00007ff1c95831b4 CR3: 0000000039a4c004 CR4: 00000000001706f0 [ 328.324504] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 328.325076] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 328.325656] Call Trace: [ 328.325870] [ 328.326049] ? __warn+0x84/0x170 [ 328.326329] ? sysfs_remove_group+0x75/0x90 [ 328.326675] ? report_bug+0x199/0x1b0 [ 328.326991] ? handle_bug+0x3d/0x70 [ 328.327311] ? exc_invalid_op+0x18/0x70 [ 328.327623] ? asm_exc_invalid_op+0x1a/0x20 [ 328.327972] ? sysfs_remove_group+0x75/0x90 [ 328.328335] br_dev_delete+0x88/0xa0 [bridge] [ 328.328725] br_net_exit_batch_rtnl+0x70/0xd0 [bridge] [ 328.329161] cleanup_net+0x251/0x3a0 [ 328.329480] ? process_one_work+0x16c/0x4b0 [ 328.329812] process_one_work+0x1d9/0x4b0 [ 328.330147] worker_thread+0x1c1/0x3d0 [ 328.330470] ? __pfx_worker_thread+0x10/0x10 [ 328.330822] kthread+0xdd/0x110 [ 328.331086] ? __pfx_kthread+0x10/0x10 [ 328.331411] ret_from_fork+0x34/0x50 [ 328.331713] ? __pfx_kthread+0x10/0x10 [ 328.332028] ret_from_fork_asm+0x1b/0x30 [ 328.332382] [ 328.332572] irq event stamp: 39423 [ 328.332849] hardirqs last enabled at (39433): [] console_unlock+0x10d/0x130 [ 328.333548] hardirqs last disabled at (39444): [] console_unlock+0xf2/0x130 [ 328.334229] softirqs last enabled at (39056): [] __do_softirq+0x2c2/0x37a [ 328.334893] softirqs last disabled at (39047): [] irq_exit_rcu+0x7f/0xa0 [ 328.335360] ---[ end trace 0000000000000000 ]--- [ 328.427754] vx2: left allmulticast mode [ 328.428044] vx2: left promiscuous mode [ 328.428277] br2: port 2(vx2) entered disabled state [ 328.445340] w1: left allmulticast mode [ 328.445578] w1: left promiscuous mode [ 328.445805] br2: port 1(w1) entered disabled state [ 328.457422] ------------[ cut here ]------------ [ 328.457712] sysfs group 'bridge' not found for kobject 'br2' [ 328.458056] WARNING: CPU: 2 PID: 11 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90 [ 328.458557] Modules linked in: vxlan ip6_udp_tunnel udp_tunnel dummy act_pedit act_mirred cls_flower 8021q ip6_gre ip6_tunnel tunnel6 act_gact cls_matchall ip_gre gre sch_ingress bridge stp llc vrf veth [ 328.459616] CPU: 2 PID: 11 Comm: kworker/u8:0 Tainted: G W 6.8.0-rc2-virtme #1 [ 328.460100] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 328.460756] Workqueue: netns cleanup_net [ 328.460978] RIP: 0010:sysfs_remove_group+0x75/0x90 [ 328.461247] 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 9c 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 [ 328.462243] RSP: 0018:ffffb40fc0063d70 EFLAGS: 00010286 [ 328.462559] RAX: 0000000000000000 RBX: ffffffffc04d9c60 RCX: 00000000ffffdfff [ 328.462940] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 328.463328] RBP: 0000000000000000 R08: ffffffff9cd64508 R09: 00000000ffffdfff [ 328.463717] R10: ffffffff9cc84520 R11: ffffffff9cd34520 R12: ffff8fcbc190c5f8 [ 328.464113] R13: ffffb40fc0063e08 R14: ffff8fcbc190cb60 R15: ffffffff9e213dd0 [ 328.464533] FS: 0000000000000000(0000) GS:ffff8fcbfed00000(0000) knlGS:0000000000000000 [ 328.465027] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 328.465363] CR2: 000056140a638dec CR3: 0000000002fb4006 CR4: 00000000001706f0 [ 328.465777] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 328.466159] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 328.466592] Call Trace: [ 328.466743] [ 328.466877] ? __warn+0x84/0x170 [ 328.467074] ? sysfs_remove_group+0x75/0x90 [ 328.467370] ? report_bug+0x199/0x1b0 [ 328.467609] ? handle_bug+0x3d/0x70 [ 328.467811] ? exc_invalid_op+0x18/0x70 [ 328.468040] ? asm_exc_invalid_op+0x1a/0x20 [ 328.468307] ? sysfs_remove_group+0x75/0x90 [ 328.468573] br_dev_delete+0x88/0xa0 [bridge] [ 328.468838] br_net_exit_batch_rtnl+0x70/0xd0 [bridge] [ 328.469132] cleanup_net+0x251/0x3a0 [ 328.469342] ? process_one_work+0x16c/0x4b0 [ 328.469637] process_one_work+0x1d9/0x4b0 [ 328.469935] worker_thread+0x1c1/0x3d0 [ 328.470146] ? __pfx_worker_thread+0x10/0x10 [ 328.470391] kthread+0xdd/0x110 [ 328.470586] ? __pfx_kthread+0x10/0x10 [ 328.470818] ret_from_fork+0x34/0x50 [ 328.471037] ? __pfx_kthread+0x10/0x10 [ 328.471264] ret_from_fork_asm+0x1b/0x30 [ 328.471516] [ 328.471667] irq event stamp: 66535 [ 328.471874] hardirqs last enabled at (66545): [] console_unlock+0x10d/0x130 [ 328.472385] hardirqs last disabled at (66556): [] console_unlock+0xf2/0x130 [ 328.472858] softirqs last enabled at (66114): [] __do_softirq+0x2c2/0x37a [ 328.473336] softirqs last disabled at (66107): [] irq_exit_rcu+0x7f/0xa0 [ 328.473824] ---[ end trace 0000000000000000 ]--- [ 328.745285] vx1: left allmulticast mode [ 328.745536] vx1: left promiscuous mode [ 328.745755] br1: port 1(vx1) entered disabled state [ 328.809574] br1: port 3(veth2) entered disabled state [ 328.819422] veth2: left allmulticast mode [ 328.819689] veth2: left promiscuous mode [ 328.819925] br1: port 3(veth2) entered disabled state [ 328.839094] br1: port 2(veth1) entered disabled state [ 328.848821] veth1: left allmulticast mode [ 328.849070] veth1: left promiscuous mode [ 328.849314] 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__->