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
[ 134.541958] eth3: renamed from tmp
[ 134.741993] eth2: renamed from tmp
[ 135.025984] eth0: renamed from tmp
[ 135.114037] br0: port 1(eth0) entered blocking state
[ 135.114469] br0: port 1(eth0) entered disabled state
[ 135.114910] eth0: entered allmulticast mode
[ 135.115341] eth0: entered promiscuous mode
[ 135.115896] br0: port 1(eth0) entered blocking state
[ 135.116305] br0: port 1(eth0) entered forwarding state
[ 135.228955] eth1: renamed from tmp
[ 135.312096] br0: port 2(eth1) entered blocking state
[ 135.312513] br0: port 2(eth1) entered disabled state
[ 135.312941] eth1: entered allmulticast mode
[ 135.313402] eth1: entered promiscuous mode
[ 135.313927] br0: port 2(eth1) entered blocking state
[ 135.314295] br0: port 2(eth1) entered forwarding state
# TEST: IPV6 traceroute [ OK ]
[ 139.510578] br0: port 1(eth0) entered disabled state
[ 139.514008] eth0 (unregistering): left allmulticast mode
[ 139.514331] eth0 (unregistering): left promiscuous mode
[ 139.514602] br0: port 1(eth0) entered disabled state
[ 139.575838] eth1: left allmulticast mode
[ 139.576334] eth1: left promiscuous mode
[ 139.576719] br0: port 2(eth1) entered disabled state
[ 139.593094] ------------[ cut here ]------------
[ 139.593611] refcount_t: underflow; use-after-free.
[ 139.594068] WARNING: CPU: 3 PID: 69 at lib/refcount.c:28 refcount_warn_saturate+0xd0/0x130
[ 139.594933] 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 sch_ingress
[ 139.595898] CPU: 3 PID: 69 Comm: kworker/u8:1 Not tainted 6.8.0-rc2-virtme #1
[ 139.596280] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 139.596873] Workqueue: netns cleanup_net
[ 139.597082] RIP: 0010:refcount_warn_saturate+0xd0/0x130
[ 139.597364] 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 8c 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
[ 139.598325] RSP: 0018:ffffa14c8026bd78 EFLAGS: 00010286
[ 139.598610] RAX: 0000000000000000 RBX: ffff8c2e83560000 RCX: 00000000ffffdfff
[ 139.599041] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001
[ 139.599405] RBP: ffff8c2e83560610 R08: ffffffff8c578508 R09: 00000000ffffdfff
[ 139.599999] R10: ffffffff8c498520 R11: ffffffff8c548520 R12: ffff8c2e83560000
[ 139.600363] R13: ffffa14c8026be08 R14: ffff8c2e83560b80 R15: ffff8c2e82765c50
[ 139.600724] FS: 0000000000000000(0000) GS:ffff8c2ebed80000(0000) knlGS:0000000000000000
[ 139.601150] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 139.601447] CR2: 00007f30a26c6270 CR3: 000000001aa60005 CR4: 0000000000770ef0
[ 139.601817] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 139.602181] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 139.602550] PKRU: 55555554
[ 139.602696] Call Trace:
[ 139.602841]
[ 139.602967] ? __warn+0x84/0x170
[ 139.603141] ? refcount_warn_saturate+0xd0/0x130
[ 139.603387] ? report_bug+0x199/0x1b0
[ 139.603588] ? handle_bug+0x3d/0x70
[ 139.603774] ? exc_invalid_op+0x18/0x70
[ 139.603983] ? asm_exc_invalid_op+0x1a/0x20
[ 139.604214] ? refcount_warn_saturate+0xd0/0x130
[ 139.604461] ? refcount_warn_saturate+0xcf/0x130
[ 139.604706] br_sysfs_delbr+0x1d/0x40
[ 139.604914] br_dev_delete+0x88/0xa0
[ 139.605113] br_net_exit_batch_rtnl+0x70/0xd0
[ 139.605349] cleanup_net+0x24e/0x400
[ 139.605543] ? process_one_work+0x16c/0x4b0
[ 139.605768] process_one_work+0x1d6/0x4b0
[ 139.606008] worker_thread+0x1c1/0x3d0
[ 139.606244] ? __pfx_worker_thread+0x10/0x10
[ 139.606548] kthread+0xda/0x110
[ 139.606778] ? __pfx_kthread+0x10/0x10
[ 139.607061] ret_from_fork+0x31/0x50
[ 139.607327] ? __pfx_kthread+0x10/0x10
[ 139.607602] ret_from_fork_asm+0x1b/0x30
[ 139.607909]
[ 139.608078] irq event stamp: 676061
[ 139.608335] hardirqs last enabled at (676071): [] console_unlock+0x10d/0x130
[ 139.608963] hardirqs last disabled at (676082): [] console_unlock+0xf2/0x130
[ 139.609583] softirqs last enabled at (675610): [] __do_softirq+0x2c2/0x37a
[ 139.610174] softirqs last disabled at (675605): [] irq_exit_rcu+0x7f/0xa0
[ 139.610736] ---[ end trace 0000000000000000 ]---
[ 139.611082] ------------[ cut here ]------------
[ 139.611388] sysfs group 'bridge' not found for kobject 'br0'
[ 139.611907] WARNING: CPU: 3 PID: 69 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90
[ 139.612330] 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 sch_ingress
[ 139.613835] CPU: 3 PID: 69 Comm: kworker/u8:1 Tainted: G W 6.8.0-rc2-virtme #1
[ 139.614792] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 139.615638] Workqueue: netns cleanup_net
[ 139.616090] RIP: 0010:sysfs_remove_group+0x75/0x90
[ 139.616613] 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 8c 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
[ 139.618680] RSP: 0018:ffffa14c8026bd70 EFLAGS: 00010286
[ 139.619292] RAX: 0000000000000000 RBX: ffffffff8bd472c0 RCX: 00000000ffffdfff
[ 139.620056] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001
[ 139.620925] RBP: 0000000000000000 R08: ffffffff8c578508 R09: 00000000ffffdfff
[ 139.621782] R10: ffffffff8c498520 R11: ffffffff8c548520 R12: ffff8c2e83560610
[ 139.622261] R13: ffffa14c8026be08 R14: ffff8c2e83560b80 R15: ffff8c2e82765c50
[ 139.622709] FS: 0000000000000000(0000) GS:ffff8c2ebed80000(0000) knlGS:0000000000000000
[ 139.623140] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 139.623544] CR2: 00007f30a26c6270 CR3: 000000001aa60005 CR4: 0000000000770ef0
[ 139.624170] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 139.624681] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 139.625401] PKRU: 55555554
[ 139.625746] Call Trace:
[ 139.626035]
[ 139.626286] ? __warn+0x84/0x170
[ 139.626689] ? sysfs_remove_group+0x75/0x90
[ 139.627204] ? report_bug+0x199/0x1b0
[ 139.627667] ? handle_bug+0x3d/0x70
[ 139.628110] ? exc_invalid_op+0x18/0x70
[ 139.628497] ? asm_exc_invalid_op+0x1a/0x20
[ 139.628922] ? sysfs_remove_group+0x75/0x90
[ 139.629331] br_dev_delete+0x88/0xa0
[ 139.629694] br_net_exit_batch_rtnl+0x70/0xd0
[ 139.630115] cleanup_net+0x24e/0x400
[ 139.630440] ? process_one_work+0x16c/0x4b0
[ 139.630861] process_one_work+0x1d6/0x4b0
[ 139.631181] worker_thread+0x1c1/0x3d0
[ 139.631492] ? __pfx_worker_thread+0x10/0x10
[ 139.631867] kthread+0xda/0x110
[ 139.632127] ? __pfx_kthread+0x10/0x10
[ 139.632451] ret_from_fork+0x31/0x50
[ 139.632772] ? __pfx_kthread+0x10/0x10
[ 139.633076] ret_from_fork_asm+0x1b/0x30
[ 139.633441]
[ 139.633626] irq event stamp: 676709
[ 139.633963] hardirqs last enabled at (676721): [] console_unlock+0x10d/0x130
[ 139.634427] hardirqs last disabled at (676730): [] console_unlock+0xf2/0x130
[ 139.635086] softirqs last enabled at (676266): [] __do_softirq+0x2c2/0x37a
[ 139.635534] softirqs last disabled at (676257): [] irq_exit_rcu+0x7f/0xa0
[ 139.635975] ---[ end trace 0000000000000000 ]---
[ 140.379040] eth1: renamed from tmp
[ 140.616054] 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__->