make -C tools/testing/selftests TARGETS=net TEST_PROGS=amt.sh TEST_GEN_PROOGS="" 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: amt.sh
[ 1280.245814] br0: port 1(gw_l) entered blocking state
[ 1280.246188] br0: port 1(gw_l) entered disabled state
[ 1280.246460] gw_l: entered allmulticast mode
[ 1280.246773] gw_l: entered promiscuous mode
[ 1280.247276] br0: port 1(gw_l) entered blocking state
[ 1280.247555] br0: port 1(gw_l) entered forwarding state
[ 1280.324301] br0: port 2(amtg) entered blocking state
[ 1280.324600] br0: port 2(amtg) entered disabled state
[ 1280.324870] amtg: entered allmulticast mode
[ 1280.325225] amtg: entered promiscuous mode
[ 1280.598499] br0: port 2(amtg) entered blocking state
[ 1280.598884] br0: port 2(amtg) entered forwarding state
[ 1280.733822] amtr: entered allmulticast mode
[ 1280.734195] relay_gw: entered allmulticast mode
[ 1280.734471] relay_src: entered allmulticast mode
# smcroutectl: Cannot find IPC socket /usr/local/var/run/smcroute.sock
# smcroutectl: Daemon may be running with another -i NAME
[ 1280.777551] br0: port 1(gw_l) entered disabled state
[ 1280.779913] gw_l (unregistering): left allmulticast mode
[ 1280.780419] gw_l (unregistering): left promiscuous mode
[ 1280.780848] br0: port 1(gw_l) entered disabled state
ok 1 selftests: net: amt.sh # SKIP
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__-> [ 1280.834219] amtg: left allmulticast mode
[ 1280.834548] amtg: left promiscuous mode
[ 1280.834851] br0: port 2(amtg) entered disabled state
[ 1280.850551] ------------[ cut here ]------------
[ 1280.850923] refcount_t: underflow; use-after-free.
[ 1280.851329] WARNING: CPU: 1 PID: 69 at lib/refcount.c:28 refcount_warn_saturate+0xd0/0x130
[ 1280.851992] Modules linked in: xt_HL amt xfrm_user l2tp_ip6 l2tp_eth l2tp_ip l2tp_netlink l2tp_core nft_compat nf_tables libcrc32c vxlan ip6_udp_tunnel udp_tunnel mpls_iptunnel mpls_router
[ 1280.853306] CPU: 1 PID: 69 Comm: kworker/u8:1 Not tainted 6.8.0-rc2-virtme #1
[ 1280.853854] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 1280.854711] Workqueue: netns cleanup_net
[ 1280.855021] RIP: 0010:refcount_warn_saturate+0xd0/0x130
[ 1280.855441] 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 b0 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
[ 1280.856840] RSP: 0018:ffffb5664026bd78 EFLAGS: 00010286
[ 1280.857255] RAX: 0000000000000000 RBX: ffff97be82b48000 RCX: 00000000ffffdfff
[ 1280.857804] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001
[ 1280.858338] RBP: ffff97be82b48610 R08: ffffffffb0578508 R09: 00000000ffffdfff
[ 1280.858771] R10: ffffffffb0498520 R11: ffffffffb0548520 R12: ffff97be82b48000
[ 1280.859166] R13: ffffb5664026be08 R14: ffff97be82b48b80 R15: ffff97be86f32e50
[ 1280.859580] FS:  0000000000000000(0000) GS:ffff97bebec80000(0000) knlGS:0000000000000000
[ 1280.860013] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1280.860331] CR2: 00007f668decc8e8 CR3: 000000000fc60003 CR4: 0000000000770ef0
[ 1280.860701] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 1280.861086] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 1280.861470] PKRU: 55555554
[ 1280.861614] Call Trace:
[ 1280.861748]  <TASK>
[ 1280.861891]  ? __warn+0x84/0x170
[ 1280.862074]  ? refcount_warn_saturate+0xd0/0x130
[ 1280.862324]  ? report_bug+0x199/0x1b0
[ 1280.862536]  ? handle_bug+0x3d/0x70
[ 1280.862724]  ? exc_invalid_op+0x18/0x70
[ 1280.862941]  ? asm_exc_invalid_op+0x1a/0x20
[ 1280.863186]  ? refcount_warn_saturate+0xd0/0x130
[ 1280.863434]  ? refcount_warn_saturate+0xcf/0x130
[ 1280.863733]  br_sysfs_delbr+0x1d/0x40
[ 1280.863947]  br_dev_delete+0x88/0xa0
[ 1280.864164]  br_net_exit_batch_rtnl+0x70/0xd0
[ 1280.864400]  cleanup_net+0x24e/0x400
[ 1280.864593]  ? process_one_work+0x16c/0x4b0
[ 1280.864814]  process_one_work+0x1d6/0x4b0
[ 1280.865049]  worker_thread+0x1c1/0x3d0
[ 1280.865267]  ? __pfx_worker_thread+0x10/0x10
[ 1280.865512]  kthread+0xda/0x110
[ 1280.865682]  ? __pfx_kthread+0x10/0x10
[ 1280.865887]  ret_from_fork+0x31/0x50
[ 1280.866099]  ? __pfx_kthread+0x10/0x10
[ 1280.866314]  ret_from_fork_asm+0x1b/0x30
[ 1280.866526]  </TASK>
[ 1280.866662] irq event stamp: 1516425
[ 1280.866855] hardirqs last  enabled at (1516435): [<ffffffffaebd893d>] console_unlock+0x10d/0x130
[ 1280.867331] hardirqs last disabled at (1516446): [<ffffffffaebd8922>] console_unlock+0xf2/0x130
[ 1280.867807] softirqs last  enabled at (1516022): [<ffffffffaf8e27b2>] __do_softirq+0x2c2/0x37a
[ 1280.868321] softirqs last disabled at (1516017): [<ffffffffaeb4be1f>] irq_exit_rcu+0x7f/0xa0
[ 1280.868772] ---[ end trace 0000000000000000 ]---
[ 1280.869014] ------------[ cut here ]------------
[ 1280.869262] sysfs group 'bridge' not found for kobject 'br0'
[ 1280.869569] WARNING: CPU: 1 PID: 69 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90
[ 1280.869994] Modules linked in: xt_HL amt xfrm_user l2tp_ip6 l2tp_eth l2tp_ip l2tp_netlink l2tp_core nft_compat nf_tables libcrc32c vxlan ip6_udp_tunnel udp_tunnel mpls_iptunnel mpls_router

