make -C tools/testing/selftests TARGETS=net TEST_PROGS=rtnetlink.sh TEST_GGEN_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: rtnetlink.sh
# PASS: policy routing
# PASS: route get
# PASS: preferred_lft addresses have expired
# PASS: promote_secondaries complete
# PASS: tc htb hierarchy
[ 156.961431] gre: GRE over IPv4 demultiplexor driver
[ 156.963972] ip_gre: GRE over IPv4 tunneling driver
# PASS: gre tunnel endpoint
# PASS: gretap
[ 157.454083] ip6_gre: GRE over IPv6 tunneling driver
[ 157.494914] ip6_tunnel: ip6gretap00 xmit: Local address not yet configured!
# PASS: ip6gretap
# PASS: erspan
[ 158.005862] ip6_tunnel: ip6erspan00 xmit: Local address not yet configured!
[ 158.088287] ip6_tunnel: ip6erspan00 xmit: Local address not yet configured!
# PASS: ip6erspan
[ 158.207022] test-br0: port 1(test-dummy0) entered blocking state
[ 158.207967] test-br0: port 1(test-dummy0) entered disabled state
[ 158.208822] test-dummy0: entered allmulticast mode
[ 158.209456] test-dummy0: entered promiscuous mode
[ 158.225057] test-br0: port 1(test-dummy0) entered blocking state
[ 158.225445] test-br0: port 1(test-dummy0) entered forwarding state
[ 158.490678] test-dummy0: left allmulticast mode
[ 158.491088] test-dummy0: left promiscuous mode
[ 158.491356] test-br0: port 1(test-dummy0) entered disabled state
# PASS: bridge setup
# PASS: ipv6 addrlabel
# PASS: set ifalias 3ecda47e-3b4c-4b2d-bf1f-431fe3bf770f for test-dummy0
# PASS: vrf
[ 171.239290] MACsec IEEE 802.1AE
# PASS: macsec
[ 171.414822] netdevsim netdevsim0 eni0np1: renamed from eth0
# PASS: macsec_offload
[ 171.910986] Initializing XFRM netlink socket
# PASS: ipsec
[ 172.533977] netdevsim netdevsim0 eni0np1: renamed from eth0
# PASS: ipsec_offload
[ 174.029252] test-br0: port 1(vxlan10) entered blocking state
[ 174.029578] test-br0: port 1(vxlan10) entered disabled state
[ 174.029915] vxlan10: entered allmulticast mode
[ 174.030245] vxlan10: entered promiscuous mode
# PASS: bridge fdb get
[ 174.132966] vxlan10: left allmulticast mode
[ 174.133405] vxlan10: left promiscuous mode
[ 174.133758] test-br0: port 1(vxlan10) entered disabled state
[ 174.152220] ------------[ cut here ]------------
[ 174.152494] refcount_t: underflow; use-after-free.
[ 174.152759] WARNING: CPU: 1 PID: 68 at lib/refcount.c:28 refcount_warn_saturate+0xd0/0x130
[ 174.153194] Modules linked in: xfrm_user psample macsec fou ip6_gre ip_gre gre sch_htb vxlan ip6_udp_tunnel udp_tunnel nft_chain_nat xt_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nft_compat nf_tables libcrc32c act_mirred cls_u32 sch_ingress ifb poly1305_generic libpoly1305 chacha_generic libchacha chacha20poly1305 tls [last unloaded: netdevsim]
[ 174.154780] CPU: 1 PID: 68 Comm: kworker/u8:1 Not tainted 6.8.0-rc2-virtme #1
[ 174.155156] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 174.155732] Workqueue: netns cleanup_net
[ 174.155946] RIP: 0010:refcount_warn_saturate+0xd0/0x130
[ 174.156214] 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 33 93 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
[ 174.157163] RSP: 0018:ffffc114c0263d78 EFLAGS: 00010286
[ 174.157433] RAX: 0000000000000000 RBX: ffff9e61c29ee000 RCX: 00000000ffffdfff
[ 174.157817] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001
[ 174.158178] RBP: ffff9e61c29ee610 R08: ffffffff93778508 R09: 00000000ffffdfff
[ 174.158538] R10: ffffffff93698520 R11: ffffffff93748520 R12: ffff9e61c29ee000
[ 174.158904] R13: ffffc114c0263e08 R14: ffff9e61c29eeb80 R15: ffffffff94c78f90
[ 174.159266] FS: 0000000000000000(0000) GS:ffff9e61fec80000(0000) knlGS:0000000000000000
[ 174.159674] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 174.159971] CR2: 000055b4c6308dec CR3: 00000000049b4003 CR4: 0000000000770ef0
[ 174.160331] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 174.160692] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 174.161063] PKRU: 55555554
[ 174.161207] Call Trace:
[ 174.161342]
[ 174.161458] ? __warn+0x84/0x170
[ 174.161633] ? refcount_warn_saturate+0xd0/0x130
[ 174.161880] ? report_bug+0x199/0x1b0
[ 174.162075] ? handle_bug+0x3d/0x70
[ 174.162262] ? exc_invalid_op+0x18/0x70
[ 174.162461] ? asm_exc_invalid_op+0x1a/0x20
[ 174.162685] ? refcount_warn_saturate+0xd0/0x130
[ 174.162930] ? refcount_warn_saturate+0xcf/0x130
[ 174.163169] br_sysfs_delbr+0x1d/0x40
[ 174.163363] br_dev_delete+0x88/0xa0
[ 174.163554] br_net_exit_batch_rtnl+0x70/0xd0
[ 174.163783] cleanup_net+0x24e/0x400
[ 174.163979] ? process_one_work+0x16c/0x4b0
[ 174.164199] process_one_work+0x1d6/0x4b0
[ 174.164411] worker_thread+0x1c1/0x3d0
[ 174.164608] ? __pfx_worker_thread+0x10/0x10
[ 174.164840] kthread+0xda/0x110
[ 174.165009] ? __pfx_kthread+0x10/0x10
[ 174.165207] ret_from_fork+0x31/0x50
[ 174.165398] ? __pfx_kthread+0x10/0x10
[ 174.165594] ret_from_fork_asm+0x1b/0x30
[ 174.165811]
[ 174.165931] irq event stamp: 465187
[ 174.166114] hardirqs last enabled at (465197): [] console_unlock+0x10d/0x130
[ 174.166556] hardirqs last disabled at (465206): [] console_unlock+0xf2/0x130
[ 174.167025] softirqs last enabled at (464922): [] __do_softirq+0x2c2/0x37a
[ 174.167456] softirqs last disabled at (464917): [] irq_exit_rcu+0x7f/0xa0
[ 174.167881] ---[ end trace 0000000000000000 ]---
[ 174.168137] ------------[ cut here ]------------
[ 174.168380] sysfs group 'bridge' not found for kobject 'test-br0'
[ 174.168707] WARNING: CPU: 1 PID: 68 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90
[ 174.169128] Modules linked in: xfrm_user psample macsec fou ip6_gre ip_gre gre sch_htb vxlan ip6_udp_tunnel udp_tunnel nft_chain_nat xt_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nft_compat nf_tables libcrc32c act_mirred cls_u32 sch_ingress ifb poly1305_generic libpoly1305 chacha_generic libchacha chacha20poly1305 tls [last unloaded: netdevsim]
[ 174.170702] CPU: 1 PID: 68 Comm: kworker/u8:1 Tainted: G W 6.8.0-rc2-virtme #1
[ 174.171144] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 174.171731] Workqueue: netns cleanup_net
[ 174.171943] RIP: 0010:sysfs_remove_group+0x75/0x90
[ 174.172192] 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 32 93 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
[ 174.173121] RSP: 0018:ffffc114c0263d70 EFLAGS: 00010286
[ 174.173391] RAX: 0000000000000000 RBX: ffffffff92f472c0 RCX: 00000000ffffdfff
[ 174.173750] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001
[ 174.174116] RBP: 0000000000000000 R08: ffffffff93778508 R09: 00000000ffffdfff
[ 174.174476] R10: ffffffff93698520 R11: ffffffff93748520 R12: ffff9e61c29ee610
[ 174.174843] R13: ffffc114c0263e08 R14: ffff9e61c29eeb80 R15: ffffffff94c78f90
[ 174.175204] FS: 0000000000000000(0000) GS:ffff9e61fec80000(0000) knlGS:0000000000000000
[ 174.175610] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 174.175910] CR2: 000055b4c6308dec CR3: 00000000049b4003 CR4: 0000000000770ef0
[ 174.176273] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 174.176637] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 174.177014] PKRU: 55555554
[ 174.177159] Call Trace:
[ 174.177292]
[ 174.177409] ? __warn+0x84/0x170
[ 174.177582] ? sysfs_remove_group+0x75/0x90
[ 174.177807] ? report_bug+0x199/0x1b0
[ 174.178002] ? handle_bug+0x3d/0x70
[ 174.178188] ? exc_invalid_op+0x18/0x70
[ 174.178388] ? asm_exc_invalid_op+0x1a/0x20
[ 174.178612] ? sysfs_remove_group+0x75/0x90
[ 174.178835] br_dev_delete+0x88/0xa0
[ 174.179026] br_net_exit_batch_rtnl+0x70/0xd0
[ 174.179257] cleanup_net+0x24e/0x400
[ 174.179449] ? process_one_work+0x16c/0x4b0
[ 174.179665] process_one_work+0x1d6/0x4b0
[ 174.179884] worker_thread+0x1c1/0x3d0
[ 174.180083] ? __pfx_worker_thread+0x10/0x10
[ 174.180307] kthread+0xda/0x110
[ 174.180474] ? __pfx_kthread+0x10/0x10
[ 174.180669] ret_from_fork+0x31/0x50
[ 174.180866] ? __pfx_kthread+0x10/0x10
[ 174.181064] ret_from_fork_asm+0x1b/0x30
[ 174.181275]
[ 174.181396] irq event stamp: 465929
[ 174.181579] hardirqs last enabled at (465939): [] console_unlock+0x10d/0x130
[ 174.182024] hardirqs last disabled at (465950): [] console_unlock+0xf2/0x130
[ 174.182459] softirqs last enabled at (465500): [] __do_softirq+0x2c2/0x37a
[ 174.182894] softirqs last disabled at (465495): [] irq_exit_rcu+0x7f/0xa0
[ 174.183310] ---[ end trace 0000000000000000 ]---
# PASS: neigh get
[ 174.395154] netdevsim netdevsim10 eni10np1: renamed from eth0
[ 174.403130] netdevsim netdevsim20 eni20np1: renamed from eth1
[ 174.512269] test-bond0: (slave eni10np1): Enslaving as a backup interface with an up link
[ 174.526410] test-bond0: (slave eni20np1): Enslaving as a backup interface with an up link
[ 174.554494] test-br0: port 1(test-bond0) entered blocking state
[ 174.555095] test-br0: port 1(test-bond0) entered disabled state
[ 174.555622] test-bond0: entered allmulticast mode
[ 174.555982] netdevsim netdevsim10 eni10np1: entered allmulticast mode
[ 174.556320] netdevsim netdevsim20 eni20np1: entered allmulticast mode
[ 174.556865] test-bond0: entered promiscuous mode
[ 174.557132] netdevsim netdevsim10 eni10np1: entered promiscuous mode
[ 174.557488] netdevsim netdevsim20 eni20np1: entered promiscuous mode
[ 174.572056] test-bond0: left allmulticast mode
[ 174.572336] netdevsim netdevsim10 eni10np1: left allmulticast mode
[ 174.572699] netdevsim netdevsim20 eni20np1: left allmulticast mode
[ 174.573065] test-bond0: left promiscuous mode
[ 174.573293] netdevsim netdevsim10 eni10np1: left promiscuous mode
[ 174.573621] netdevsim netdevsim20 eni20np1: left promiscuous mode
[ 174.573958] test-br0: port 1(test-bond0) entered disabled state
[ 174.617391] test-bond0 (unregistering): (slave eni10np1): Releasing backup interface
[ 174.630048] test-bond0 (unregistering): (slave eni20np1): Releasing backup interface
[ 174.635940] test-bond0 (unregistering): Released all slaves
# PASS: bridge_parent_id
# PASS: address proto IPv4
# PASS: address proto IPv6
[ 175.692888] bond123: (slave test-dummy0): Enslaving as an active interface with an up link
# PASS: enslave interface in a bond
[ 175.722244] bond123 (unregistering): (slave test-dummy0): Releasing backup interface
[ 175.732628] bond123 (unregistering): Released all slaves
ok 1 selftests: net: rtnetlink.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__->