make -C tools/testing/selftests TARGETS=net TEST_PROGS=test_vxlan_under_vrrf.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: test_vxlan_under_vrf.sh
[ 123.763947] veth0: renamed from veth-hv-1
[ 123.892070] br0: port 1(vxlan0) entered blocking state
[ 123.892376] br0: port 1(vxlan0) entered disabled state
[ 123.892654] vxlan0: entered allmulticast mode
[ 123.893028] vxlan0: entered promiscuous mode
[ 123.908073] br0: port 1(vxlan0) entered blocking state
[ 123.908384] br0: port 1(vxlan0) entered forwarding state
[ 123.943973] veth0: renamed from veth-hv-2
[ 124.077203] br0: port 1(vxlan0) entered blocking state
[ 124.077647] br0: port 1(vxlan0) entered disabled state
[ 124.078078] vxlan0: entered allmulticast mode
[ 124.078549] vxlan0: entered promiscuous mode
[ 124.092719] br0: port 1(vxlan0) entered blocking state
[ 124.093024] br0: port 1(vxlan0) entered forwarding state
# Checking HV connectivity [ OK ]
[ 124.179248] br0: port 2(veth-tap) entered blocking state
[ 124.179560] br0: port 2(veth-tap) entered disabled state
[ 124.179882] veth-tap: entered allmulticast mode
[ 124.180195] veth-tap: entered promiscuous mode
[ 124.255632] br0: port 2(veth-tap) entered blocking state
[ 124.255998] br0: port 2(veth-tap) entered forwarding state
[ 124.311922] br0: port 2(veth-tap) entered blocking state
[ 124.312233] br0: port 2(veth-tap) entered disabled state
[ 124.312520] veth-tap: entered allmulticast mode
[ 124.312833] veth-tap: entered promiscuous mode
[ 124.389142] br0: port 2(veth-tap) entered blocking state
[ 124.389454] br0: port 2(veth-tap) entered forwarding state
# Check VM connectivity through VXLAN (underlay in the default VRF) [ OK ]
[ 124.488069] br0: port 1(vxlan0) entered disabled state
[ 124.503744] br0: port 1(vxlan0) entered blocking state
[ 124.504082] br0: port 1(vxlan0) entered forwarding state
[ 124.543109] br0: port 1(vxlan0) entered disabled state
[ 124.558484] br0: port 1(vxlan0) entered blocking state
[ 124.558821] br0: port 1(vxlan0) entered forwarding state
# Check VM connectivity through VXLAN (underlay in a VRF) [ OK ]
[ 124.687073] veth-tap: left allmulticast mode
[ 124.687647] veth-tap: left promiscuous mode
[ 124.688130] br0: port 2(veth-tap) entered disabled state
[ 124.703024] vxlan0: left allmulticast mode
[ 124.703364] vxlan0: left promiscuous mode
[ 124.703711] br0: port 1(vxlan0) entered disabled state
[ 124.715479] ------------[ cut here ]------------
[ 124.715739] refcount_t: underflow; use-after-free.
[ 124.716034] WARNING: CPU: 2 PID: 67 at lib/refcount.c:28 refcount_warn_saturate+0xd0/0x130
[ 124.716470] Modules linked in: act_tunnel_key cls_flower bareudp mpls_iptunnel mpls_router act_mirred cls_matchall ip6_gre gre nft_chain_nat xt_nat nf_nat vxlan cls_bpf sch_ingress xt_conntrack nf_conntrack nf_defrag_ipv4 nft_compat nf_tables nf_defrag_ipv6 sctp_diag sctp ip6_udp_tunnel udp_tunnel libcrc32c
[ 124.717900] CPU: 2 PID: 67 Comm: kworker/u8:1 Not tainted 6.8.0-rc2-virtme #1
[ 124.718508] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 124.719559] Workqueue: netns cleanup_net
[ 124.719960] RIP: 0010:refcount_warn_saturate+0xd0/0x130
[ 124.720395] 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 f3 89 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
[ 124.721782] RSP: 0018:ffffb0e90025bd78 EFLAGS: 00010286
[ 124.722098] RAX: 0000000000000000 RBX: ffff8f0a02a14000 RCX: 00000000ffffdfff
[ 124.722515] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001
[ 124.722897] RBP: ffff8f0a02a14610 R08: ffffffff8a378508 R09: 00000000ffffdfff
[ 124.723275] R10: ffffffff8a298520 R11: ffffffff8a348520 R12: ffff8f0a02a14000
[ 124.723653] R13: ffffb0e90025be08 R14: ffff8f0a02a14b80 R15: ffff8f0a05704550
[ 124.724038] FS: 0000000000000000(0000) GS:ffff8f0a3ed00000(0000) knlGS:0000000000000000
[ 124.724462] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 124.724772] CR2: 00007f29f2d01000 CR3: 000000001e860004 CR4: 0000000000770ef0
[ 124.725148] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 124.725522] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 124.725910] PKRU: 55555554
[ 124.726056] Call Trace:
[ 124.726199]
[ 124.726323] ? __warn+0x84/0x170
[ 124.726501] ? refcount_warn_saturate+0xd0/0x130
[ 124.726752] ? report_bug+0x199/0x1b0
[ 124.726957] ? handle_bug+0x3d/0x70
[ 124.727146] ? exc_invalid_op+0x18/0x70
[ 124.727348] ? asm_exc_invalid_op+0x1a/0x20
[ 124.727574] ? refcount_warn_saturate+0xd0/0x130
[ 124.727813] ? refcount_warn_saturate+0xcf/0x130
[ 124.728064] br_sysfs_delbr+0x1d/0x40
[ 124.728269] br_dev_delete+0x88/0xa0
[ 124.728463] br_net_exit_batch_rtnl+0x70/0xd0
[ 124.728695] cleanup_net+0x24e/0x400
[ 124.728981] ? process_one_work+0x16c/0x4b0
[ 124.729316] process_one_work+0x1d6/0x4b0
[ 124.729640] worker_thread+0x1c1/0x3d0
[ 124.729961] ? __pfx_worker_thread+0x10/0x10
[ 124.730302] kthread+0xda/0x110
[ 124.730528] ? __pfx_kthread+0x10/0x10
[ 124.730730] ret_from_fork+0x31/0x50
[ 124.730937] ? __pfx_kthread+0x10/0x10
[ 124.731137] ret_from_fork_asm+0x1b/0x30
[ 124.731351]
[ 124.731478] irq event stamp: 1019873
[ 124.731668] hardirqs last enabled at (1019883): [] console_unlock+0x10d/0x130
[ 124.732135] hardirqs last disabled at (1019894): [] console_unlock+0xf2/0x130
[ 124.732589] softirqs last enabled at (1019456): [] __do_softirq+0x2c2/0x37a
[ 124.733043] softirqs last disabled at (1019451): [] irq_exit_rcu+0x7f/0xa0
[ 124.733488] ---[ end trace 0000000000000000 ]---
[ 124.733756] ------------[ cut here ]------------
[ 124.734067] sysfs group 'bridge' not found for kobject 'br0'
[ 124.734579] WARNING: CPU: 1 PID: 67 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90
[ 124.735020] Modules linked in: act_tunnel_key cls_flower bareudp mpls_iptunnel mpls_router act_mirred cls_matchall ip6_gre gre nft_chain_nat xt_nat nf_nat vxlan cls_bpf sch_ingress xt_conntrack nf_conntrack nf_defrag_ipv4 nft_compat nf_tables nf_defrag_ipv6 sctp_diag sctp ip6_udp_tunnel udp_tunnel libcrc32c
[ 124.736445] CPU: 1 PID: 67 Comm: kworker/u8:1 Tainted: G W 6.8.0-rc2-virtme #1
[ 124.736920] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 124.737891] Workqueue: netns cleanup_net
[ 124.738285] RIP: 0010:sysfs_remove_group+0x75/0x90
[ 124.738550] 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 f2 89 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
[ 124.739925] RSP: 0018:ffffb0e90025bd70 EFLAGS: 00010286
[ 124.740296] RAX: 0000000000000000 RBX: ffffffff89b472c0 RCX: 00000000ffffdfff
[ 124.740913] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001
[ 124.741544] RBP: 0000000000000000 R08: ffffffff8a378508 R09: 00000000ffffdfff
[ 124.742235] R10: ffffffff8a298520 R11: ffffffff8a348520 R12: ffff8f0a02a14610
[ 124.742925] R13: ffffb0e90025be08 R14: ffff8f0a02a14b80 R15: ffff8f0a05704550
[ 124.743600] FS: 0000000000000000(0000) GS:ffff8f0a3ec80000(0000) knlGS:0000000000000000
[ 124.744337] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 124.744865] CR2: 0000561bafc81dec CR3: 000000001e860002 CR4: 0000000000770ef0
[ 124.745512] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 124.746181] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 124.746808] PKRU: 55555554
[ 124.747090] Call Trace:
[ 124.747341]
[ 124.747536] ? __warn+0x84/0x170
[ 124.747791] ? sysfs_remove_group+0x75/0x90
[ 124.748022] ? report_bug+0x199/0x1b0
[ 124.748220] ? handle_bug+0x3d/0x70
[ 124.748484] ? exc_invalid_op+0x18/0x70
[ 124.748700] ? asm_exc_invalid_op+0x1a/0x20
[ 124.748937] ? sysfs_remove_group+0x75/0x90
[ 124.749171] br_dev_delete+0x88/0xa0
[ 124.749376] br_net_exit_batch_rtnl+0x70/0xd0
[ 124.749616] cleanup_net+0x24e/0x400
[ 124.749846] ? process_one_work+0x16c/0x4b0
[ 124.750202] process_one_work+0x1d6/0x4b0
[ 124.750541] worker_thread+0x1c1/0x3d0
[ 124.750789] ? __pfx_worker_thread+0x10/0x10
[ 124.751064] kthread+0xda/0x110
[ 124.751337] ? __pfx_kthread+0x10/0x10
[ 124.751632] ret_from_fork+0x31/0x50
[ 124.752002] ? __pfx_kthread+0x10/0x10
[ 124.752335] ret_from_fork_asm+0x1b/0x30
[ 124.752796]
[ 124.753009] irq event stamp: 1020597
[ 124.753407] hardirqs last enabled at (1020607): [] console_unlock+0x10d/0x130
[ 124.754300] hardirqs last disabled at (1020618): [] console_unlock+0xf2/0x130
[ 124.755210] softirqs last enabled at (1020158): [] __do_softirq+0x2c2/0x37a
[ 124.756167] softirqs last disabled at (1020153): [] irq_exit_rcu+0x7f/0xa0
[ 124.757068] ---[ end trace 0000000000000000 ]---
[ 124.797120] br0: port 1(vxlan0) entered disabled state
[ 124.797982] vxlan0 (unregistering): left allmulticast mode
[ 124.798512] vxlan0 (unregistering): left promiscuous mode
[ 124.799055] br0: port 1(vxlan0) entered disabled state
ok 1 selftests: net: test_vxlan_under_vrf.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__-> [ 124.869945] veth-tap: left allmulticast mode
[ 124.870189] veth-tap: left promiscuous mode
[ 124.870433] br0: port 2(veth-tap) entered disabled state
[ 124.876098] ------------[ cut here ]------------
[ 124.876359] sysfs group 'bridge' not found for kobject 'br0'
[ 124.876674] WARNING: CPU: 1 PID: 67 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90
[ 124.877114] Modules linked in: act_tunnel_key cls_flower bareudp mpls_iptunnel mpls_router act_mirred cls_matchall ip6_gre gre nft_chain_nat xt_nat nf_nat vxlan cls_bpf sch_ingress xt_conntrack nf_conntrack nf_defrag_ipv4 nft_compat nf_tables nf_defrag_ipv6 sctp_diag sctp ip6_udp_tunnel udp_tunnel libcrc32c
[ 124.878526] CPU: 1 PID: 67 Comm: kworker/u8:1 Tainted: G W 6.8.0-rc2-virtme #1
[ 124.878981] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 124.879561] Workqueue: netns cleanup_net
[ 124.879785] RIP: 0010:sysfs_remove_group+0x75/0x90
[ 124.880058] 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 f2 89 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
[ 124.881017] RSP: 0018:ffffb0e90025bd70 EFLAGS: 00010286
[ 124.881294] RAX: 0000000000000000 RBX: ffffffff89b472c0 RCX: 00000000ffffdfff
[ 124.881665] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001
[ 124.882044] RBP: 0000000000000000 R08: ffffffff8a378508 R09: 00000000ffffdfff
[ 124.882417] R10: ffffffff8a298520 R11: ffffffff8a348520 R12: ffff8f0a0237c610
[ 124.882824] R13: ffffb0e90025be08 R14: ffff8f0a0237cb80 R15: ffffffff8b878f90
[ 124.883218] FS: 0000000000000000(0000) GS:ffff8f0a3ec80000(0000) knlGS:0000000000000000
[ 124.883673] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 124.883997] CR2: 00007f6e6c57d0e0 CR3: 000000001e860003 CR4: 0000000000770ef0
[ 124.884363] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 124.884736] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 124.885109] PKRU: 55555554
[ 124.885257] Call Trace:
[ 124.885403]
[ 124.885537] ? __warn+0x84/0x170
[ 124.885730] ? sysfs_remove_group+0x75/0x90
[ 124.885984] ? report_bug+0x199/0x1b0
[ 124.886194] ? handle_bug+0x3d/0x70
[ 124.886417] ? exc_invalid_op+0x18/0x70
[ 124.886639] ? asm_exc_invalid_op+0x1a/0x20
[ 124.886884] ? sysfs_remove_group+0x75/0x90
[ 124.887114] br_dev_delete+0x88/0xa0
[ 124.887314] br_net_exit_batch_rtnl+0x70/0xd0
[ 124.887550] cleanup_net+0x24e/0x400
[ 124.887748] ? process_one_work+0x16c/0x4b0
[ 124.887977] process_one_work+0x1d6/0x4b0
[ 124.888195] worker_thread+0x1c1/0x3d0
[ 124.888405] ? __pfx_worker_thread+0x10/0x10
[ 124.888629] kthread+0xda/0x110
[ 124.888802] ? __pfx_kthread+0x10/0x10
[ 124.889008] ret_from_fork+0x31/0x50
[ 124.889202] ? __pfx_kthread+0x10/0x10
[ 124.889405] ret_from_fork_asm+0x1b/0x30
[ 124.889623]
[ 124.889757] irq event stamp: 1055295
[ 124.889954] hardirqs last enabled at (1055307): [] console_unlock+0x10d/0x130
[ 124.890413] hardirqs last disabled at (1055316): [] console_unlock+0xf2/0x130
[ 124.890879] softirqs last enabled at (1054878): [] __do_softirq+0x2c2/0x37a
[ 124.891322] softirqs last disabled at (1054873): [] irq_exit_rcu+0x7f/0xa0
[ 124.891775] ---[ end trace 0000000000000000 ]---
xx__->
xx__->