[ 1280.870978] CPU: 1 PID: 69 Comm: kworker/u8:1 Tainted: G        W          6.8.0-rc2-virtme #1
[ 1280.871416] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
xx__-> [ 1280.872011] Workqueue: netns cleanup_net

[ 1280.872414] RIP: 0010:sysfs_remove_group+0x75/0x90
[ 1280.872677] 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 b0 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
xx__-> [ 1280.873616] RSP: 0018:ffffb5664026bd70 EFLAGS: 00010286
[ 1280.873998] RAX: 0000000000000000 RBX: ffffffffafd472c0 RCX: 00000000ffffdfff
[ 1280.874370] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001
[ 1280.874741] RBP: 0000000000000000 R08: ffffffffb0578508 R09: 00000000ffffdfff
[ 1280.875116] R10: ffffffffb0498520 R11: ffffffffb0548520 R12: ffff97be82b48610
[ 1280.875482] R13: ffffb5664026be08 R14: ffff97be82b48b80 R15: ffff97be86f32e50
[ 1280.875853] FS:  0000000000000000(0000) GS:ffff97bebec80000(0000) knlGS:0000000000000000
[ 1280.876269] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1280.876570] CR2: 00007f668decc8e8 CR3: 000000000fc60003 CR4: 0000000000770ef0
[ 1280.876937] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 1280.877313] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 1280.877684] PKRU: 55555554
[ 1280.877828] Call Trace:
[ 1280.877960]  <TASK>
[ 1280.878092]  ? __warn+0x84/0x170
[ 1280.878275]  ? sysfs_remove_group+0x75/0x90
[ 1280.878505]  ? report_bug+0x199/0x1b0
[ 1280.878706]  ? handle_bug+0x3d/0x70
[ 1280.878914]  ? exc_invalid_op+0x18/0x70
[ 1280.879135]  ? asm_exc_invalid_op+0x1a/0x20
[ 1280.879378]  ? sysfs_remove_group+0x75/0x90
[ 1280.879618]  br_dev_delete+0x88/0xa0
[ 1280.879820]  br_net_exit_batch_rtnl+0x70/0xd0
[ 1280.880067]  cleanup_net+0x24e/0x400
[ 1280.880260]  ? process_one_work+0x16c/0x4b0
[ 1280.880502]  process_one_work+0x1d6/0x4b0
[ 1280.880715]  worker_thread+0x1c1/0x3d0
[ 1280.880913]  ? __pfx_worker_thread+0x10/0x10
[ 1280.881144]  kthread+0xda/0x110
[ 1280.881312]  ? __pfx_kthread+0x10/0x10
[ 1280.881511]  ret_from_fork+0x31/0x50
[ 1280.881716]  ? __pfx_kthread+0x10/0x10
[ 1280.882046]  ret_from_fork_asm+0x1b/0x30
[ 1280.882265]  </TASK>
[ 1280.882394] irq event stamp: 1517085
[ 1280.882587] hardirqs last  enabled at (1517095): [<ffffffffaebd893d>] console_unlock+0x10d/0x130
[ 1280.883073] hardirqs last disabled at (1517106): [<ffffffffaebd8922>] console_unlock+0xf2/0x130
[ 1280.883544] softirqs last  enabled at (1516022): [<ffffffffaf8e27b2>] __do_softirq+0x2c2/0x37a
[ 1280.883999] softirqs last disabled at (1516017): [<ffffffffaeb4be1f>] irq_exit_rcu+0x7f/0xa0
[ 1280.884455] ---[ end trace 0000000000000000 ]---
[ 1280.893149] relay_src (unregistering): left allmulticast mode
[ 1280.894369] relay_gw (unregistering): left allmulticast mode
[ 1280.904491] amtr (unregistering): left allmulticast mode

xx__-> 
xx__->