make -C tools/testing/selftests TARGETS=net/forwarding TEST_PROGS=vxlan_brridge_1q_port_8472_ipv6.sh TEST_GEN_PROGS="" run_tests
make: Entering directory '/home/virtme/testing-4/tools/testing/selftests'
make[1]: Entering directory '/home/virtme/testing-4/tools/testing/selftests/net/forwarding'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/virtme/testing-4/tools/testing/selftests/net/forwarding'
make[1]: Entering directory '/home/virtme/testing-4/tools/testing/selftests/net/forwarding'
TAP version 13
1..1
# timeout set to 10800
# selftests: net/forwarding: vxlan_bridge_1q_port_8472_ipv6.sh
[ 25.897619][ T232] ip (232) used greatest stack depth: 23616 bytes left
[ 31.582884][ T283] 8021q: 802.1Q VLAN Support v1.8
[ 38.977021][ T332] br1: port 1(vx10) entered blocking state
[ 38.977731][ T332] br1: port 1(vx10) entered disabled state
[ 38.978189][ T332] vx10: entered allmulticast mode
[ 38.980348][ T332] vx10: entered promiscuous mode
[ 38.981354][ T332] br1: port 1(vx10) entered blocking state
[ 38.981747][ T332] br1: port 1(vx10) entered forwarding state
[ 39.622997][ T337] br1: port 2(vx20) entered blocking state
[ 39.623383][ T337] br1: port 2(vx20) entered disabled state
[ 39.623808][ T337] vx20: entered allmulticast mode
[ 39.626069][ T337] vx20: entered promiscuous mode
[ 39.626835][ T337] br1: port 2(vx20) entered blocking state
[ 39.627186][ T337] br1: port 2(vx20) entered forwarding state
[ 40.022190][ T339] br1: port 3(veth1) entered blocking state
[ 40.023246][ T339] br1: port 3(veth1) entered disabled state
[ 40.023618][ T339] veth1: entered allmulticast mode
[ 40.025777][ T339] veth1: entered promiscuous mode
[ 40.207686][ T49] br1: port 3(veth1) entered blocking state
[ 40.208313][ T49] br1: port 3(veth1) entered forwarding state
[ 40.887926][ T344] br1: port 4(veth2) entered blocking state
[ 40.888312][ T344] br1: port 4(veth2) entered disabled state
[ 40.888694][ T344] veth2: entered allmulticast mode
[ 40.890838][ T344] veth2: entered promiscuous mode
[ 41.071801][ T49] br1: port 4(veth2) entered blocking state
[ 41.072170][ T49] br1: port 4(veth2) entered forwarding state
[ 47.325651][ T390] br2: port 1(w1) entered blocking state
[ 47.326006][ T390] br2: port 1(w1) entered disabled state
[ 47.326897][ T390] w1: entered allmulticast mode
[ 47.329056][ T390] w1: entered promiscuous mode
[ 48.647802][ T399] br2: port 2(vx10) entered blocking state
[ 48.648152][ T399] br2: port 2(vx10) entered disabled state
[ 48.648526][ T399] vx10: entered allmulticast mode
[ 48.650799][ T399] vx10: entered promiscuous mode
[ 48.652640][ T399] br2: port 2(vx10) entered blocking state
[ 48.652972][ T399] br2: port 2(vx10) entered forwarding state
[ 49.880498][ T406] br2: port 3(vx20) entered blocking state
[ 49.880845][ T406] br2: port 3(vx20) entered disabled state
[ 49.881236][ T406] vx20: entered allmulticast mode
[ 49.883344][ T406] vx20: entered promiscuous mode
[ 49.883957][ T406] br2: port 3(vx20) entered blocking state
[ 49.884291][ T406] br2: port 3(vx20) entered forwarding state
[ 51.204595][ T49] br2: port 1(w1) entered blocking state
[ 51.205146][ T49] br2: port 1(w1) entered forwarding state
[ 55.820150][ T443] br2: port 1(w1) entered blocking state
[ 55.820522][ T443] br2: port 1(w1) entered disabled state
[ 55.820895][ T443] w1: entered allmulticast mode
[ 55.823184][ T443] w1: entered promiscuous mode
[ 57.151785][ T451] br2: port 2(vx10) entered blocking state
[ 57.152137][ T451] br2: port 2(vx10) entered disabled state
[ 57.153137][ T451] vx10: entered allmulticast mode
[ 57.155314][ T451] vx10: entered promiscuous mode
[ 57.156030][ T451] br2: port 2(vx10) entered blocking state
[ 57.156359][ T451] br2: port 2(vx10) entered forwarding state
[ 58.299939][ T458] br2: port 3(vx20) entered blocking state
[ 58.300301][ T458] br2: port 3(vx20) entered disabled state
[ 58.300660][ T458] vx20: entered allmulticast mode
[ 58.304180][ T458] vx20: entered promiscuous mode
[ 58.304900][ T458] br2: port 3(vx20) entered blocking state
[ 58.305227][ T458] br2: port 3(vx20) entered forwarding state
[ 59.585663][ T49] br2: port 1(w1) entered blocking state
[ 59.586057][ T49] 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 ]
[ 73.872965][ T531] GACT probability NOT on
# 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 ]
# TEST: ping6: local->local vid 10 [ OK ]
# TEST: ping6: local->local vid 20 [ OK ]
# TEST: ping6: local->remote 1 vid 10 [ OK ]
# TEST: ping6: local->remote 2 vid 10 [ OK ]
# TEST: ping6: local->remote 1 vid 20 [ OK ]
# TEST: ping6: local->remote 2 vid 20 [ OK ]
[ 173.777580][ T11] vx20: left allmulticast mode
[ 173.777917][ T11] vx20: left promiscuous mode
[ 173.778474][ T11] br2: port 3(vx20) entered disabled state
[ 173.787705][ T11] vx10: left allmulticast mode
[ 173.788100][ T11] vx10: left promiscuous mode
[ 173.788643][ T11] br2: port 2(vx10) entered disabled state
[ 173.798229][ T11] w1: left allmulticast mode
[ 173.798522][ T11] w1: left promiscuous mode
[ 173.798899][ T11] br2: port 1(w1) entered disabled state
[ 173.911447][ T11] ==================================================================
[ 173.912047][ T11] BUG: KASAN: slab-out-of-bounds in vxlan_netdevice_event+0x32f/0x340 [vxlan]
[ 173.912646][ T11] Read of size 8 at addr ffff88800a388bd0 by task kworker/u8:0/11
[ 173.913117][ T11]
[ 173.913274][ T11] CPU: 3 PID: 11 Comm: kworker/u8:0 Not tainted 6.8.0-rc2-virtme #1
[ 173.913855][ T11] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 173.914592][ T11] Workqueue: netns cleanup_net
[ 173.914878][ T11] Call Trace:
[ 173.915064][ T11]
[ 173.915245][ T11] dump_stack_lvl+0x64/0xb0
[ 173.915535][ T11] print_address_description.constprop.0+0x2c/0x3b0
[ 173.915987][ T11] ? vxlan_netdevice_event+0x32f/0x340 [vxlan]
[ 173.916479][ T11] print_report+0xb5/0x270
[ 173.916803][ T11] ? kasan_addr_to_slab+0x4e/0x90
[ 173.917126][ T11] kasan_report+0xbe/0xf0
[ 173.917393][ T11] ? vxlan_netdevice_event+0x32f/0x340 [vxlan]
[ 173.917853][ T11] vxlan_netdevice_event+0x32f/0x340 [vxlan]
[ 173.918273][ T11] ? __pfx_vlan_device_event+0x10/0x10 [8021q]
[ 173.918689][ T11] ? __pfx_vxlan_netdevice_event+0x10/0x10 [vxlan]
[ 173.919149][ T11] ? netconsole_netdev_event+0x1b4/0x300
[ 173.919583][ T11] notifier_call_chain+0x9a/0x290
[ 173.919977][ T11] unregister_netdevice_many_notify+0x55a/0x1180
[ 173.920438][ T11] ? mutex_is_locked+0x17/0x50
[ 173.920806][ T11] ? __pfx_unregister_netdevice_many_notify+0x10/0x10
[ 173.921294][ T11] ? vrf_dellink+0x101/0x150 [vrf]
[ 173.921674][ T11] ? __pfx_unregister_netdevice_queue+0x10/0x10
[ 173.922144][ T11] default_device_exit_batch+0x228/0x2c0
[ 173.922618][ T11] ? __pfx_default_device_exit_batch+0x10/0x10
[ 173.923060][ T11] ? mutex_is_locked+0x17/0x50
[ 173.923414][ T11] ? nexthop_net_exit_batch_rtnl+0x83/0x210
[ 173.923859][ T11] cleanup_net+0x4f3/0xa20
[ 173.924205][ T11] ? __pfx_lock_acquire.part.0+0x10/0x10
[ 173.924628][ T11] ? __pfx_cleanup_net+0x10/0x10
[ 173.924997][ T11] ? lock_acquire+0x1c1/0x220
[ 173.925353][ T11] ? process_one_work+0x714/0x1310
[ 173.925712][ T11] process_one_work+0x78c/0x1310
[ 173.926074][ T11] ? hlock_class+0x4e/0x130
[ 173.926411][ T11] ? __pfx_process_one_work+0x10/0x10
[ 173.926745][ T11] ? assign_work+0x16c/0x240
[ 173.927002][ T11] worker_thread+0x73d/0x1010
[ 173.927347][ T11] ? __pfx_worker_thread+0x10/0x10
[ 173.927640][ T11] kthread+0x28f/0x360
[ 173.927847][ T11] ? __pfx_kthread+0x10/0x10
[ 173.928122][ T11] ret_from_fork+0x31/0x70
[ 173.928421][ T11] ? __pfx_kthread+0x10/0x10
[ 173.928757][ T11] ret_from_fork_asm+0x1b/0x30
[ 173.929117][ T11]
[ 173.929307][ T11]
[ 173.929443][ T11] Allocated by task 11:
[ 173.929728][ T11] kasan_save_stack+0x24/0x50
[ 173.930019][ T11] kasan_save_track+0x14/0x30
[ 173.930374][ T11] __kasan_kmalloc+0x7f/0x90
[ 173.930717][ T11] __kmalloc_node_track_caller+0x1fb/0x440
[ 173.931150][ T11] kmalloc_reserve+0xbc/0x1f0
[ 173.931516][ T11] __alloc_skb+0xd4/0x280
[ 173.931807][ T11] rtmsg_ifinfo_build_skb+0x7c/0x240
[ 173.932205][ T11] rtmsg_ifinfo_event.part.0+0x2d/0x120
[ 173.932618][ T11] rtmsg_ifinfo+0x5b/0xa0
[ 173.932926][ T11] __dev_notify_flags+0x1ba/0x250
[ 173.933300][ T11] dev_change_flags+0xec/0x160
[ 173.933648][ T11] cycle_netdev+0xc3/0xf0 [vrf]
[ 173.934043][ T11] vrf_dellink+0xdb/0x150 [vrf]
[ 173.934401][ T11] default_device_exit_batch+0x16a/0x2c0
[ 173.934803][ T11] cleanup_net+0x4f3/0xa20
[ 173.935147][ T11] process_one_work+0x78c/0x1310
[ 173.935493][ T11] worker_thread+0x73d/0x1010
[ 173.935818][ T11] kthread+0x28f/0x360
[ 173.936118][ T11] ret_from_fork+0x31/0x70
[ 173.936433][ T11] ret_from_fork_asm+0x1b/0x30
[ 173.936796][ T11]
[ 173.936959][ T11] Freed by task 11:
[ 173.937259][ T11] kasan_save_stack+0x24/0x50
[ 173.937605][ T11] kasan_save_track+0x14/0x30
[ 173.937937][ T11] kasan_save_free_info+0x3f/0x60
[ 173.938317][ T11] __kasan_slab_free+0xfc/0x1c0
[ 173.938636][ T11] kfree+0xf2/0x2d0
[ 173.938948][ T11] pskb_expand_head+0x33a/0xff0
[ 173.939285][ T11] netlink_trim+0x198/0x200
[ 173.939631][ T11] netlink_broadcast_filtered+0xcb/0x340
[ 173.940063][ T11] nlmsg_notify+0x6e/0x1e0
[ 173.940360][ T11] rtmsg_ifinfo+0x5b/0xa0
[ 173.940621][ T11] __dev_notify_flags+0x1ba/0x250
[ 173.940959][ T11] dev_change_flags+0xec/0x160
[ 173.941262][ T11] cycle_netdev+0xc3/0xf0 [vrf]
[ 173.941600][ T11] vrf_dellink+0xdb/0x150 [vrf]
[ 173.941888][ T11] default_device_exit_batch+0x16a/0x2c0
[ 173.942171][ T11] cleanup_net+0x4f3/0xa20
[ 173.942444][ T11] process_one_work+0x78c/0x1310
[ 173.942713][ T11] worker_thread+0x73d/0x1010
[ 173.942954][ T11] kthread+0x28f/0x360
[ 173.943159][ T11] ret_from_fork+0x31/0x70
[ 173.943386][ T11] ret_from_fork_asm+0x1b/0x30
[ 173.943651][ T11]
[ 173.943812][ T11] The buggy address belongs to the object at ffff88800a389000
[ 173.943812][ T11] which belongs to the cache kmalloc-4k of size 4096
[ 173.944559][ T11] The buggy address is located 1072 bytes to the left of
[ 173.944559][ T11] allocated 4096-byte region [ffff88800a389000, ffff88800a38a000)
[ 173.945447][ T11]
[ 173.945607][ T11] The buggy address belongs to the physical page:
[ 173.945927][ T11] page:ffffea000028e200 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0xa388
[ 173.946522][ T11] head:ffffea000028e200 order:3 entire_mapcount:0 nr_pages_mapped:0 pincount:0
[ 173.947116][ T11] flags: 0x80000000000840(slab|head|node=0|zone=1)
[ 173.947508][ T11] page_type: 0xffffffff()
[ 173.947806][ T11] raw: 0080000000000840 ffff888001043700 ffffea00001b2e10 ffffea0000177810
[ 173.948406][ T11] raw: 0000000000000000 0000000000020002 00000001ffffffff 0000000000000000
[ 173.949006][ T11] page dumped because: kasan: bad access detected
[ 173.949450][ T11]
[ 173.949616][ T11] Memory state around the buggy address:
[ 173.949955][ T11] ffff88800a388a80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[ 173.950505][ T11] ffff88800a388b00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[ 173.951072][ T11] >ffff88800a388b80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[ 173.951636][ T11] ^
[ 173.952097][ T11] ffff88800a388c00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[ 173.952668][ T11] ffff88800a388c80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[ 173.953228][ T11] ==================================================================
[ 173.954658][ T11] Disabling lock debugging due to kernel taint
[ 173.955152][ T11] general protection fault, probably for non-canonical address 0xf999959999999999: 0000 [#1] PREEMPT SMP KASAN NOPTI
[ 173.956085][ T11] KASAN: maybe wild-memory-access in range [0xccccccccccccccc8-0xcccccccccccccccf]
[ 173.956767][ T11] CPU: 3 PID: 11 Comm: kworker/u8:0 Tainted: G B 6.8.0-rc2-virtme #1
[ 173.957497][ T11] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 173.958209][ T11] Workqueue: netns cleanup_net
[ 173.958511][ T11] RIP: 0010:vxlan_netdevice_event+0x19e/0x340 [vxlan]
[ 173.958979][ T11] Code: 00 00 00 48 b9 00 00 00 00 00 fc ff df 49 89 c0 48 89 44 24 08 49 c1 e8 03 4d 8d 24 08 eb 2c 48 8d 53 30 48 89 d0 48 c1 e8 03 <80> 3c 08 00 0f 85 e0 00 00 00 48 8b 43 30 49 89 dd 48 83 e8 30 49
[ 173.960175][ T11] RSP: 0018:ffffc900000bf980 EFLAGS: 00010a07
[ 173.960585][ T11] RAX: 1999999999999999 RBX: cccccccccccccc9c RCX: dffffc0000000000
[ 173.961093][ T11] RDX: cccccccccccccccc RSI: 0000000000000004 RDI: ffff88800a388c24
[ 173.961533][ T11] RBP: 1ffff92000017f33 R08: 1ffff110013ac81a R09: ffffc900000bf9b8
[ 173.962052][ T11] R10: ffffffffa073ca07 R11: 205d313154202020 R12: ffffed10013ac81a
[ 173.962578][ T11] R13: ffff88800a388ba0 R14: ffff8880083f4000 R15: ffff888009d64000
[ 173.963148][ T11] FS: 0000000000000000(0000) GS:ffff888035e00000(0000) knlGS:0000000000000000
[ 173.963764][ T11] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 173.964271][ T11] CR2: 00007f09c148d270 CR3: 0000000006950002 CR4: 0000000000770ef0
[ 173.964896][ T11] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 173.965459][ T11] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 173.966007][ T11] PKRU: 55555554
[ 173.966269][ T11] Call Trace:
[ 173.966489][ T11]
[ 173.966714][ T11] ? die_addr+0x41/0xa0
[ 173.966997][ T11] ? exc_general_protection+0x149/0x220
[ 173.967356][ T11] ? asm_exc_general_protection+0x26/0x30
[ 173.967706][ T11] ? vxlan_netdevice_event+0x19e/0x340 [vxlan]
[ 173.968058][ T11] ? __pfx_vxlan_netdevice_event+0x10/0x10 [vxlan]
[ 173.968422][ T11] ? netconsole_netdev_event+0x1b4/0x300
[ 173.968752][ T11] notifier_call_chain+0x9a/0x290
[ 173.969011][ T11] unregister_netdevice_many_notify+0x55a/0x1180
[ 173.969364][ T11] ? mutex_is_locked+0x17/0x50
[ 173.969611][ T11] ? __pfx_unregister_netdevice_many_notify+0x10/0x10
[ 173.969982][ T11] ? vrf_dellink+0x101/0x150 [vrf]
[ 173.970274][ T11] ? __pfx_unregister_netdevice_queue+0x10/0x10
[ 173.970605][ T11] default_device_exit_batch+0x228/0x2c0
[ 173.970918][ T11] ? __pfx_default_device_exit_batch+0x10/0x10
[ 173.971291][ T11] ? mutex_is_locked+0x17/0x50
[ 173.971556][ T11] ? nexthop_net_exit_batch_rtnl+0x83/0x210
[ 173.971902][ T11] cleanup_net+0x4f3/0xa20
[ 173.972131][ T11] ? __pfx_lock_acquire.part.0+0x10/0x10
[ 173.972444][ T11] ? __pfx_cleanup_net+0x10/0x10
[ 173.972741][ T11] ? lock_acquire+0x1c1/0x220
[ 173.972980][ T11] ? process_one_work+0x714/0x1310
[ 173.973297][ T11] process_one_work+0x78c/0x1310
[ 173.973594][ T11] ? hlock_class+0x4e/0x130
[ 173.973853][ T11] ? __pfx_process_one_work+0x10/0x10
[ 173.974174][ T11] ? assign_work+0x16c/0x240
[ 173.974408][ T11] worker_thread+0x73d/0x1010
[ 173.974711][ T11] ? __pfx_worker_thread+0x10/0x10
[ 173.974978][ T11] kthread+0x28f/0x360
[ 173.975216][ T11] ? __pfx_kthread+0x10/0x10
[ 173.975452][ T11] ret_from_fork+0x31/0x70
[ 173.975743][ T11] ? __pfx_kthread+0x10/0x10
[ 173.975985][ T11] ret_from_fork_asm+0x1b/0x30
[ 173.976329][ T11]
[ 173.976492][ T11] Modules linked in: act_gact cls_flower vxlan ip6_udp_tunnel udp_tunnel bridge stp llc 8021q sch_ingress vrf veth
[ 173.977270][ T11] ---[ end trace 0000000000000000 ]---
[ 173.977666][ T11] RIP: 0010:vxlan_netdevice_event+0x19e/0x340 [vxlan]
[ 173.978043][ T11] Code: 00 00 00 48 b9 00 00 00 00 00 fc ff df 49 89 c0 48 89 44 24 08 49 c1 e8 03 4d 8d 24 08 eb 2c 48 8d 53 30 48 89 d0 48 c1 e8 03 <80> 3c 08 00 0f 85 e0 00 00 00 48 8b 43 30 49 89 dd 48 83 e8 30 49
[ 173.980097][ T11] RSP: 0018:ffffc900000bf980 EFLAGS: 00010a07
[ 173.980651][ T11] RAX: 1999999999999999 RBX: cccccccccccccc9c RCX: dffffc0000000000
[ 173.981160][ T11] RDX: cccccccccccccccc RSI: 0000000000000004 RDI: ffff88800a388c24
[ 173.981751][ T11] RBP: 1ffff92000017f33 R08: 1ffff110013ac81a R09: ffffc900000bf9b8
[ 173.982234][ T11] R10: ffffffffa073ca07 R11: 205d313154202020 R12: ffffed10013ac81a
[ 173.982784][ T11] R13: ffff88800a388ba0 R14: ffff8880083f4000 R15: ffff888009d64000
[ 173.983257][ T11] FS: 0000000000000000(0000) GS:ffff888035e00000(0000) knlGS:0000000000000000
[ 173.983893][ T11] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 173.984306][ T11] CR2: 00007f09c148d270 CR3: 0000000006950002 CR4: 0000000000770ef0
[ 173.984794][ T11] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 173.985327][ T11] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 173.985844][ T11] PKRU: 55555554
[ 173.986059][ T11] Kernel panic - not syncing: Fatal exception
[ 173.986626][ T11] Kernel Offset: 0x1a000000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
[ 173.987244][ T11] ---[ end Kernel panic - not syncing: Fatal exception ]---
WAIT TIMEOUT stdout
Ctrl-C stdout
Ctrl-C stdout
WAIT TIMEOUT stdout