make -C tools/testing/selftests TARGETS=net/forwarding TEST_PROGS=vxlan_brridge_1d_port_8472.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_1d_port_8472.sh
[ 2973.436833][T16176] br1: port 1(vx1) entered blocking state
[ 2973.437181][T16176] br1: port 1(vx1) entered disabled state
[ 2973.437509][T16176] vx1: entered allmulticast mode
[ 2973.439505][T16176] vx1: entered promiscuous mode
[ 2973.440684][T16176] br1: port 1(vx1) entered blocking state
[ 2973.440990][T16176] br1: port 1(vx1) entered forwarding state
[ 2973.581873][T16177] br1: port 2(veth1) entered blocking state
[ 2973.582685][T16177] br1: port 2(veth1) entered disabled state
[ 2973.583021][T16177] veth1: entered allmulticast mode
[ 2973.585024][T16177] veth1: entered promiscuous mode
[ 2973.730032][T14438] br1: port 2(veth1) entered blocking state
[ 2973.730376][T14438] br1: port 2(veth1) entered forwarding state
[ 2973.866472][T16179] br1: port 3(veth2) entered blocking state
[ 2973.866801][T16179] br1: port 3(veth2) entered disabled state
[ 2973.867153][T16179] veth2: entered allmulticast mode
[ 2973.869146][T16179] veth2: entered promiscuous mode
[ 2974.014646][T16050] br1: port 3(veth2) entered blocking state
[ 2974.014987][T16050] br1: port 3(veth2) entered forwarding state
[ 2978.803588][T16226] br2: port 1(w1) entered blocking state
[ 2978.803916][T16226] br2: port 1(w1) entered disabled state
[ 2978.804267][T16226] w1: entered allmulticast mode
[ 2978.806292][T16226] w1: entered promiscuous mode
[ 2979.680940][T16232] br2: port 2(vx2) entered blocking state
[ 2979.681291][T16232] br2: port 2(vx2) entered disabled state
[ 2979.681631][T16232] vx2: entered allmulticast mode
[ 2979.683617][T16232] vx2: entered promiscuous mode
[ 2979.684579][T16232] br2: port 2(vx2) entered blocking state
[ 2979.684884][T16232] br2: port 2(vx2) entered forwarding state
[ 2980.746738][T16050] br2: port 1(w1) entered blocking state
[ 2980.747091][T16050] br2: port 1(w1) entered forwarding state
[ 2983.314198][T16259] br2: port 1(w1) entered blocking state
[ 2983.314526][T16259] br2: port 1(w1) entered disabled state
[ 2983.314859][T16259] w1: entered allmulticast mode
[ 2983.317497][T16259] w1: entered promiscuous mode
[ 2984.187897][T16265] br2: port 2(vx2) entered blocking state
[ 2984.188241][T16265] br2: port 2(vx2) entered disabled state
[ 2984.188583][T16265] vx2: entered allmulticast mode
[ 2984.190890][T16265] vx2: entered promiscuous mode
[ 2984.191776][T16265] br2: port 2(vx2) entered blocking state
[ 2984.192095][T16265] br2: port 2(vx2) entered forwarding state
[ 2985.226332][T14438] br2: port 1(w1) entered blocking state
[ 2985.226673][T14438] br2: port 1(w1) entered forwarding state
# Running tests with UDP port 8472
# TEST: ping: local->local [ OK ]
# TEST: ping: local->remote 1 [ OK ]
# TEST: ping: local->remote 2 [ OK ]
[ 2998.547676][ T11] vx2: left allmulticast mode
[ 2998.548565][ T11] vx2: left promiscuous mode
[ 2998.549644][ T11] br2: port 2(vx2) entered disabled state
[ 2998.562301][ T11] w1: left allmulticast mode
[ 2998.562560][ T11] w1: left promiscuous mode
[ 2998.562946][ T11] br2: port 1(w1) entered disabled state
[ 2998.647989][ T11] ==================================================================
[ 2998.648470][ T11] BUG: KASAN: slab-out-of-bounds in vxlan_netdevice_event+0x32f/0x340 [vxlan]
[ 2998.648990][ T11] Read of size 8 at addr ffff88800ac20bd0 by task kworker/u8:0/11
[ 2998.649400][ T11]
[ 2998.649548][ T11] CPU: 2 PID: 11 Comm: kworker/u8:0 Not tainted 6.8.0-rc2-virtme #1
[ 2998.649984][ T11] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 2998.650593][ T11] Workqueue: netns cleanup_net
[ 2998.650848][ T11] Call Trace:
[ 2998.651044][ T11]
[ 2998.651198][ T11] dump_stack_lvl+0x64/0xb0
[ 2998.651471][ T11] print_address_description.constprop.0+0x2c/0x3b0
[ 2998.651886][ T11] ? vxlan_netdevice_event+0x32f/0x340 [vxlan]
[ 2998.652246][ T11] print_report+0xb5/0x270
[ 2998.652476][ T11] ? kasan_addr_to_slab+0x4e/0x90
[ 2998.652763][ T11] kasan_report+0xbe/0xf0
[ 2998.653028][ T11] ? vxlan_netdevice_event+0x32f/0x340 [vxlan]
[ 2998.653360][ T11] vxlan_netdevice_event+0x32f/0x340 [vxlan]
[ 2998.653683][ T11] ? __pfx_vxlan_netdevice_event+0x10/0x10 [vxlan]
[ 2998.654040][ T11] ? _raw_spin_unlock+0x23/0x40
[ 2998.654289][ T11] ? mirred_device_event+0x185/0x210 [act_mirred]
[ 2998.654664][ T11] notifier_call_chain+0x9a/0x290
[ 2998.654957][ T11] unregister_netdevice_many_notify+0x55a/0x1180
[ 2998.655306][ T11] ? mutex_is_locked+0x17/0x50
[ 2998.655584][ T11] ? __pfx_unregister_netdevice_many_notify+0x10/0x10
[ 2998.655974][ T11] ? vrf_dellink+0x101/0x150 [vrf]
[ 2998.656289][ T11] ? __pfx_unregister_netdevice_queue+0x10/0x10
[ 2998.656657][ T11] default_device_exit_batch+0x228/0x2c0
[ 2998.656956][ T11] ? __pfx_default_device_exit_batch+0x10/0x10
[ 2998.657293][ T11] ? mutex_is_locked+0x17/0x50
[ 2998.657554][ T11] ? nexthop_net_exit_batch_rtnl+0x83/0x210
[ 2998.657888][ T11] cleanup_net+0x4f3/0xa20
[ 2998.658130][ T11] ? __pfx_lock_acquire.part.0+0x10/0x10
[ 2998.658447][ T11] ? __pfx_cleanup_net+0x10/0x10
[ 2998.658713][ T11] ? lock_acquire+0x1c1/0x220
[ 2998.658984][ T11] ? process_one_work+0x714/0x1310
[ 2998.659298][ T11] process_one_work+0x78c/0x1310
[ 2998.659584][ T11] ? hlock_class+0x4e/0x130
[ 2998.659838][ T11] ? __pfx_process_one_work+0x10/0x10
[ 2998.660145][ T11] ? assign_work+0x16c/0x240
[ 2998.660405][ T11] worker_thread+0x73d/0x1010
[ 2998.660653][ T11] ? __pfx_worker_thread+0x10/0x10
[ 2998.660919][ T11] kthread+0x28f/0x360
[ 2998.661127][ T11] ? __pfx_kthread+0x10/0x10
[ 2998.661386][ T11] ret_from_fork+0x31/0x70
[ 2998.661636][ T11] ? __pfx_kthread+0x10/0x10
[ 2998.661871][ T11] ret_from_fork_asm+0x1b/0x30
[ 2998.662120][ T11]
[ 2998.662280][ T11]
[ 2998.662404][ T11] Allocated by task 11:
[ 2998.662619][ T11] kasan_save_stack+0x24/0x50
[ 2998.662864][ T11] kasan_save_track+0x14/0x30
[ 2998.663102][ T11] __kasan_kmalloc+0x7f/0x90
[ 2998.663337][ T11] __kmalloc_node_track_caller+0x1fb/0x440
[ 2998.663632][ T11] kmalloc_reserve+0xbc/0x1f0
[ 2998.663876][ T11] __alloc_skb+0xd4/0x280
[ 2998.664104][ T11] rtmsg_ifinfo_build_skb+0x7c/0x240
[ 2998.664373][ T11] rtnetlink_event+0xf0/0x1c0
[ 2998.664612][ T11] notifier_call_chain+0x9a/0x290
[ 2998.664868][ T11] __netdev_upper_dev_unlink+0x115/0x220
[ 2998.665152][ T11] netdev_upper_dev_unlink+0x71/0xa0
[ 2998.665424][ T11] vrf_dellink+0xbb/0x150 [vrf]
[ 2998.665685][ T11] default_device_exit_batch+0x16a/0x2c0
[ 2998.665971][ T11] cleanup_net+0x4f3/0xa20
[ 2998.666241][ T11] process_one_work+0x78c/0x1310
[ 2998.666504][ T11] worker_thread+0x73d/0x1010
[ 2998.666770][ T11] kthread+0x28f/0x360
[ 2998.667015][ T11] ret_from_fork+0x31/0x70
[ 2998.667284][ T11] ret_from_fork_asm+0x1b/0x30
[ 2998.667580][ T11]
[ 2998.667701][ T11] Freed by task 11:
[ 2998.667924][ T11] kasan_save_stack+0x24/0x50
[ 2998.668183][ T11] kasan_save_track+0x14/0x30
[ 2998.668432][ T11] kasan_save_free_info+0x3f/0x60
[ 2998.668716][ T11] __kasan_slab_free+0xfc/0x1c0
[ 2998.668963][ T11] kfree+0xf2/0x2d0
[ 2998.669158][ T11] pskb_expand_head+0x33a/0xff0
[ 2998.669421][ T11] netlink_trim+0x198/0x200
[ 2998.669679][ T11] netlink_broadcast_filtered+0xcb/0x340
[ 2998.669980][ T11] nlmsg_notify+0x6e/0x1e0
[ 2998.670238][ T11] rtnetlink_event+0x167/0x1c0
[ 2998.670516][ T11] notifier_call_chain+0x9a/0x290
[ 2998.670791][ T11] __netdev_upper_dev_unlink+0x115/0x220
[ 2998.671094][ T11] netdev_upper_dev_unlink+0x71/0xa0
[ 2998.671405][ T11] vrf_dellink+0xbb/0x150 [vrf]
[ 2998.671673][ T11] default_device_exit_batch+0x16a/0x2c0
[ 2998.671970][ T11] cleanup_net+0x4f3/0xa20
[ 2998.672198][ T11] process_one_work+0x78c/0x1310
[ 2998.672478][ T11] worker_thread+0x73d/0x1010
[ 2998.672731][ T11] kthread+0x28f/0x360
[ 2998.672942][ T11] ret_from_fork+0x31/0x70
[ 2998.673169][ T11] ret_from_fork_asm+0x1b/0x30
[ 2998.673434][ T11]
[ 2998.673581][ T11] The buggy address belongs to the object at ffff88800ac21000
[ 2998.673581][ T11] which belongs to the cache kmalloc-4k of size 4096
[ 2998.674307][ T11] The buggy address is located 1072 bytes to the left of
[ 2998.674307][ T11] allocated 4096-byte region [ffff88800ac21000, ffff88800ac22000)
[ 2998.675119][ T11]
[ 2998.675240][ T11] The buggy address belongs to the physical page:
[ 2998.675580][ T11] page:ffffea00002b0800 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0xac20
[ 2998.676149][ T11] head:ffffea00002b0800 order:3 entire_mapcount:0 nr_pages_mapped:0 pincount:0
[ 2998.676613][ T11] flags: 0x80000000000840(slab|head|node=0|zone=1)
[ 2998.676963][ T11] page_type: 0xffffffff()
[ 2998.677183][ T11] raw: 0080000000000840 ffff888001043700 ffffea00002f8410 ffffea00002cdc10
[ 2998.677662][ T11] raw: 0000000000000000 0000000000020002 00000001ffffffff 0000000000000000
[ 2998.678104][ T11] page dumped because: kasan: bad access detected
[ 2998.678433][ T11]
[ 2998.678554][ T11] Memory state around the buggy address:
[ 2998.678842][ T11] ffff88800ac20a80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[ 2998.679243][ T11] ffff88800ac20b00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[ 2998.679702][ T11] >ffff88800ac20b80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[ 2998.680136][ T11] ^
[ 2998.680489][ T11] ffff88800ac20c00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[ 2998.680898][ T11] ffff88800ac20c80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[ 2998.681351][ T11] ==================================================================
[ 2998.682014][ T11] Disabling lock debugging due to kernel taint
[ 2998.682374][ T11] general protection fault, probably for non-canonical address 0xf999959999999999: 0000 [#1] PREEMPT SMP KASAN NOPTI
[ 2998.683036][ T11] KASAN: maybe wild-memory-access in range [0xccccccccccccccc8-0xcccccccccccccccf]
[ 2998.683568][ T11] CPU: 2 PID: 11 Comm: kworker/u8:0 Tainted: G B 6.8.0-rc2-virtme #1
[ 2998.684067][ T11] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 2998.684748][ T11] Workqueue: netns cleanup_net
[ 2998.685057][ T11] RIP: 0010:vxlan_netdevice_event+0x19e/0x340 [vxlan]
[ 2998.685452][ 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
[ 2998.686504][ T11] RSP: 0018:ffffc900000bf980 EFLAGS: 00010a07
[ 2998.686850][ T11] RAX: 1999999999999999 RBX: cccccccccccccc9c RCX: dffffc0000000000
[ 2998.687307][ T11] RDX: cccccccccccccccc RSI: 0000000000000004 RDI: ffff88800ac20c24
[ 2998.687718][ T11] RBP: 1ffff92000017f33 R08: 1ffff110016b621a R09: ffffc900000bf9b8
[ 2998.688142][ T11] R10: ffffffffab53ca07 R11: 205d313154202020 R12: ffffed10016b621a
[ 2998.688559][ T11] R13: ffff88800ac20ba0 R14: ffff88800ad44000 R15: ffff88800b5b1000
[ 2998.688986][ T11] FS: 0000000000000000(0000) GS:ffff888035a00000(0000) knlGS:0000000000000000
[ 2998.689460][ T11] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 2998.689821][ T11] CR2: 0000564190578dec CR3: 00000000069be002 CR4: 0000000000770ef0
[ 2998.690246][ T11] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 2998.690676][ T11] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 2998.691113][ T11] PKRU: 55555554
[ 2998.691331][ T11] Call Trace:
[ 2998.691499][ T11]
[ 2998.691679][ T11] ? die_addr+0x41/0xa0
[ 2998.691892][ T11] ? exc_general_protection+0x149/0x220
[ 2998.692176][ T11] ? asm_exc_general_protection+0x26/0x30
[ 2998.692470][ T11] ? vxlan_netdevice_event+0x19e/0x340 [vxlan]
[ 2998.692795][ T11] ? __pfx_vxlan_netdevice_event+0x10/0x10 [vxlan]
[ 2998.693135][ T11] ? _raw_spin_unlock+0x23/0x40
[ 2998.693383][ T11] ? mirred_device_event+0x185/0x210 [act_mirred]
[ 2998.693712][ T11] notifier_call_chain+0x9a/0x290
[ 2998.693972][ T11] unregister_netdevice_many_notify+0x55a/0x1180
[ 2998.694294][ T11] ? mutex_is_locked+0x17/0x50
[ 2998.694538][ T11] ? __pfx_unregister_netdevice_many_notify+0x10/0x10
[ 2998.694878][ T11] ? vrf_dellink+0x101/0x150 [vrf]
[ 2998.695142][ T11] ? __pfx_unregister_netdevice_queue+0x10/0x10
[ 2998.695460][ T11] default_device_exit_batch+0x228/0x2c0
[ 2998.695751][ T11] ? __pfx_default_device_exit_batch+0x10/0x10
[ 2998.696067][ T11] ? mutex_is_locked+0x17/0x50
[ 2998.696310][ T11] ? nexthop_net_exit_batch_rtnl+0x83/0x210
[ 2998.696645][ T11] cleanup_net+0x4f3/0xa20
[ 2998.696886][ T11] ? __pfx_lock_acquire.part.0+0x10/0x10
[ 2998.697196][ T11] ? __pfx_cleanup_net+0x10/0x10
[ 2998.697471][ T11] ? lock_acquire+0x1c1/0x220
[ 2998.697735][ T11] ? process_one_work+0x714/0x1310
[ 2998.698030][ T11] process_one_work+0x78c/0x1310
[ 2998.698312][ T11] ? hlock_class+0x4e/0x130
[ 2998.698561][ T11] ? __pfx_process_one_work+0x10/0x10
[ 2998.698840][ T11] ? assign_work+0x16c/0x240
[ 2998.699087][ T11] worker_thread+0x73d/0x1010
[ 2998.699345][ T11] ? __pfx_worker_thread+0x10/0x10
[ 2998.699640][ T11] kthread+0x28f/0x360
[ 2998.699872][ T11] ? __pfx_kthread+0x10/0x10
[ 2998.700126][ T11] ret_from_fork+0x31/0x70
[ 2998.700364][ T11] ? __pfx_kthread+0x10/0x10
[ 2998.700597][ T11] ret_from_fork_asm+0x1b/0x30
[ 2998.700866][ T11]
[ 2998.701041][ T11] Modules linked in: vxlan ip6_udp_tunnel udp_tunnel act_vlan act_pedit dummy sch_tbf sch_ets cls_matchall ip_gre act_mirred act_police act_gact cls_flower sch_ingress ip6_gre ip6_tunnel tunnel6 gre bridge stp llc 8021q vrf veth
[ 2998.702374][ T11] ---[ end trace 0000000000000000 ]---
[ 2998.702675][ T11] RIP: 0010:vxlan_netdevice_event+0x19e/0x340 [vxlan]
[ 2998.703532][ 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
[ 2998.704644][ T11] RSP: 0018:ffffc900000bf980 EFLAGS: 00010a07
[ 2998.705011][ T11] RAX: 1999999999999999 RBX: cccccccccccccc9c RCX: dffffc0000000000
[ 2998.705465][ T11] RDX: cccccccccccccccc RSI: 0000000000000004 RDI: ffff88800ac20c24
[ 2998.705890][ T11] RBP: 1ffff92000017f33 R08: 1ffff110016b621a R09: ffffc900000bf9b8
[ 2998.706352][ T11] R10: ffffffffab53ca07 R11: 205d313154202020 R12: ffffed10016b621a
[ 2998.706772][ T11] R13: ffff88800ac20ba0 R14: ffff88800ad44000 R15: ffff88800b5b1000
[ 2998.707193][ T11] FS: 0000000000000000(0000) GS:ffff888035a00000(0000) knlGS:0000000000000000
[ 2998.707645][ T11] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 2998.707978][ T11] CR2: 0000564190578dec CR3: 00000000069be002 CR4: 0000000000770ef0
[ 2998.708390][ T11] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 2998.708789][ T11] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 2998.709194][ T11] PKRU: 55555554
[ 2998.709376][ T11] Kernel panic - not syncing: Fatal exception
[ 2998.709779][ T11] Kernel Offset: 0x24e00000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
[ 2998.710360][ T11] ---[ end Kernel panic - not syncing: Fatal exception ]---
WAIT TIMEOUT stdout
Ctrl-C stdout
Ctrl-C stdout
WAIT TIMEOUT stdout