make -C tools/testing/selftests TARGETS=net/forwarding TEST_PROGS=vxlan_brridge_1q_port_8472.sh TEST_GEN_PROGS="" run_tests
make: Entering directory '/home/virtme/testing-2/tools/testing/selftests'
make[1]: Entering directory '/home/virtme/testing-2/tools/testing/selftests/net/forwarding'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/virtme/testing-2/tools/testing/selftests/net/forwarding'
make[1]: Entering directory '/home/virtme/testing-2/tools/testing/selftests/net/forwarding'
TAP version 13
1..1
# timeout set to 10800
# selftests: net/forwarding: vxlan_bridge_1q_port_8472.sh
[ 1314.915303] br1: port 1(vx10) entered blocking state
[ 1314.915825] br1: port 1(vx10) entered disabled state
[ 1314.916289] vx10: entered allmulticast mode
[ 1314.916806] vx10: entered promiscuous mode
[ 1314.917083] br1: port 1(vx10) entered blocking state
[ 1314.917467] br1: port 1(vx10) entered forwarding state
[ 1314.956901] br1: port 2(vx20) entered blocking state
[ 1314.957369] br1: port 2(vx20) entered disabled state
[ 1314.957817] vx20: entered allmulticast mode
[ 1314.958240] vx20: entered promiscuous mode
[ 1314.958613] br1: port 2(vx20) entered blocking state
[ 1314.958997] br1: port 2(vx20) entered forwarding state
[ 1314.979103] br1: port 3(veth1) entered blocking state
[ 1314.979529] br1: port 3(veth1) entered disabled state
[ 1314.979941] veth1: entered allmulticast mode
[ 1314.980432] veth1: entered promiscuous mode
[ 1314.990837] br1: port 3(veth1) entered blocking state
[ 1314.991161] br1: port 3(veth1) entered forwarding state
[ 1315.021081] br1: port 4(veth2) entered blocking state
[ 1315.021524] br1: port 4(veth2) entered disabled state
[ 1315.021948] veth2: entered allmulticast mode
[ 1315.022461] veth2: entered promiscuous mode
[ 1315.033283] br1: port 4(veth2) entered blocking state
[ 1315.033594] br1: port 4(veth2) entered forwarding state
[ 1315.412979] br2: port 1(w1) entered blocking state
[ 1315.413281] br2: port 1(w1) entered disabled state
[ 1315.413562] w1: entered allmulticast mode
[ 1315.413867] w1: entered promiscuous mode
[ 1315.488626] br2: port 2(vx10) entered blocking state
[ 1315.488933] br2: port 2(vx10) entered disabled state
[ 1315.489230] vx10: entered allmulticast mode
[ 1315.489563] vx10: entered promiscuous mode
[ 1315.489834] br2: port 2(vx10) entered blocking state
[ 1315.490119] br2: port 2(vx10) entered forwarding state
[ 1315.558646] br2: port 3(vx20) entered blocking state
[ 1315.559028] br2: port 3(vx20) entered disabled state
[ 1315.559316] vx20: entered allmulticast mode
[ 1315.559640] vx20: entered promiscuous mode
[ 1315.559892] br2: port 3(vx20) entered blocking state
[ 1315.560175] br2: port 3(vx20) entered forwarding state
[ 1315.637539] br2: port 1(w1) entered blocking state
[ 1315.637848] br2: port 1(w1) entered forwarding state
[ 1315.895466] br2: port 1(w1) entered blocking state
[ 1315.895767] br2: port 1(w1) entered disabled state
[ 1315.896093] w1: entered allmulticast mode
[ 1315.896413] w1: entered promiscuous mode
[ 1315.969886] br2: port 2(vx10) entered blocking state
[ 1315.970204] br2: port 2(vx10) entered disabled state
[ 1315.970485] vx10: entered allmulticast mode
[ 1315.970808] vx10: entered promiscuous mode
[ 1315.971081] br2: port 2(vx10) entered blocking state
[ 1315.971358] br2: port 2(vx10) entered forwarding state
[ 1316.036541] br2: port 3(vx20) entered blocking state
[ 1316.036850] br2: port 3(vx20) entered disabled state
[ 1316.037148] vx20: entered allmulticast mode
[ 1316.037465] vx20: entered promiscuous mode
[ 1316.037714] br2: port 3(vx20) entered blocking state
[ 1316.038013] br2: port 3(vx20) entered forwarding state
[ 1316.111481] br2: port 1(w1) entered blocking state
[ 1316.111797] br2: port 1(w1) entered forwarding state
# INFO: Running tests with UDP port 8472
# TEST: ping: local->local vid 10 [ OK ]
# TEST: ping: local->local vid 20 [ OK ]
# TEST: ping: local->remote 1 vid 10 [ OK ]
# TEST: ping: local->remote 2 vid 10 [ OK ]
# TEST: ping: local->remote 1 vid 20 [ OK ]
# TEST: ping: local->remote 2 vid 20 [ OK ]
[ 1327.542993] vx20: left allmulticast mode
[ 1327.543561] vx20: left promiscuous mode
[ 1327.544210] br2: port 3(vx20) entered disabled state
[ 1327.552208] vx10: left allmulticast mode
[ 1327.552588] vx10: left promiscuous mode
[ 1327.552975] br2: port 2(vx10) entered disabled state
[ 1327.565140] w1: left allmulticast mode
[ 1327.565508] w1: left promiscuous mode
[ 1327.565864] br2: port 1(w1) entered disabled state
[ 1327.573250] ------------[ cut here ]------------
[ 1327.573617] refcount_t: underflow; use-after-free.
[ 1327.573913] WARNING: CPU: 3 PID: 11 at lib/refcount.c:28 refcount_warn_saturate+0xd0/0x130
[ 1327.574398] Modules linked in: vxlan ip6_udp_tunnel udp_tunnel act_pedit cls_matchall act_mirred dummy bridge stp llc act_gact cls_flower sch_ingress 8021q ip_gre gre vrf veth
[ 1327.575286] CPU: 3 PID: 11 Comm: kworker/u8:0 Not tainted 6.8.0-rc2-virtme #1
[ 1327.575702] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 1327.576350] Workqueue: netns cleanup_net
[ 1327.576594] RIP: 0010:refcount_warn_saturate+0xd0/0x130
[ 1327.576888] Code: 0b 90 90 c3 cc cc cc cc 80 3d a1 b9 66 01 00 0f 85 75 ff ff ff c6 05 94 b9 66 01 01 90 48 c7 c7 a0 70 8f 9a e8 71 92 b4 ff 90 <0f> 0b 90 90 c3 cc cc cc cc 80 3d 74 b9 66 01 00 0f 85 4a ff ff ff
[ 1327.577937] RSP: 0018:ffffacbd00063d78 EFLAGS: 00010286
[ 1327.578242] RAX: 0000000000000000 RBX: ffff9ee542850000 RCX: 00000000ffffdfff
[ 1327.578654] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001
[ 1327.579052] RBP: ffff9ee5428505f8 R08: ffffffff9ad64508 R09: 00000000ffffdfff
[ 1327.579444] R10: ffffffff9ac84520 R11: ffffffff9ad34520 R12: ffff9ee542850000
[ 1327.579863] R13: ffffacbd00063e08 R14: ffff9ee542850b60 R15: ffff9ee542790050
[ 1327.580264] FS: 0000000000000000(0000) GS:ffff9ee57ed80000(0000) knlGS:0000000000000000
[ 1327.580724] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1327.581054] CR2: 00007fff69037028 CR3: 000000000390c005 CR4: 00000000001706f0
[ 1327.581459] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 1327.581852] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 1327.582261] Call Trace:
[ 1327.582411]
[ 1327.582541] ? __warn+0x84/0x170
[ 1327.582732] ? refcount_warn_saturate+0xd0/0x130
[ 1327.583007] ? report_bug+0x199/0x1b0
[ 1327.583225] ? handle_bug+0x3d/0x70
[ 1327.583428] ? exc_invalid_op+0x18/0x70
[ 1327.583646] ? asm_exc_invalid_op+0x1a/0x20
[ 1327.583888] ? refcount_warn_saturate+0xd0/0x130
[ 1327.584158] ? refcount_warn_saturate+0xcf/0x130
[ 1327.584420] br_sysfs_delbr+0x1d/0x40 [bridge]
[ 1327.584736] br_dev_delete+0x88/0xa0 [bridge]
[ 1327.585009] br_net_exit_batch_rtnl+0x70/0xd0 [bridge]
[ 1327.585308] cleanup_net+0x251/0x3a0
[ 1327.585518] ? process_one_work+0x16c/0x4b0
[ 1327.585756] process_one_work+0x1d9/0x4b0
[ 1327.585996] worker_thread+0x1c1/0x3d0
[ 1327.586214] ? __pfx_worker_thread+0x10/0x10
[ 1327.586454] kthread+0xdd/0x110
[ 1327.586639] ? __pfx_kthread+0x10/0x10
[ 1327.586857] ret_from_fork+0x34/0x50
[ 1327.587072] ? __pfx_kthread+0x10/0x10
[ 1327.587286] ret_from_fork_asm+0x1b/0x30
[ 1327.587516]
[ 1327.587645] irq event stamp: 81721
[ 1327.587837] hardirqs last enabled at (81731): [] console_unlock+0x10d/0x130
[ 1327.588336] hardirqs last disabled at (81742): [] console_unlock+0xf2/0x130
[ 1327.588802] softirqs last enabled at (81508): [] __do_softirq+0x2c2/0x37a
[ 1327.589269] softirqs last disabled at (81503): [] irq_exit_rcu+0x7f/0xa0
[ 1327.589720] ---[ end trace 0000000000000000 ]---
[ 1327.589991] ------------[ cut here ]------------
[ 1327.590255] sysfs group 'bridge' not found for kobject 'br2'
[ 1327.590587] WARNING: CPU: 3 PID: 11 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90
[ 1327.591042] Modules linked in: vxlan ip6_udp_tunnel udp_tunnel act_pedit cls_matchall act_mirred dummy bridge stp llc act_gact cls_flower sch_ingress 8021q ip_gre gre vrf veth
[ 1327.591905] CPU: 3 PID: 11 Comm: kworker/u8:0 Tainted: G W 6.8.0-rc2-virtme #1
[ 1327.592379] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 1327.593087] Workqueue: netns cleanup_net
[ 1327.593440] RIP: 0010:sysfs_remove_group+0x75/0x90
[ 1327.593855] Code: 48 89 ef 5d 41 5c e9 0a ae ff ff 48 89 ef e8 a2 9b ff ff eb d1 90 49 8b 14 24 48 8b 33 48 c7 c7 88 06 8f 9a e8 fc b0 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
[ 1327.595412] RSP: 0018:ffffacbd00063d70 EFLAGS: 00010286
[ 1327.595861] RAX: 0000000000000000 RBX: ffffffffc0589c60 RCX: 00000000ffffdfff
[ 1327.596473] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001
[ 1327.597046] RBP: 0000000000000000 R08: ffffffff9ad64508 R09: 00000000ffffdfff
[ 1327.597441] R10: ffffffff9ac84520 R11: ffffffff9ad34520 R12: ffff9ee5428505f8
[ 1327.597844] R13: ffffacbd00063e08 R14: ffff9ee542850b60 R15: ffff9ee542790050
[ 1327.598255] FS: 0000000000000000(0000) GS:ffff9ee57ed80000(0000) knlGS:0000000000000000
[ 1327.598700] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1327.599030] CR2: 00007fff69037028 CR3: 000000000390c005 CR4: 00000000001706f0
[ 1327.599429] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 1327.599822] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 1327.600219] Call Trace:
[ 1327.600362]
[ 1327.600488] ? __warn+0x84/0x170
[ 1327.600693] ? sysfs_remove_group+0x75/0x90
[ 1327.600932] ? report_bug+0x199/0x1b0
[ 1327.601152] ? handle_bug+0x3d/0x70
[ 1327.601356] ? exc_invalid_op+0x18/0x70
[ 1327.601573] ? asm_exc_invalid_op+0x1a/0x20
[ 1327.601816] ? sysfs_remove_group+0x75/0x90
[ 1327.602062] br_dev_delete+0x88/0xa0 [bridge]
[ 1327.602331] br_net_exit_batch_rtnl+0x70/0xd0 [bridge]
[ 1327.602631] cleanup_net+0x251/0x3a0
[ 1327.602837] ? process_one_work+0x16c/0x4b0
[ 1327.603083] process_one_work+0x1d9/0x4b0
[ 1327.603317] worker_thread+0x1c1/0x3d0
[ 1327.603531] ? __pfx_worker_thread+0x10/0x10
[ 1327.603772] kthread+0xdd/0x110
[ 1327.603970] ? __pfx_kthread+0x10/0x10
[ 1327.604188] ret_from_fork+0x34/0x50
[ 1327.604392] ? __pfx_kthread+0x10/0x10
[ 1327.604625] ret_from_fork_asm+0x1b/0x30
[ 1327.604854]
[ 1327.604993] irq event stamp: 82361
[ 1327.605185] hardirqs last enabled at (82371): [] console_unlock+0x10d/0x130
[ 1327.605665] hardirqs last disabled at (82380): [] console_unlock+0xf2/0x130
[ 1327.606139] softirqs last enabled at (81508): [] __do_softirq+0x2c2/0x37a
[ 1327.606600] softirqs last disabled at (81503): [] irq_exit_rcu+0x7f/0xa0
[ 1327.607064] ---[ end trace 0000000000000000 ]---
[ 1327.688007] vx20: left allmulticast mode
[ 1327.688300] vx20: left promiscuous mode
[ 1327.688552] br2: port 3(vx20) entered disabled state
[ 1327.695129] vx10: left allmulticast mode
[ 1327.695357] vx10: left promiscuous mode
[ 1327.695588] br2: port 2(vx10) entered disabled state
[ 1327.707062] w1: left allmulticast mode
[ 1327.707289] w1: left promiscuous mode
[ 1327.707505] br2: port 1(w1) entered disabled state
[ 1327.720294] ------------[ cut here ]------------
[ 1327.720569] sysfs group 'bridge' not found for kobject 'br2'
[ 1327.720905] WARNING: CPU: 0 PID: 11 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90
[ 1327.721365] Modules linked in: vxlan ip6_udp_tunnel udp_tunnel act_pedit cls_matchall act_mirred dummy bridge stp llc act_gact cls_flower sch_ingress 8021q ip_gre gre vrf veth
[ 1327.722235] CPU: 0 PID: 11 Comm: kworker/u8:0 Tainted: G W 6.8.0-rc2-virtme #1
[ 1327.722698] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 1327.723320] Workqueue: netns cleanup_net
[ 1327.723547] RIP: 0010:sysfs_remove_group+0x75/0x90
[ 1327.723810] Code: 48 89 ef 5d 41 5c e9 0a ae ff ff 48 89 ef e8 a2 9b ff ff eb d1 90 49 8b 14 24 48 8b 33 48 c7 c7 88 06 8f 9a e8 fc b0 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
[ 1327.724802] RSP: 0018:ffffacbd00063d70 EFLAGS: 00010286
[ 1327.725094] RAX: 0000000000000000 RBX: ffffffffc0589c60 RCX: 00000000ffffdfff
[ 1327.725513] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001
[ 1327.725932] RBP: 0000000000000000 R08: ffffffff9ad64508 R09: 00000000ffffdfff
[ 1327.726352] R10: ffffffff9ac84520 R11: ffffffff9ad34520 R12: ffff9ee5428525f8
[ 1327.726763] R13: ffffacbd00063e08 R14: ffff9ee542852b60 R15: ffffffff9c213dd0
[ 1327.727155] FS: 0000000000000000(0000) GS:ffff9ee57ec00000(0000) knlGS:0000000000000000
[ 1327.727602] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1327.727935] CR2: 00007fa12abbb30d CR3: 000000000277e006 CR4: 00000000001706f0
[ 1327.728331] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 1327.728722] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 1327.729113] Call Trace:
[ 1327.729254]
[ 1327.729379] ? __warn+0x84/0x170
[ 1327.729564] ? sysfs_remove_group+0x75/0x90
[ 1327.729808] ? report_bug+0x199/0x1b0
[ 1327.730033] ? handle_bug+0x3d/0x70
[ 1327.730234] ? exc_invalid_op+0x18/0x70
[ 1327.730449] ? asm_exc_invalid_op+0x1a/0x20
[ 1327.730688] ? sysfs_remove_group+0x75/0x90
[ 1327.730927] br_dev_delete+0x88/0xa0 [bridge]
[ 1327.731204] br_net_exit_batch_rtnl+0x70/0xd0 [bridge]
[ 1327.731499] cleanup_net+0x251/0x3a0
[ 1327.731711] ? process_one_work+0x16c/0x4b0
[ 1327.731944] process_one_work+0x1d9/0x4b0
[ 1327.732182] worker_thread+0x1c1/0x3d0
[ 1327.732395] ? __pfx_worker_thread+0x10/0x10
[ 1327.732633] kthread+0xdd/0x110
[ 1327.732819] ? __pfx_kthread+0x10/0x10
[ 1327.733045] ret_from_fork+0x34/0x50
[ 1327.733256] ? __pfx_kthread+0x10/0x10
[ 1327.733472] ret_from_fork_asm+0x1b/0x30
[ 1327.733699]
[ 1327.733828] irq event stamp: 122149
[ 1327.734027] hardirqs last enabled at (122161): [] console_unlock+0x10d/0x130
[ 1327.734498] hardirqs last disabled at (122170): [] console_unlock+0xf2/0x130
[ 1327.734963] softirqs last enabled at (121840): [] __do_softirq+0x2c2/0x37a
[ 1327.735426] softirqs last disabled at (121835): [] irq_exit_rcu+0x7f/0xa0
[ 1327.735892] ---[ end trace 0000000000000000 ]---
[ 1328.049359] br1: port 4(veth2) entered disabled state
[ 1328.061367] veth2: left allmulticast mode
[ 1328.061619] veth2: left promiscuous mode
[ 1328.061843] br1: port 4(veth2) entered disabled state
[ 1328.105517] br1: port 3(veth1) entered disabled state
[ 1328.117219] veth1: left allmulticast mode
[ 1328.117479] veth1: left promiscuous mode
[ 1328.117721] br1: port 3(veth1) entered disabled state
[ 1328.150168] vx20: left allmulticast mode
[ 1328.150415] vx20: left promiscuous mode
[ 1328.150648] br1: port 2(vx20) entered disabled state
[ 1328.213869] vx10: left allmulticast mode
[ 1328.214168] vx10: left promiscuous mode
[ 1328.214390] br1: port 1(vx10) entered disabled state
ok 1 selftests: net/forwarding: vxlan_bridge_1q_port_8472.sh
make[1]: Leaving directory '/home/virtme/testing-2/tools/testing/selftests/net/forwarding'
make: Leaving directory '/home/virtme/testing-2/tools/testing/selftests'
xx__-> echo $?
0
xx__->