make -C tools/testing/selftests TARGETS=net/forwarding TEST_PROGS=vxlan_assymmetric.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.sh [ 152.855868] br1: port 1(vx10) entered blocking state [ 152.856203] br1: port 1(vx10) entered disabled state [ 152.856548] vx10: entered allmulticast mode [ 152.856915] vx10: entered promiscuous mode [ 152.857199] br1: port 1(vx10) entered blocking state [ 152.857550] br1: port 1(vx10) entered forwarding state [ 152.904489] br1: port 2(vx20) entered blocking state [ 152.904856] br1: port 2(vx20) entered disabled state [ 152.905216] vx20: entered allmulticast mode [ 152.905729] vx20: entered promiscuous mode [ 152.906337] br1: port 2(vx20) entered blocking state [ 152.906990] br1: port 2(vx20) entered forwarding state [ 152.928905] br1: port 3(veth1) entered blocking state [ 152.929209] br1: port 3(veth1) entered disabled state [ 152.929498] veth1: entered allmulticast mode [ 152.929847] veth1: entered promiscuous mode [ 152.940818] br1: port 3(veth1) entered blocking state [ 152.941129] br1: port 3(veth1) entered forwarding state [ 152.961865] br1: port 4(veth2) entered blocking state [ 152.962170] br1: port 4(veth2) entered disabled state [ 152.962468] veth2: entered allmulticast mode [ 152.962808] veth2: entered promiscuous mode [ 152.973059] br1: port 4(veth2) entered blocking state [ 152.973365] br1: port 4(veth2) entered forwarding state [ 153.085199] br1: entered promiscuous mode [ 153.085774] br1: left promiscuous mode [ 153.099902] br1: entered promiscuous mode [ 153.836818] br1: port 1(vx10) entered blocking state [ 153.837133] br1: port 1(vx10) entered disabled state [ 153.837438] vx10: entered allmulticast mode [ 153.837786] vx10: entered promiscuous mode [ 153.838049] br1: port 1(vx10) entered blocking state [ 153.838321] br1: port 1(vx10) entered forwarding state [ 153.880703] br1: port 2(vx20) entered blocking state [ 153.881065] br1: port 2(vx20) entered disabled state [ 153.881363] vx20: entered allmulticast mode [ 153.881688] vx20: entered promiscuous mode [ 153.881947] br1: port 2(vx20) entered blocking state [ 153.882229] br1: port 2(vx20) entered forwarding state [ 153.903854] br1: port 3(w1) entered blocking state [ 153.904263] br1: port 3(w1) entered disabled state [ 153.904655] w1: entered allmulticast mode [ 153.905190] w1: entered promiscuous mode [ 153.916544] br1: port 3(w1) entered blocking state [ 153.916858] br1: port 3(w1) entered forwarding state [ 153.937670] br1: port 4(w3) entered blocking state [ 153.937975] br1: port 4(w3) entered disabled state [ 153.938252] w3: entered allmulticast mode [ 153.938555] w3: entered promiscuous mode [ 153.949596] br1: port 4(w3) entered blocking state [ 153.949910] br1: port 4(w3) entered forwarding state [ 154.047895] br1: entered promiscuous mode [ 154.048356] br1: left promiscuous mode [ 154.061995] br1: entered promiscuous mode # RTNETLINK answers: File exists [ 154.167972] br1: received packet on vx20 with own address as source address (addr:00:00:5e:00:01:01, vlan:20) [ 154.168968] IPv6: vlan20-v: IPv6 duplicate address fe80::200:5eff:fe00:101 used by 00:00:5e:00:01:01 detected! # RTNETLINK answers: File exists [ 154.883947] br1: received packet on vx20 with own address as source address (addr:00:00:5e:00:01:01, vlan:20) [ 154.883998] br1: received packet on vx10 with own address as source address (addr:00:00:5e:00:01:01, vlan:10) [ 154.884575] br1: received packet on vx10 with own address as source address (addr:00:00:5e:00:01:01, vlan:10) [ 154.885157] IPv6: vlan10-v: IPv6 duplicate address fe80::200:5eff:fe00:101 used by 00:00:5e:00:01:01 detected! [ 155.204040] br1: received packet on vx20 with own address as source address (addr:00:00:5e:00:01:01, vlan:20) [ 155.204660] br1: received packet on vx20 with own address as source address (addr:00:00:5e:00:01:01, vlan:20) [ 155.363965] br1: received packet on vx20 with own address as source address (addr:00:00:5e:00:01:01, vlan:20) [ 159.107919] br1: received packet on vx20 with own address as source address (addr:00:00:5e:00:01:01, vlan:20) # TEST: ping: local->local vid 10->vid 20 [ OK ] # TEST: ping: local->remote vid 10->vid 10 [ OK ] # TEST: ping: local->remote vid 20->vid 20 [ OK ] # TEST: ping: local->remote vid 10->vid 20 [ OK ] # TEST: ping: local->remote vid 20->vid 10 [ OK ] # INFO: deleting neighbours from vlan interfaces # TEST: ping: local->local vid 10->vid 20 [ OK ] # TEST: ping: local->remote vid 10->vid 10 [ OK ] [ 166.979907] br1: received packet on vx20 with own address as source address (addr:00:00:5e:00:01:01, vlan:20) # TEST: ping: local->remote vid 20->vid 20 [ OK ] # TEST: ping: local->remote vid 10->vid 20 [ OK ] # TEST: ping: local->remote vid 20->vid 10 [ OK ] # TEST: neigh_suppress: on / neigh exists: yes [ OK ] # TEST: neigh_suppress: on / neigh exists: no [ OK ] # TEST: neigh_suppress: off / neigh exists: no [ OK ] # TEST: neigh_suppress: off / neigh exists: yes [ OK ] [ 170.792112] w3: left allmulticast mode [ 170.792399] w3: left promiscuous mode [ 170.792642] br1: port 4(w3) entered disabled state [ 170.801915] w1: left allmulticast mode [ 170.802159] w1: left promiscuous mode [ 170.802379] br1: port 3(w1) entered disabled state [ 170.807892] vx20: left allmulticast mode [ 170.808129] vx20: left promiscuous mode [ 170.808373] br1: port 2(vx20) entered disabled state [ 170.813927] vx10: left allmulticast mode [ 170.814218] vx10: left promiscuous mode [ 170.814529] br1: port 1(vx10) entered disabled state [ 170.824809] ------------[ cut here ]------------ [ 170.825084] refcount_t: underflow; use-after-free. [ 170.825360] WARNING: CPU: 1 PID: 68 at lib/refcount.c:28 refcount_warn_saturate+0xd0/0x130 [ 170.825846] Modules linked in: macvlan vxlan ip6_udp_tunnel udp_tunnel xfrm_user 8021q act_mirred cls_flower bridge stp llc ip6_gre ip6_tunnel tunnel6 act_gact cls_matchall ip_gre gre sch_ingress vrf veth [ 170.826846] CPU: 1 PID: 68 Comm: kworker/u8:1 Not tainted 6.8.0-rc2-virtme #1 [ 170.827239] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 170.828054] Workqueue: netns cleanup_net [ 170.828380] RIP: 0010:refcount_warn_saturate+0xd0/0x130 [ 170.828803] 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 cf 88 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.829794] RSP: 0018:ffffac8200263d78 EFLAGS: 00010286 [ 170.830083] RAX: 0000000000000000 RBX: ffffa01f427a6000 RCX: 00000000ffffdfff [ 170.830473] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 170.830855] RBP: ffffa01f427a65f8 R08: ffffffff89164508 R09: 00000000ffffdfff [ 170.831231] R10: ffffffff89084520 R11: ffffffff89134520 R12: ffffa01f427a6000 [ 170.831615] R13: ffffac8200263e08 R14: ffffa01f427a6b60 R15: ffffffff8a613dd0 [ 170.832002] FS: 0000000000000000(0000) GS:ffffa01f7ec80000(0000) knlGS:0000000000000000 [ 170.832437] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 170.832905] CR2: 000000000044a3a0 CR3: 00000000029d4002 CR4: 00000000001706f0 [ 170.833352] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 170.833738] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 170.834121] Call Trace: [ 170.834261] [ 170.834383] ? __warn+0x84/0x170 [ 170.834579] ? refcount_warn_saturate+0xd0/0x130 [ 170.834840] ? report_bug+0x199/0x1b0 [ 170.835046] ? handle_bug+0x3d/0x70 [ 170.835239] ? exc_invalid_op+0x18/0x70 [ 170.835457] ? asm_exc_invalid_op+0x1a/0x20 [ 170.835899] ? refcount_warn_saturate+0xd0/0x130 [ 170.836155] ? refcount_warn_saturate+0xcf/0x130 [ 170.836409] br_sysfs_delbr+0x1d/0x40 [bridge] [ 170.836713] br_dev_delete+0x88/0xa0 [bridge] [ 170.836976] br_net_exit_batch_rtnl+0x70/0xd0 [bridge] [ 170.837266] cleanup_net+0x251/0x3a0 [ 170.837482] ? process_one_work+0x16c/0x4b0 [ 170.837708] process_one_work+0x1d9/0x4b0 [ 170.837939] worker_thread+0x1c1/0x3d0 [ 170.838147] ? __pfx_worker_thread+0x10/0x10 [ 170.838385] kthread+0xdd/0x110 [ 170.838569] ? __pfx_kthread+0x10/0x10 [ 170.838779] ret_from_fork+0x34/0x50 [ 170.838981] ? __pfx_kthread+0x10/0x10 [ 170.839185] ret_from_fork_asm+0x1b/0x30 [ 170.839410] [ 170.839586] irq event stamp: 41827 [ 170.839825] hardirqs last enabled at (41839): [] console_unlock+0x10d/0x130 [ 170.840283] hardirqs last disabled at (41848): [] console_unlock+0xf2/0x130 [ 170.840744] softirqs last enabled at (41518): [] __do_softirq+0x2c2/0x37a [ 170.841196] softirqs last disabled at (41513): [] irq_exit_rcu+0x7f/0xa0 [ 170.841637] ---[ end trace 0000000000000000 ]--- [ 170.841899] ------------[ cut here ]------------ [ 170.842148] sysfs group 'bridge' not found for kobject 'br1' [ 170.842480] WARNING: CPU: 1 PID: 68 at fs/sysfs/group.c:282 sysfs_remove_group+0x75/0x90 [ 170.842917] Modules linked in: macvlan vxlan ip6_udp_tunnel udp_tunnel xfrm_user 8021q act_mirred cls_flower bridge stp llc ip6_gre ip6_tunnel tunnel6 act_gact cls_matchall ip_gre gre sch_ingress vrf veth [ 170.843905] CPU: 1 PID: 68 Comm: kworker/u8:1 Tainted: G W 6.8.0-rc2-virtme #1 [ 170.844364] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 170.845045] Workqueue: netns cleanup_net [ 170.845263] RIP: 0010:sysfs_remove_group+0x75/0x90 [ 170.845530] 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 cf 88 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.846519] RSP: 0018:ffffac8200263d70 EFLAGS: 00010286 [ 170.846808] RAX: 0000000000000000 RBX: ffffffffc03edc60 RCX: 00000000ffffdfff [ 170.847183] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 170.847558] RBP: 0000000000000000 R08: ffffffff89164508 R09: 00000000ffffdfff [ 170.847943] R10: ffffffff89084520 R11: ffffffff89134520 R12: ffffa01f427a65f8 [ 170.848332] R13: ffffac8200263e08 R14: ffffa01f427a6b60 R15: ffffffff8a613dd0 [ 170.848708] FS: 0000000000000000(0000) GS:ffffa01f7ec80000(0000) knlGS:0000000000000000 [ 170.849140] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 170.849455] CR2: 000000000044a3a0 CR3: 00000000029d4002 CR4: 00000000001706f0 [ 170.849844] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 170.850222] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 170.850598] Call Trace: [ 170.850734] [ 170.850860] ? __warn+0x84/0x170 [ 170.851045] ? sysfs_remove_group+0x75/0x90 [ 170.851276] ? report_bug+0x199/0x1b0 [ 170.851483] ? handle_bug+0x3d/0x70 [ 170.851680] ? exc_invalid_op+0x18/0x70 [ 170.851896] ? asm_exc_invalid_op+0x1a/0x20 [ 170.852132] ? sysfs_remove_group+0x75/0x90 [ 170.852363] br_dev_delete+0x88/0xa0 [bridge] [ 170.852624] br_net_exit_batch_rtnl+0x70/0xd0 [bridge] [ 170.852923] cleanup_net+0x251/0x3a0 [ 170.853123] ? process_one_work+0x16c/0x4b0 [ 170.853352] process_one_work+0x1d9/0x4b0 [ 170.853579] worker_thread+0x1c1/0x3d0 [ 170.853793] ? __pfx_worker_thread+0x10/0x10 [ 170.854027] kthread+0xdd/0x110 [ 170.854211] ? __pfx_kthread+0x10/0x10 [ 170.854419] ret_from_fork+0x34/0x50 [ 170.854617] ? __pfx_kthread+0x10/0x10 [ 170.854833] ret_from_fork_asm+0x1b/0x30 [ 170.855055] [ 170.855180] irq event stamp: 42483 [ 170.855368] hardirqs last enabled at (42493): [] console_unlock+0x10d/0x130 [ 170.855843] hardirqs last disabled at (42504): [] console_unlock+0xf2/0x130 [ 170.856299] softirqs last enabled at (41518): [] __do_softirq+0x2c2/0x37a [ 170.856749] softirqs last disabled at (41513): [] irq_exit_rcu+0x7f/0xa0 [ 170.857195] ---[ end trace 0000000000000000 ]--- [ 170.857649] br1: left promiscuous mode [ 171.152644] br1: left promiscuous mode [ 171.259566] br1: port 4(veth2) entered disabled state [ 171.271782] veth2: left allmulticast mode [ 171.272135] veth2: left promiscuous mode [ 171.272455] br1: port 4(veth2) entered disabled state [ 171.314112] br1: port 3(veth1) entered disabled state [ 171.326853] veth1: left allmulticast mode [ 171.327203] veth1: left promiscuous mode [ 171.327532] br1: port 3(veth1) entered disabled state [ 171.363021] vx20: left allmulticast mode [ 171.363267] vx20: left promiscuous mode [ 171.363490] br1: port 2(vx20) entered disabled state [ 171.437220] vx10: left allmulticast mode [ 171.437482] vx10: left promiscuous mode [ 171.437701] br1: port 1(vx10) entered disabled state ok 1 selftests: net/forwarding: vxlan_asymmetric.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__->