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 [ 158.097062] gre: GRE over IPv4 demultiplexor driver [ 158.099652] ip_gre: GRE over IPv4 tunneling driver # PASS: gre tunnel endpoint # PASS: gretap [ 158.521080] ip6_gre: GRE over IPv6 tunneling driver [ 158.551029] ip6_tunnel: ip6gretap00 xmit: Local address not yet configured! # PASS: ip6gretap # PASS: erspan [ 158.987982] ip6_tunnel: ip6erspan00 xmit: Local address not yet configured! [ 159.049042] ip6_tunnel: ip6erspan00 xmit: Local address not yet configured! # PASS: ip6erspan [ 159.147671] test-br0: port 1(test-dummy0) entered blocking state [ 159.148234] test-br0: port 1(test-dummy0) entered disabled state [ 159.148728] test-dummy0: entered allmulticast mode [ 159.149268] test-dummy0: entered promiscuous mode [ 159.162971] test-br0: port 1(test-dummy0) entered blocking state [ 159.163321] test-br0: port 1(test-dummy0) entered forwarding state [ 159.419106] test-dummy0: left allmulticast mode [ 159.419472] test-dummy0: left promiscuous mode [ 159.419787] test-br0: port 1(test-dummy0) entered disabled state # PASS: bridge setup # PASS: ipv6 addrlabel # PASS: set ifalias e6e01cbe-0f16-4fbf-9cac-3de874e4ef5e for test-dummy0 # PASS: vrf [ 170.967954] MACsec IEEE 802.1AE # PASS: macsec [ 171.159451] netdevsim netdevsim0 eni0np1: renamed from eth0 # PASS: macsec_offload [ 171.580333] Initializing XFRM netlink socket # PASS: ipsec [ 172.148802] netdevsim netdevsim0 eni0np1: renamed from eth0 # PASS: ipsec_offload [ 173.629444] test-br0: port 1(vxlan10) entered blocking state [ 173.629782] test-br0: port 1(vxlan10) entered disabled state [ 173.630096] vxlan10: entered allmulticast mode [ 173.630399] vxlan10: entered promiscuous mode # PASS: bridge fdb get [ 173.731986] vxlan10: left allmulticast mode [ 173.732490] vxlan10: left promiscuous mode [ 173.732918] test-br0: port 1(vxlan10) entered disabled state [ 173.745523] ------------[ cut here ]------------ [ 173.745804] refcount_t: underflow; use-after-free. [ 173.746095] WARNING: CPU: 1 PID: 67 at lib/refcount.c:28 refcount_warn_saturate+0xd0/0x130 [ 173.746536] Modules linked in: xfrm_user psample macsec fou vxlan ip6_udp_tunnel udp_tunnel ip6_gre ip_gre gre sch_htb act_mirred cls_u32 sch_ingress ifb [last unloaded: netdevsim] [ 173.747390] CPU: 1 PID: 67 Comm: kworker/u8:1 Not tainted 6.8.0-rc2-virtme #1 [ 173.747759] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 173.748344] Workqueue: netns cleanup_net [ 173.748580] RIP: 0010:refcount_warn_saturate+0xd0/0x130 [ 173.748847] 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 73 aa 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 [ 173.749807] RSP: 0018:ffffbadc4025bd78 EFLAGS: 00010286 [ 173.750088] RAX: 0000000000000000 RBX: ffff9b82036b8000 RCX: 00000000ffffdfff [ 173.750448] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 173.750834] RBP: ffff9b82036b8610 R08: ffffffffaab78508 R09: 00000000ffffdfff [ 173.751200] R10: ffffffffaaa98520 R11: ffffffffaab48520 R12: ffff9b82036b8000 [ 173.751558] R13: ffffbadc4025be08 R14: ffff9b82036b8b80 R15: ffffffffac078f90 [ 173.751937] FS: 0000000000000000(0000) GS:ffff9b823ec80000(0000) knlGS:0000000000000000 [ 173.752364] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 173.752657] CR2: 00007ffe0fdd4d68 CR3: 000000000269a006 CR4: 0000000000770ef0 [ 173.753026] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 173.753416] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 173.753776] PKRU: 55555554 [ 173.753919] Call Trace: [ 173.754060] [ 173.754178] ? __warn+0x84/0x170 [ 173.754378] ? refcount_warn_saturate+0xd0/0x130 [ 173.754620] ? report_bug+0x199/0x1b0 [ 173.754816] ? handle_bug+0x3d/0x70 [ 173.755010] ? exc_invalid_op+0x18/0x70 [ 173.755211] ? asm_exc_invalid_op+0x1a/0x20 [ 173.755473] ? refcount_warn_saturate+0xd0/0x130 [ 173.755719] ? refcount_warn_saturate+0xcf/0x130 [ 173.755964] br_sysfs_delbr+0x1d/0x40 [ 173.756162] br_dev_delete+0x88/0xa0 [ 173.756354] br_net_exit_batch_rtnl+0x70/0xd0 [ 173.756610] cleanup_net+0x24e/0x400 [ 173.756803] ? process_one_work+0x16c/0x4b0 [ 173.757032] process_one_work+0x1d6/0x4b0 [ 173.757245] worker_thread+0x1c1/0x3d0 [ 173.757443] ? __pfx_worker_thread+0x10/0x10 [ 173.757668] kthread+0xda/0x110 [ 173.757861] ? __pfx_kthread+0x10/0x10 [ 173.758068] ret_from_fork+0x31/0x50 [ 173.758259] ? __pfx_kthread+0x10/0x10 [ 173.758457] ret_from_fork_asm+0x1b/0x30 [ 173.758671] [ 173.758791] irq event stamp: 372963 [ 173.759005] hardirqs last enabled at (372975): [] console_unlock+0x10d/0x130 [ 173.759451] hardirqs last disabled at (372984): [] console_unlock+0xf2/0x130 [ 173.759885] softirqs last enabled at (372652): [] __do_softirq+0x2c2/0x37a [ 173.760349] softirqs last disabled at (372647): [] irq_exit_rcu+0x7f/0xa0 [ 173.760771] ---[ end trace 0000000000000000 ]--- [ 173.761026] ------------[ cut here ]------------ [ 173.761296] sysfs group 'bridge' not found for kobject 'test-br0' [ 173.761624] WARNING: CPU: 1 PID: 67 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90 [ 173.762045] Modules linked in: xfrm_user psample macsec fou vxlan ip6_udp_tunnel udp_tunnel ip6_gre ip_gre gre sch_htb act_mirred cls_u32 sch_ingress ifb [last unloaded: netdevsim] [ 173.762885] CPU: 1 PID: 67 Comm: kworker/u8:1 Tainted: G W 6.8.0-rc2-virtme #1 [ 173.763326] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 173.763934] Workqueue: netns cleanup_net [ 173.764155] RIP: 0010:sysfs_remove_group+0x75/0x90 [ 173.764403] 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 72 aa 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 [ 173.765356] RSP: 0018:ffffbadc4025bd70 EFLAGS: 00010286 [ 173.765637] RAX: 0000000000000000 RBX: ffffffffaa3472c0 RCX: 00000000ffffdfff [ 173.766031] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 173.766390] RBP: 0000000000000000 R08: ffffffffaab78508 R09: 00000000ffffdfff [ 173.766750] R10: ffffffffaaa98520 R11: ffffffffaab48520 R12: ffff9b82036b8610 [ 173.767143] R13: ffffbadc4025be08 R14: ffff9b82036b8b80 R15: ffffffffac078f90 [ 173.767503] FS: 0000000000000000(0000) GS:ffff9b823ec80000(0000) knlGS:0000000000000000 [ 173.767914] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 173.768238] CR2: 00007ffe0fdd4d68 CR3: 000000000269a006 CR4: 0000000000770ef0 [ 173.768604] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 173.768974] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 173.769336] PKRU: 55555554 [ 173.769505] Call Trace: [ 173.769640] [ 173.769757] ? __warn+0x84/0x170 [ 173.769931] ? sysfs_remove_group+0x75/0x90 [ 173.770157] ? report_bug+0x199/0x1b0 [ 173.770353] ? handle_bug+0x3d/0x70 [ 173.770563] ? exc_invalid_op+0x18/0x70 [ 173.770767] ? asm_exc_invalid_op+0x1a/0x20 [ 173.770999] ? sysfs_remove_group+0x75/0x90 [ 173.771217] br_dev_delete+0x88/0xa0 [ 173.771410] br_net_exit_batch_rtnl+0x70/0xd0 [ 173.771643] cleanup_net+0x24e/0x400 [ 173.771860] ? process_one_work+0x16c/0x4b0 [ 173.772087] process_one_work+0x1d6/0x4b0 [ 173.772301] worker_thread+0x1c1/0x3d0 [ 173.772498] ? __pfx_worker_thread+0x10/0x10 [ 173.772721] kthread+0xda/0x110 [ 173.772913] ? __pfx_kthread+0x10/0x10 [ 173.773118] ret_from_fork+0x31/0x50 [ 173.773311] ? __pfx_kthread+0x10/0x10 [ 173.773508] ret_from_fork_asm+0x1b/0x30 [ 173.773726] [ 173.773846] irq event stamp: 373597 [ 173.774059] hardirqs last enabled at (373609): [] console_unlock+0x10d/0x130 [ 173.774502] hardirqs last disabled at (373618): [] console_unlock+0xf2/0x130 [ 173.774935] softirqs last enabled at (372652): [] __do_softirq+0x2c2/0x37a [ 173.775398] softirqs last disabled at (372647): [] irq_exit_rcu+0x7f/0xa0 [ 173.775826] ---[ end trace 0000000000000000 ]--- # PASS: neigh get [ 173.986626] netdevsim netdevsim10 eni10np1: renamed from eth0 [ 174.087838] netdevsim netdevsim20 eni20np1: renamed from eth1 [ 174.206640] test-bond0: (slave eni10np1): Enslaving as a backup interface with an up link [ 174.226176] test-bond0: (slave eni20np1): Enslaving as a backup interface with an up link [ 174.255004] test-br0: port 1(test-bond0) entered blocking state [ 174.255542] test-br0: port 1(test-bond0) entered disabled state [ 174.256085] test-bond0: entered allmulticast mode [ 174.256458] netdevsim netdevsim10 eni10np1: entered allmulticast mode [ 174.257009] netdevsim netdevsim20 eni20np1: entered allmulticast mode [ 174.257711] test-bond0: entered promiscuous mode [ 174.258093] netdevsim netdevsim10 eni10np1: entered promiscuous mode [ 174.258428] netdevsim netdevsim20 eni20np1: entered promiscuous mode [ 174.271579] test-bond0: left allmulticast mode [ 174.271836] netdevsim netdevsim10 eni10np1: left allmulticast mode [ 174.272199] netdevsim netdevsim20 eni20np1: left allmulticast mode [ 174.272517] test-bond0: left promiscuous mode [ 174.272742] netdevsim netdevsim10 eni10np1: left promiscuous mode [ 174.273069] netdevsim netdevsim20 eni20np1: left promiscuous mode [ 174.273408] test-br0: port 1(test-bond0) entered disabled state [ 174.313394] test-bond0 (unregistering): (slave eni10np1): Releasing backup interface [ 174.322177] test-bond0 (unregistering): (slave eni20np1): Releasing backup interface [ 174.328049] test-bond0 (unregistering): Released all slaves # PASS: bridge_parent_id # PASS: address proto IPv4 # PASS: address proto IPv6 [ 175.341520] bond123: (slave test-dummy0): Enslaving as an active interface with an up link # PASS: enslave interface in a bond [ 175.370229] bond123 (unregistering): (slave test-dummy0): Releasing backup interface ok 1 selftests: net: rtnetlink.sh [ 175.380398] bond123 (unregistering): Released all slaves 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__->