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 [ 89.346942] eth3: renamed from tmp [ 89.553937] eth2: renamed from tmp [ 89.840924] eth0: renamed from tmp [ 89.923881] br0: port 1(eth0) entered blocking state [ 89.924244] br0: port 1(eth0) entered disabled state [ 89.924518] eth0: entered allmulticast mode [ 89.924827] eth0: entered promiscuous mode [ 89.925272] br0: port 1(eth0) entered blocking state [ 89.925544] br0: port 1(eth0) entered forwarding state [ 90.039968] eth1: renamed from tmp [ 90.128048] br0: port 2(eth1) entered blocking state [ 90.128360] br0: port 2(eth1) entered disabled state [ 90.128640] eth1: entered allmulticast mode [ 90.128965] eth1: entered promiscuous mode [ 90.129430] br0: port 2(eth1) entered blocking state [ 90.129710] br0: port 2(eth1) entered forwarding state # TEST: IPV6 traceroute [ OK ] [ 94.294305] br0: port 1(eth0) entered disabled state [ 94.296620] eth0 (unregistering): left allmulticast mode [ 94.297545] eth0 (unregistering): left promiscuous mode [ 94.298315] br0: port 1(eth0) entered disabled state [ 94.432819] eth1: left allmulticast mode [ 94.433232] eth1: left promiscuous mode [ 94.433602] br0: port 2(eth1) entered disabled state [ 94.441116] ------------[ cut here ]------------ [ 94.441981] refcount_t: underflow; use-after-free. [ 94.442850] WARNING: CPU: 1 PID: 68 at lib/refcount.c:28 refcount_warn_saturate+0xd0/0x130 [ 94.444283] Modules linked in: xt_length nft_compat nf_tables act_ct nf_flow_table nf_nat nf_conntrack libcrc32c nf_defrag_ipv6 nf_defrag_ipv4 cls_flower cls_bpf sch_ingress [ 94.445806] CPU: 1 PID: 68 Comm: kworker/u8:1 Not tainted 6.8.0-rc2-virtme #1 [ 94.446364] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 94.447600] Workqueue: netns cleanup_net [ 94.447917] RIP: 0010:refcount_warn_saturate+0xd0/0x130 [ 94.448452] 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 e8 37 b3 a6 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 [ 94.450743] RSP: 0000:ffffb46200263d78 EFLAGS: 00010286 [ 94.451374] RAX: 0000000000000000 RBX: ffff8f8943828000 RCX: 00000000ffffdfff [ 94.452273] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 94.453156] RBP: ffff8f8943828610 R08: ffffffffa6f78508 R09: 00000000ffffdfff [ 94.453982] R10: ffffffffa6e98520 R11: ffffffffa6f48520 R12: ffff8f8943828000 [ 94.454871] R13: ffffb46200263e08 R14: ffff8f8943828b80 R15: ffffffffa8478f90 [ 94.455793] FS: 0000000000000000(0000) GS:ffff8f897ec80000(0000) knlGS:0000000000000000 [ 94.456897] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 94.457594] CR2: 00007f2fa3970980 CR3: 000000000cc60001 CR4: 0000000000770ef0 [ 94.458488] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 94.459464] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 94.460294] PKRU: 55555554 [ 94.460652] Call Trace: [ 94.460982] [ 94.461294] ? __warn+0x84/0x170 [ 94.461626] ? refcount_warn_saturate+0xd0/0x130 [ 94.462036] ? report_bug+0x199/0x1b0 [ 94.462380] ? handle_bug+0x3d/0x70 [ 94.462740] ? exc_invalid_op+0x18/0x70 [ 94.463180] ? asm_exc_invalid_op+0x1a/0x20 [ 94.463526] ? refcount_warn_saturate+0xd0/0x130 [ 94.463941] ? refcount_warn_saturate+0xcf/0x130 [ 94.464524] br_sysfs_delbr+0x1d/0x40 [ 94.464837] br_dev_delete+0x88/0xa0 [ 94.465255] br_net_exit_batch_rtnl+0x70/0xd0 [ 94.465894] cleanup_net+0x24e/0x400 [ 94.466411] ? process_one_work+0x16c/0x4b0 [ 94.466999] process_one_work+0x1d6/0x4b0 [ 94.467538] worker_thread+0x1c1/0x3d0 [ 94.468099] ? __pfx_worker_thread+0x10/0x10 [ 94.468767] kthread+0xda/0x110 [ 94.469270] ? __pfx_kthread+0x10/0x10 [ 94.469824] ret_from_fork+0x31/0x50 [ 94.470404] ? __pfx_kthread+0x10/0x10 [ 94.470934] ret_from_fork_asm+0x1b/0x30 [ 94.471427] [ 94.471677] irq event stamp: 427613 [ 94.472158] hardirqs last enabled at (427625): [] console_unlock+0x10d/0x130 [ 94.473233] hardirqs last disabled at (427636): [] console_unlock+0xf2/0x130 [ 94.474248] softirqs last enabled at (427138): [] __do_softirq+0x2c2/0x37a [ 94.474949] softirqs last disabled at (427133): [] irq_exit_rcu+0x7f/0xa0 [ 94.475778] ---[ end trace 0000000000000000 ]--- [ 94.476167] ------------[ cut here ]------------ [ 94.476434] sysfs group 'bridge' not found for kobject 'br0' [ 94.476889] WARNING: CPU: 3 PID: 68 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90 [ 94.477694] Modules linked in: xt_length nft_compat nf_tables act_ct nf_flow_table nf_nat nf_conntrack libcrc32c nf_defrag_ipv6 nf_defrag_ipv4 cls_flower cls_bpf sch_ingress [ 94.479479] CPU: 3 PID: 68 Comm: kworker/u8:1 Tainted: G W 6.8.0-rc2-virtme #1 [ 94.480576] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 94.482015] Workqueue: netns cleanup_net [ 94.482552] RIP: 0010:sysfs_remove_group+0x75/0x90 [ 94.483249] 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 d0 cd b2 a6 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 [ 94.485777] RSP: 0018:ffffb46200263d70 EFLAGS: 00010286 [ 94.486510] RAX: 0000000000000000 RBX: ffffffffa67472c0 RCX: 00000000ffffdfff [ 94.487277] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 94.487992] RBP: 0000000000000000 R08: ffffffffa6f78508 R09: 00000000ffffdfff [ 94.488623] R10: ffffffffa6e98520 R11: ffffffffa6f48520 R12: ffff8f8943828610 [ 94.489283] R13: ffffb46200263e08 R14: ffff8f8943828b80 R15: ffffffffa8478f90 [ 94.489930] FS: 0000000000000000(0000) GS:ffff8f897ed80000(0000) knlGS:0000000000000000 [ 94.490914] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 94.491479] CR2: 00007ffd182e7c48 CR3: 000000000cc60002 CR4: 0000000000770ef0 [ 94.492414] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 94.493315] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 94.494266] PKRU: 55555554 [ 94.494647] Call Trace: [ 94.495028] [ 94.495308] ? __warn+0x84/0x170 [ 94.495759] ? sysfs_remove_group+0x75/0x90 [ 94.496323] ? report_bug+0x199/0x1b0 [ 94.496831] ? handle_bug+0x3d/0x70 [ 94.497274] ? exc_invalid_op+0x18/0x70 [ 94.497768] ? asm_exc_invalid_op+0x1a/0x20 [ 94.498376] ? sysfs_remove_group+0x75/0x90 [ 94.498911] br_dev_delete+0x88/0xa0 [ 94.499373] br_net_exit_batch_rtnl+0x70/0xd0 [ 94.499917] cleanup_net+0x24e/0x400 [ 94.500361] ? process_one_work+0x16c/0x4b0 [ 94.500889] process_one_work+0x1d6/0x4b0 [ 94.501420] worker_thread+0x1c1/0x3d0 [ 94.501865] ? __pfx_worker_thread+0x10/0x10 [ 94.502429] kthread+0xda/0x110 [ 94.502846] ? __pfx_kthread+0x10/0x10 [ 94.503191] ret_from_fork+0x31/0x50 [ 94.503547] ? __pfx_kthread+0x10/0x10 [ 94.503928] ret_from_fork_asm+0x1b/0x30 [ 94.504313] [ 94.504632] irq event stamp: 428279 [ 94.505021] hardirqs last enabled at (428291): [] console_unlock+0x10d/0x130 [ 94.505796] hardirqs last disabled at (428302): [] console_unlock+0xf2/0x130 [ 94.506894] softirqs last enabled at (427822): [] __do_softirq+0x2c2/0x37a [ 94.507852] softirqs last disabled at (427817): [] irq_exit_rcu+0x7f/0xa0 [ 94.509118] ---[ end trace 0000000000000000 ]--- [ 95.288035] eth1: renamed from tmp [ 95.559947] 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__->