make -C tools/testing/selftests TARGETS=net/forwarding TEST_PROGS=vxlan_assymmetric_ipv6.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_asymmetric_ipv6.sh [ 153.602673] br1: port 1(vx10) entered blocking state [ 153.603042] br1: port 1(vx10) entered disabled state [ 153.603368] vx10: entered allmulticast mode [ 153.603727] vx10: entered promiscuous mode [ 153.604035] br1: port 1(vx10) entered blocking state [ 153.604336] br1: port 1(vx10) entered forwarding state [ 153.645895] br1: port 2(vx20) entered blocking state [ 153.646391] br1: port 2(vx20) entered disabled state [ 153.646809] vx20: entered allmulticast mode [ 153.647207] vx20: entered promiscuous mode [ 153.647580] br1: port 2(vx20) entered blocking state [ 153.648008] br1: port 2(vx20) entered forwarding state [ 153.669065] br1: port 3(veth1) entered blocking state [ 153.669390] br1: port 3(veth1) entered disabled state [ 153.669680] veth1: entered allmulticast mode [ 153.670012] veth1: entered promiscuous mode [ 153.679890] br1: port 3(veth1) entered blocking state [ 153.680210] br1: port 3(veth1) entered forwarding state [ 153.701621] br1: port 4(veth2) entered blocking state [ 153.701949] br1: port 4(veth2) entered disabled state [ 153.702245] veth2: entered allmulticast mode [ 153.702570] veth2: entered promiscuous mode [ 153.714130] br1: port 4(veth2) entered blocking state [ 153.714551] br1: port 4(veth2) entered forwarding state [ 153.802444] 8021q: 802.1Q VLAN Support v1.8 [ 153.838893] br1: entered promiscuous mode [ 153.839680] br1: left promiscuous mode [ 153.853954] br1: entered promiscuous mode [ 154.528110] br1: port 1(vx10) entered blocking state [ 154.528545] br1: port 1(vx10) entered disabled state [ 154.529049] vx10: entered allmulticast mode [ 154.529513] vx10: entered promiscuous mode [ 154.529894] br1: port 1(vx10) entered blocking state [ 154.530285] br1: port 1(vx10) entered forwarding state [ 154.576295] br1: port 2(vx20) entered blocking state [ 154.576604] br1: port 2(vx20) entered disabled state [ 154.576976] vx20: entered allmulticast mode [ 154.577334] vx20: entered promiscuous mode [ 154.577577] br1: port 2(vx20) entered blocking state [ 154.577857] br1: port 2(vx20) entered forwarding state [ 154.600736] br1: port 3(w1) entered blocking state [ 154.601253] br1: port 3(w1) entered disabled state [ 154.601718] w1: entered allmulticast mode [ 154.602224] w1: entered promiscuous mode [ 154.613569] br1: port 3(w1) entered blocking state [ 154.613871] br1: port 3(w1) entered forwarding state [ 154.637843] br1: port 4(w3) entered blocking state [ 154.638149] br1: port 4(w3) entered disabled state [ 154.638433] w3: entered allmulticast mode [ 154.638737] w3: entered promiscuous mode [ 154.649938] br1: port 4(w3) entered blocking state [ 154.650231] br1: port 4(w3) entered forwarding state [ 154.753043] br1: entered promiscuous mode [ 154.753505] br1: left promiscuous mode [ 154.764921] br1: entered promiscuous mode [ 156.604302] br1: received packet on vx10 with own address as source address (addr:00:00:5e:00:01:01, vlan:10) [ 156.604314] br1: received packet on vx10 with own address as source address (addr:00:00:5e:00:01:01, vlan:10) [ 156.604917] br1: received packet on vx10 with own address as source address (addr:00:00:5e:00:01:01, vlan:10) [ 156.605465] br1: received packet on vx10 with own address as source address (addr:00:00:5e:00:01:01, vlan:10) [ 156.606016] br1: received packet on vx20 with own address as source address (addr:00:00:5e:00:01:01, vlan:20) [ 156.607202] br1: received packet on vx20 with own address as source address (addr:00:00:5e:00:01:01, vlan:20) [ 156.607972] br1: received packet on vx10 with own address as source address (addr:00:00:5e:00:01:01, vlan:10) [ 156.608523] br1: received packet on vx10 with own address as source address (addr:00:00:5e:00:01:01, vlan:10) [ 156.609059] br1: received packet on vx10 with own address as source address (addr:00:00:5e:00:01:01, vlan:10) [ 156.609609] br1: received packet on vx10 with own address as source address (addr:00:00:5e:00:01:01, vlan:10) # TEST: ping6: local->local vid 10->vid 20 [ OK ] # TEST: ping6: local->remote vid 10->vid 10 [ OK ] # TEST: ping6: local->remote vid 20->vid 20 [ OK ] # TEST: ping6: local->remote vid 10->vid 20 [ OK ] # TEST: ping6: local->remote vid 20->vid 10 [ OK ] # INFO: deleting neighbours from vlan interfaces # TEST: ping6: local->local vid 10->vid 20 [ OK ] # TEST: ping6: local->remote vid 10->vid 10 [ OK ] # TEST: ping6: local->remote vid 20->vid 20 [ OK ] # TEST: ping6: local->remote vid 10->vid 20 [ OK ] # TEST: ping6: local->remote vid 20->vid 10 [ OK ] [ 170.821250] w3: left allmulticast mode [ 170.821535] w3: left promiscuous mode [ 170.821768] br1: port 4(w3) entered disabled state [ 170.833028] w1: left allmulticast mode [ 170.833280] w1: left promiscuous mode [ 170.833516] br1: port 3(w1) entered disabled state [ 170.848981] vx20: left allmulticast mode [ 170.849220] vx20: left promiscuous mode [ 170.849443] br1: port 2(vx20) entered disabled state [ 170.861102] vx10: left allmulticast mode [ 170.861343] vx10: left promiscuous mode [ 170.861562] br1: port 1(vx10) entered disabled state [ 170.871734] ------------[ cut here ]------------ [ 170.872025] refcount_t: underflow; use-after-free. [ 170.872316] WARNING: CPU: 0 PID: 11 at lib/refcount.c:28 refcount_warn_saturate+0xd0/0x130 [ 170.872761] Modules linked in: macvlan 8021q vxlan ip6_udp_tunnel udp_tunnel dummy act_mirred cls_flower bridge stp llc ip6_gre ip6_tunnel tunnel6 act_gact cls_matchall ip_gre gre sch_ingress vrf veth [ 170.873736] CPU: 0 PID: 11 Comm: kworker/u8:0 Not tainted 6.8.0-rc2-virtme #1 [ 170.874149] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 170.874769] Workqueue: netns cleanup_net [ 170.874998] RIP: 0010:refcount_warn_saturate+0xd0/0x130 [ 170.875288] 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 ac 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 [ 170.876267] RSP: 0018:ffffa9ea40063d78 EFLAGS: 00010286 [ 170.876554] RAX: 0000000000000000 RBX: ffff89e0c3f6a000 RCX: 00000000ffffdfff [ 170.876943] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 170.877333] RBP: ffff89e0c3f6a5f8 R08: ffffffffacd64508 R09: 00000000ffffdfff [ 170.877709] R10: ffffffffacc84520 R11: ffffffffacd34520 R12: ffff89e0c3f6a000 [ 170.878104] R13: ffffa9ea40063e08 R14: ffff89e0c3f6ab60 R15: ffffffffae213dd0 [ 170.878481] FS: 0000000000000000(0000) GS:ffff89e0fec00000(0000) knlGS:0000000000000000 [ 170.878923] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 170.879243] CR2: 00005561d509ceb8 CR3: 0000000009a4c001 CR4: 00000000001706f0 [ 170.879621] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 170.880004] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 170.880387] Call Trace: [ 170.880528] [ 170.880655] ? __warn+0x84/0x170 [ 170.880855] ? refcount_warn_saturate+0xd0/0x130 [ 170.881108] ? report_bug+0x199/0x1b0 [ 170.881319] ? handle_bug+0x3d/0x70 [ 170.881517] ? exc_invalid_op+0x18/0x70 [ 170.881731] ? asm_exc_invalid_op+0x1a/0x20 [ 170.881974] ? refcount_warn_saturate+0xd0/0x130 [ 170.882230] ? refcount_warn_saturate+0xcf/0x130 [ 170.882482] br_sysfs_delbr+0x1d/0x40 [bridge] [ 170.882786] br_dev_delete+0x88/0xa0 [bridge] [ 170.883049] br_net_exit_batch_rtnl+0x70/0xd0 [bridge] [ 170.883356] cleanup_net+0x251/0x3a0 [ 170.883559] ? process_one_work+0x16c/0x4b0 [ 170.883790] process_one_work+0x1d9/0x4b0 [ 170.884021] worker_thread+0x1c1/0x3d0 [ 170.884230] ? __pfx_worker_thread+0x10/0x10 [ 170.884464] kthread+0xdd/0x110 [ 170.884646] ? __pfx_kthread+0x10/0x10 [ 170.884862] ret_from_fork+0x34/0x50 [ 170.885063] ? __pfx_kthread+0x10/0x10 [ 170.885273] ret_from_fork_asm+0x1b/0x30 [ 170.885510] [ 170.885640] irq event stamp: 45769 [ 170.885902] hardirqs last enabled at (45781): [] console_unlock+0x10d/0x130 [ 170.886527] hardirqs last disabled at (45790): [] console_unlock+0xf2/0x130 [ 170.887014] softirqs last enabled at (45368): [] __do_softirq+0x2c2/0x37a [ 170.887475] softirqs last disabled at (45363): [] irq_exit_rcu+0x7f/0xa0 [ 170.887923] ---[ end trace 0000000000000000 ]--- [ 170.888232] ------------[ cut here ]------------ [ 170.888623] sysfs group 'bridge' not found for kobject 'br1' [ 170.889109] WARNING: CPU: 2 PID: 11 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90 [ 170.889752] Modules linked in: macvlan 8021q vxlan ip6_udp_tunnel udp_tunnel dummy act_mirred cls_flower bridge stp llc ip6_gre ip6_tunnel tunnel6 act_gact cls_matchall ip_gre gre sch_ingress vrf veth [ 170.891186] CPU: 2 PID: 11 Comm: kworker/u8:0 Tainted: G W 6.8.0-rc2-virtme #1 [ 170.891879] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 170.892771] Workqueue: netns cleanup_net [ 170.893108] RIP: 0010:sysfs_remove_group+0x75/0x90 [ 170.893500] 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 ac 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 [ 170.894965] RSP: 0018:ffffa9ea40063d70 EFLAGS: 00010286 [ 170.895376] RAX: 0000000000000000 RBX: ffffffffc02e9c60 RCX: 00000000ffffdfff [ 170.895948] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 170.896335] RBP: 0000000000000000 R08: ffffffffacd64508 R09: 00000000ffffdfff [ 170.896719] R10: ffffffffacc84520 R11: ffffffffacd34520 R12: ffff89e0c3f6a5f8 [ 170.897120] R13: ffffa9ea40063e08 R14: ffff89e0c3f6ab60 R15: ffffffffae213dd0 [ 170.897525] FS: 0000000000000000(0000) GS:ffff89e0fed00000(0000) knlGS:0000000000000000 [ 170.897961] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 170.898279] CR2: 00007fcd475111b4 CR3: 0000000009a4c001 CR4: 00000000001706f0 [ 170.898656] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 170.899047] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 170.899435] Call Trace: [ 170.899573] [ 170.899700] ? __warn+0x84/0x170 [ 170.899891] ? sysfs_remove_group+0x75/0x90 [ 170.900139] ? report_bug+0x199/0x1b0 [ 170.900344] ? handle_bug+0x3d/0x70 [ 170.900537] ? exc_invalid_op+0x18/0x70 [ 170.900927] ? asm_exc_invalid_op+0x1a/0x20 [ 170.901184] ? sysfs_remove_group+0x75/0x90 [ 170.901426] br_dev_delete+0x88/0xa0 [bridge] [ 170.901700] br_net_exit_batch_rtnl+0x70/0xd0 [bridge] [ 170.902001] cleanup_net+0x251/0x3a0 [ 170.902210] ? process_one_work+0x16c/0x4b0 [ 170.902442] process_one_work+0x1d9/0x4b0 [ 170.902668] worker_thread+0x1c1/0x3d0 [ 170.902886] ? __pfx_worker_thread+0x10/0x10 [ 170.903131] kthread+0xdd/0x110 [ 170.903304] ? __pfx_kthread+0x10/0x10 [ 170.903509] ret_from_fork+0x34/0x50 [ 170.903711] ? __pfx_kthread+0x10/0x10 [ 170.903920] ret_from_fork_asm+0x1b/0x30 [ 170.904153] [ 170.904278] irq event stamp: 46451 [ 170.904464] hardirqs last enabled at (46461): [] console_unlock+0x10d/0x130 [ 170.904922] hardirqs last disabled at (46472): [] console_unlock+0xf2/0x130 [ 170.905459] softirqs last enabled at (46070): [] __do_softirq+0x2c2/0x37a [ 170.906095] softirqs last disabled at (46065): [] irq_exit_rcu+0x7f/0xa0 [ 170.906735] ---[ end trace 0000000000000000 ]--- [ 170.907370] br1: left promiscuous mode [ 171.188075] br1: left promiscuous mode [ 171.288558] br1: port 4(veth2) entered disabled state [ 171.301092] veth2: left allmulticast mode [ 171.301352] veth2: left promiscuous mode [ 171.301574] br1: port 4(veth2) entered disabled state [ 171.333718] br1: port 3(veth1) entered disabled state [ 171.344255] veth1: left allmulticast mode [ 171.344516] veth1: left promiscuous mode [ 171.344746] br1: port 3(veth1) entered disabled state [ 171.378454] vx20: left allmulticast mode [ 171.378709] vx20: left promiscuous mode [ 171.378948] br1: port 2(vx20) entered disabled state [ 171.454424] vx10: left allmulticast mode [ 171.454705] vx10: left promiscuous mode [ 171.454952] br1: port 1(vx10) entered disabled state ok 1 selftests: net/forwarding: vxlan_asymmetric_ipv6.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__->