make -C tools/testing/selftests TARGETS=net TEST_PROGS=traceroute.sh TEST__GEN_PROGS="" run_tests make: Entering directory '/home/virtme/testing-1/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing-1/tools/testing/selftests/net' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-1/tools/testing/selftests/net' make[1]: Entering directory '/home/virtme/testing-1/tools/testing/selftests/net' TAP version 13 1..1 # timeout set to 6000 # selftests: net: traceroute.sh [ 1313.228041] eth3: renamed from tmp [ 1313.422017] eth2: renamed from tmp [ 1313.685069] eth0: renamed from tmp [ 1313.769981] br0: port 1(eth0) entered blocking state [ 1313.770342] br0: port 1(eth0) entered disabled state [ 1313.770693] eth0: entered allmulticast mode [ 1313.771137] eth0: entered promiscuous mode [ 1313.771697] br0: port 1(eth0) entered blocking state [ 1313.772112] br0: port 1(eth0) entered forwarding state [ 1313.885014] eth1: renamed from tmp [ 1313.971939] br0: port 2(eth1) entered blocking state [ 1313.972364] br0: port 2(eth1) entered disabled state [ 1313.972757] eth1: entered allmulticast mode [ 1313.973189] eth1: entered promiscuous mode [ 1313.973749] br0: port 2(eth1) entered blocking state [ 1313.974157] br0: port 2(eth1) entered forwarding state # TEST: IPV6 traceroute [ OK ] [ 1318.132294] br0: port 1(eth0) entered disabled state [ 1318.134606] eth0 (unregistering): left allmulticast mode [ 1318.134937] eth0 (unregistering): left promiscuous mode [ 1318.135207] br0: port 1(eth0) entered disabled state [ 1318.242884] eth1: left allmulticast mode [ 1318.243147] eth1: left promiscuous mode [ 1318.243370] br0: port 2(eth1) entered disabled state [ 1318.251145] ------------[ cut here ]------------ [ 1318.251661] refcount_t: underflow; use-after-free. [ 1318.252229] WARNING: CPU: 2 PID: 68 at lib/refcount.c:28 refcount_warn_saturate+0xd0/0x130 [ 1318.253138] Modules linked in: xt_conntrack nf_conntrack nf_defrag_ipv4 nf_defrag_ipv6 nft_compat nf_tables libcrc32c vxlan ip6_udp_tunnel udp_tunnel mpls_iptunnel mpls_router [ 1318.254847] CPU: 2 PID: 68 Comm: kworker/u8:1 Not tainted 6.8.0-rc2-virtme #1 [ 1318.255614] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 1318.256283] Workqueue: netns cleanup_net [ 1318.256548] RIP: 0010:refcount_warn_saturate+0xd0/0x130 [ 1318.256817] Code: 0b 90 90 c3 cc cc cc cc 80 3d 69 d4 67 01 00 0f 85 75 ff ff ff c6 05 5c d4 67 01 01 90 48 c7 c7 b8 37 13 9f e8 a1 26 b4 ff 90 <0f> 0b 90 90 c3 cc cc cc cc 80 3d 3c d4 67 01 00 0f 85 4a ff ff ff [ 1318.258313] RSP: 0018:ffffbcdb40263d78 EFLAGS: 00010286 [ 1318.258674] RAX: 0000000000000000 RBX: ffff9e364290a000 RCX: 00000000ffffdfff [ 1318.259307] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 1318.260079] RBP: ffff9e364290a610 R08: ffffffff9f578508 R09: 00000000ffffdfff [ 1318.260782] R10: ffffffff9f498520 R11: ffffffff9f548520 R12: ffff9e364290a000 [ 1318.261647] R13: ffffbcdb40263e08 R14: ffff9e364290ab80 R15: ffff9e3643c45c50 [ 1318.262432] FS: 0000000000000000(0000) GS:ffff9e367ed00000(0000) knlGS:0000000000000000 [ 1318.263273] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1318.263903] CR2: 00007f3f76cc8000 CR3: 000000000f460005 CR4: 0000000000770ef0 [ 1318.264579] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 1318.265359] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 1318.266160] PKRU: 55555554 [ 1318.266485] Call Trace: [ 1318.266733] [ 1318.266977] ? __warn+0x84/0x170 [ 1318.267377] ? refcount_warn_saturate+0xd0/0x130 [ 1318.267889] ? report_bug+0x199/0x1b0 [ 1318.268224] ? handle_bug+0x3d/0x70 [ 1318.268629] ? exc_invalid_op+0x18/0x70 [ 1318.269074] ? asm_exc_invalid_op+0x1a/0x20 [ 1318.269549] ? refcount_warn_saturate+0xd0/0x130 [ 1318.269961] ? refcount_warn_saturate+0xcf/0x130 [ 1318.270396] br_sysfs_delbr+0x1d/0x40 [ 1318.270864] br_dev_delete+0x88/0xa0 [ 1318.271224] br_net_exit_batch_rtnl+0x70/0xd0 [ 1318.271676] cleanup_net+0x24e/0x400 [ 1318.272002] ? process_one_work+0x16c/0x4b0 [ 1318.272390] process_one_work+0x1d6/0x4b0 [ 1318.272760] worker_thread+0x1c1/0x3d0 [ 1318.273119] ? __pfx_worker_thread+0x10/0x10 [ 1318.273508] kthread+0xda/0x110 [ 1318.273806] ? __pfx_kthread+0x10/0x10 [ 1318.274105] ret_from_fork+0x31/0x50 [ 1318.274458] ? __pfx_kthread+0x10/0x10 [ 1318.274847] ret_from_fork_asm+0x1b/0x30 [ 1318.275159] [ 1318.275379] irq event stamp: 1265677 [ 1318.275711] hardirqs last enabled at (1265687): [] console_unlock+0x10d/0x130 [ 1318.276275] hardirqs last disabled at (1265698): [] console_unlock+0xf2/0x130 [ 1318.276749] softirqs last enabled at (1265344): [] __do_softirq+0x2c2/0x37a [ 1318.277244] softirqs last disabled at (1265335): [] irq_exit_rcu+0x7f/0xa0 [ 1318.278044] ---[ end trace 0000000000000000 ]--- [ 1318.278302] ------------[ cut here ]------------ [ 1318.278560] sysfs group 'bridge' not found for kobject 'br0' [ 1318.278876] WARNING: CPU: 0 PID: 68 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90 [ 1318.279345] Modules linked in: xt_conntrack nf_conntrack nf_defrag_ipv4 nf_defrag_ipv6 nft_compat nf_tables libcrc32c vxlan ip6_udp_tunnel udp_tunnel mpls_iptunnel mpls_router [ 1318.280265] CPU: 0 PID: 68 Comm: kworker/u8:1 Tainted: G W 6.8.0-rc2-virtme #1 [ 1318.280751] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 1318.281386] Workqueue: netns cleanup_net [ 1318.281647] RIP: 0010:sysfs_remove_group+0x75/0x90 [ 1318.281970] Code: 48 89 ef 5d 41 5c e9 7a ad ff ff 48 89 ef e8 12 9b ff ff eb d1 90 49 8b 14 24 48 8b 33 48 c7 c7 a0 cd 12 9f e8 ac 67 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 [ 1318.282930] RSP: 0018:ffffbcdb40263d70 EFLAGS: 00010286 [ 1318.283278] RAX: 0000000000000000 RBX: ffffffff9ed472c0 RCX: 00000000ffffdfff [ 1318.283686] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 1318.284130] RBP: 0000000000000000 R08: ffffffff9f578508 R09: 00000000ffffdfff [ 1318.284536] R10: ffffffff9f498520 R11: ffffffff9f548520 R12: ffff9e364290a610 [ 1318.284929] R13: ffffbcdb40263e08 R14: ffff9e364290ab80 R15: ffff9e3643c45c50 [ 1318.285372] FS: 0000000000000000(0000) GS:ffff9e367ec00000(0000) knlGS:0000000000000000 [ 1318.285885] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1318.286237] CR2: 00007f54d103f000 CR3: 000000000f460004 CR4: 0000000000770ef0 [ 1318.286649] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 1318.287054] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 1318.287461] PKRU: 55555554 [ 1318.287669] Call Trace: [ 1318.287848] [ 1318.288008] ? __warn+0x84/0x170 [ 1318.288245] ? sysfs_remove_group+0x75/0x90 [ 1318.288509] ? report_bug+0x199/0x1b0 [ 1318.288755] ? handle_bug+0x3d/0x70 [ 1318.288984] ? exc_invalid_op+0x18/0x70 [ 1318.289207] ? asm_exc_invalid_op+0x1a/0x20 [ 1318.289434] ? sysfs_remove_group+0x75/0x90 [ 1318.289695] br_dev_delete+0x88/0xa0 [ 1318.289959] br_net_exit_batch_rtnl+0x70/0xd0 [ 1318.290249] cleanup_net+0x24e/0x400 [ 1318.290463] ? process_one_work+0x16c/0x4b0 [ 1318.290685] process_one_work+0x1d6/0x4b0 [ 1318.290904] worker_thread+0x1c1/0x3d0 [ 1318.291104] ? __pfx_worker_thread+0x10/0x10 [ 1318.291388] kthread+0xda/0x110 [ 1318.291661] ? __pfx_kthread+0x10/0x10 [ 1318.291884] ret_from_fork+0x31/0x50 [ 1318.292111] ? __pfx_kthread+0x10/0x10 [ 1318.292356] ret_from_fork_asm+0x1b/0x30 [ 1318.292608] [ 1318.292791] irq event stamp: 1266517 [ 1318.293050] hardirqs last enabled at (1266531): [] console_unlock+0x10d/0x130 [ 1318.293539] hardirqs last disabled at (1266542): [] console_unlock+0xf2/0x130 [ 1318.294008] softirqs last enabled at (1266030): [] __do_softirq+0x2c2/0x37a [ 1318.294493] softirqs last disabled at (1266005): [] irq_exit_rcu+0x7f/0xa0 [ 1318.295025] ---[ end trace 0000000000000000 ]--- [ 1319.116119] eth1: renamed from tmp [ 1319.372103] eth2: renamed from tmp # TEST: IPV4 traceroute [ OK ] # # Tests passed: 2 # Tests failed: 0 ok 1 selftests: net: traceroute.sh make[1]: Leaving directory '/home/virtme/testing-1/tools/testing/selftests/net' make: Leaving directory '/home/virtme/testing-1/tools/testing/selftests' xx__-> echo $? 0 xx__->