make -C tools/testing/selftests TARGETS=net/forwarding TEST_PROGS=q_in_vnii_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: q_in_vni_ipv6.sh
[ 21.479853][ T234] ip (234) used greatest stack depth: 23280 bytes left
[ 26.317199][ T285] 8021q: 802.1Q VLAN Support v1.8
[ 32.113474][ T329] br1: port 1(vx100) entered blocking state
[ 32.113938][ T329] br1: port 1(vx100) entered disabled state
[ 32.114466][ T329] vx100: entered allmulticast mode
[ 32.116721][ T329] vx100: entered promiscuous mode
[ 32.118534][ T329] br1: port 1(vx100) entered blocking state
[ 32.118944][ T329] br1: port 1(vx100) entered forwarding state
[ 32.459757][ T331] br1: port 2(veth1) entered blocking state
[ 32.460106][ T331] br1: port 2(veth1) entered disabled state
[ 32.460751][ T331] veth1: entered allmulticast mode
[ 32.462801][ T331] veth1: entered promiscuous mode
[ 32.628967][ T49] br1: port 2(veth1) entered blocking state
[ 32.629371][ T49] br1: port 2(veth1) entered forwarding state
[ 32.938014][ T334] br1: port 3(veth2) entered blocking state
[ 32.938379][ T334] br1: port 3(veth2) entered disabled state
[ 32.938735][ T334] veth2: entered allmulticast mode
[ 32.942063][ T334] veth2: entered promiscuous mode
[ 33.114055][ T50] br1: port 3(veth2) entered blocking state
[ 33.114421][ T50] br1: port 3(veth2) entered forwarding state
[ 38.490738][ T377] br2: port 1(w1) entered blocking state
[ 38.491073][ T377] br2: port 1(w1) entered disabled state
[ 38.492213][ T377] w1: entered allmulticast mode
[ 38.494306][ T377] w1: entered promiscuous mode
[ 39.596823][ T385] br2: port 2(vx100) entered blocking state
[ 39.597338][ T385] br2: port 2(vx100) entered disabled state
[ 39.597697][ T385] vx100: entered allmulticast mode
[ 39.599746][ T385] vx100: entered promiscuous mode
[ 39.600361][ T385] br2: port 2(vx100) entered blocking state
[ 39.600676][ T385] br2: port 2(vx100) entered forwarding state
[ 40.908056][ T8] br2: port 1(w1) entered blocking state
[ 40.908658][ T8] br2: port 1(w1) entered forwarding state
[ 44.700006][ T420] br2: port 1(w1) entered blocking state
[ 44.700353][ T420] br2: port 1(w1) entered disabled state
[ 44.700695][ T420] w1: entered allmulticast mode
[ 44.702794][ T420] w1: entered promiscuous mode
[ 45.787702][ T427] br2: port 2(vx100) entered blocking state
[ 45.788051][ T427] br2: port 2(vx100) entered disabled state
[ 45.788417][ T427] vx100: entered allmulticast mode
[ 45.790498][ T427] vx100: entered promiscuous mode
[ 45.791098][ T427] br2: port 2(vx100) entered blocking state
[ 45.791426][ T427] br2: port 2(vx100) entered forwarding state
[ 47.064237][ T8] br2: port 1(w1) entered blocking state
[ 47.064587][ T8] br2: port 1(w1) entered forwarding state
# Running tests with UDP port 4789
# TEST: ping6: local->local [ OK ]
# TEST: ping6: local->remote 1 [ OK ]
# TEST: ping6: local->remote 2 [ OK ]
[ 62.057362][ T71] vx100: left allmulticast mode
[ 62.057721][ T71] vx100: left promiscuous mode
[ 62.058226][ T71] br2: port 2(vx100) entered disabled state
[ 62.067252][ T71] w1: left allmulticast mode
[ 62.067514][ T71] w1: left promiscuous mode
[ 62.067907][ T71] br2: port 1(w1) entered disabled state
[ 62.161081][ T71] ==================================================================
[ 62.161522][ T71] BUG: KASAN: slab-out-of-bounds in vxlan_netdevice_event+0x32f/0x340 [vxlan]
[ 62.162029][ T71] Read of size 8 at addr ffff888007510bd0 by task kworker/u8:1/71
[ 62.162450][ T71]
[ 62.162575][ T71] CPU: 3 PID: 71 Comm: kworker/u8:1 Not tainted 6.8.0-rc2-virtme #1
[ 62.163002][ T71] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 62.163658][ T71] Workqueue: netns cleanup_net
[ 62.163918][ T71] Call Trace:
[ 62.164113][ T71]
[ 62.164266][ T71] dump_stack_lvl+0x64/0xb0
[ 62.164523][ T71] print_address_description.constprop.0+0x2c/0x3b0
[ 62.164901][ T71] ? vxlan_netdevice_event+0x32f/0x340 [vxlan]
[ 62.165296][ T71] print_report+0xb5/0x270
[ 62.165534][ T71] ? kasan_addr_to_slab+0x4e/0x90
[ 62.165810][ T71] kasan_report+0xbe/0xf0
[ 62.166041][ T71] ? vxlan_netdevice_event+0x32f/0x340 [vxlan]
[ 62.166380][ T71] vxlan_netdevice_event+0x32f/0x340 [vxlan]
[ 62.166714][ T71] ? __pfx_vlan_device_event+0x10/0x10 [8021q]
[ 62.167056][ T71] ? __pfx_vxlan_netdevice_event+0x10/0x10 [vxlan]
[ 62.167435][ T71] ? netconsole_netdev_event+0x1b4/0x300
[ 62.167726][ T71] notifier_call_chain+0x9a/0x290
[ 62.168003][ T71] unregister_netdevice_many_notify+0x55a/0x1180
[ 62.168331][ T71] ? mutex_is_locked+0x17/0x50
[ 62.168578][ T71] ? __pfx_unregister_netdevice_many_notify+0x10/0x10
[ 62.168922][ T71] ? vrf_dellink+0x101/0x150 [vrf]
[ 62.169215][ T71] ? __pfx_unregister_netdevice_queue+0x10/0x10
[ 62.169560][ T71] default_device_exit_batch+0x228/0x2c0
[ 62.169863][ T71] ? __pfx_default_device_exit_batch+0x10/0x10
[ 62.170184][ T71] ? mutex_is_locked+0x17/0x50
[ 62.170440][ T71] ? nexthop_net_exit_batch_rtnl+0x83/0x210
[ 62.170773][ T71] cleanup_net+0x4f3/0xa20
[ 62.171003][ T71] ? __pfx_lock_acquire.part.0+0x10/0x10
[ 62.171326][ T71] ? __pfx_cleanup_net+0x10/0x10
[ 62.171582][ T71] ? lock_acquire+0x1c1/0x220
[ 62.171843][ T71] ? process_one_work+0x714/0x1310
[ 62.172140][ T71] process_one_work+0x78c/0x1310
[ 62.172423][ T71] ? hlock_class+0x4e/0x130
[ 62.172656][ T71] ? __pfx_process_one_work+0x10/0x10
[ 62.172956][ T71] ? assign_work+0x16c/0x240
[ 62.173215][ T71] worker_thread+0x73d/0x1010
[ 62.173464][ T71] ? lockdep_hardirqs_on_prepare.part.0+0x1b1/0x370
[ 62.173819][ T71] ? __pfx_worker_thread+0x10/0x10
[ 62.174101][ T71] ? __pfx_worker_thread+0x10/0x10
[ 62.174404][ T71] kthread+0x28f/0x360
[ 62.174614][ T71] ? __pfx_kthread+0x10/0x10
[ 62.174869][ T71] ret_from_fork+0x31/0x70
[ 62.175133][ T71] ? __pfx_kthread+0x10/0x10
[ 62.175506][ T71] ret_from_fork_asm+0x1b/0x30
[ 62.175756][ T71]
[ 62.175932][ T71]
[ 62.176056][ T71] Allocated by task 71:
[ 62.176304][ T71] kasan_save_stack+0x24/0x50
[ 62.176669][ T71] kasan_save_track+0x14/0x30
[ 62.176910][ T71] __kasan_kmalloc+0x7f/0x90
[ 62.177143][ T71] __kmalloc_node_track_caller+0x1fb/0x440
[ 62.177480][ T71] kmalloc_reserve+0xbc/0x1f0
[ 62.177721][ T71] __alloc_skb+0xd4/0x280
[ 62.177956][ T71] rtmsg_ifinfo_build_skb+0x7c/0x240
[ 62.178254][ T71] rtmsg_ifinfo_event.part.0+0x2d/0x120
[ 62.178563][ T71] rtmsg_ifinfo+0x5b/0xa0
[ 62.178790][ T71] dev_close_many+0x2bd/0x650
[ 62.179065][ T71] unregister_netdevice_many_notify+0x3d5/0x1180
[ 62.179400][ T71] default_device_exit_batch+0x228/0x2c0
[ 62.179705][ T71] cleanup_net+0x4f3/0xa20
[ 62.179935][ T71] process_one_work+0x78c/0x1310
[ 62.180210][ T71] worker_thread+0x73d/0x1010
[ 62.180451][ T71] kthread+0x28f/0x360
[ 62.180674][ T71] ret_from_fork+0x31/0x70
[ 62.180901][ T71] ret_from_fork_asm+0x1b/0x30
[ 62.181144][ T71]
[ 62.181266][ T71] Freed by task 71:
[ 62.181468][ T71] kasan_save_stack+0x24/0x50
[ 62.181733][ T71] kasan_save_track+0x14/0x30
[ 62.182006][ T71] kasan_save_free_info+0x3f/0x60
[ 62.182263][ T71] __kasan_slab_free+0xfc/0x1c0
[ 62.182535][ T71] kfree+0xf2/0x2d0
[ 62.182736][ T71] pskb_expand_head+0x33a/0xff0
[ 62.183015][ T71] netlink_trim+0x198/0x200
[ 62.183248][ T71] netlink_broadcast_filtered+0xcb/0x340
[ 62.183559][ T71] nlmsg_notify+0x6e/0x1e0
[ 62.183824][ T71] rtmsg_ifinfo+0x5b/0xa0
[ 62.184048][ T71] dev_close_many+0x2bd/0x650
[ 62.184302][ T71] unregister_netdevice_many_notify+0x3d5/0x1180
[ 62.184645][ T71] default_device_exit_batch+0x228/0x2c0
[ 62.184963][ T71] cleanup_net+0x4f3/0xa20
[ 62.185190][ T71] process_one_work+0x78c/0x1310
[ 62.185444][ T71] worker_thread+0x73d/0x1010
[ 62.185684][ T71] kthread+0x28f/0x360
[ 62.185891][ T71] ret_from_fork+0x31/0x70
[ 62.186119][ T71] ret_from_fork_asm+0x1b/0x30
[ 62.186370][ T71]
[ 62.186512][ T71] The buggy address belongs to the object at ffff888007511000
[ 62.186512][ T71] which belongs to the cache kmalloc-4k of size 4096
[ 62.187214][ T71] The buggy address is located 1072 bytes to the left of
[ 62.187214][ T71] allocated 4096-byte region [ffff888007511000, ffff888007512000)
[ 62.187954][ T71]
[ 62.188076][ T71] The buggy address belongs to the physical page:
[ 62.188400][ T71] page:ffffea00001d4400 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x7510
[ 62.188910][ T71] head:ffffea00001d4400 order:3 entire_mapcount:0 nr_pages_mapped:0 pincount:0
[ 62.189364][ T71] flags: 0x80000000000840(slab|head|node=0|zone=1)
[ 62.189695][ T71] page_type: 0xffffffff()
[ 62.189916][ T71] raw: 0080000000000840 ffff888001043700 ffffea00001b6c10 ffffea00002c4210
[ 62.190352][ T71] raw: 0000000000000000 0000000000020002 00000001ffffffff 0000000000000000
[ 62.190805][ T71] page dumped because: kasan: bad access detected
[ 62.191146][ T71]
[ 62.191269][ T71] Memory state around the buggy address:
[ 62.191578][ T71] ffff888007510a80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[ 62.192019][ T71] ffff888007510b00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[ 62.192472][ T71] >ffff888007510b80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[ 62.192907][ T71] ^
[ 62.193274][ T71] ffff888007510c00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[ 62.193696][ T71] ffff888007510c80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[ 62.194126][ T71] ==================================================================
[ 62.194669][ T71] Disabling lock debugging due to kernel taint
[ 62.195039][ T71] general protection fault, probably for non-canonical address 0xf999959999999999: 0000 [#1] PREEMPT SMP KASAN NOPTI
[ 62.195701][ T71] KASAN: maybe wild-memory-access in range [0xccccccccccccccc8-0xcccccccccccccccf]
[ 62.196237][ T71] CPU: 3 PID: 71 Comm: kworker/u8:1 Tainted: G B 6.8.0-rc2-virtme #1
[ 62.196797][ T71] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 62.197472][ T71] Workqueue: netns cleanup_net
[ 62.197723][ T71] RIP: 0010:vxlan_netdevice_event+0x19e/0x340 [vxlan]
[ 62.198113][ T71] 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
[ 62.199261][ T71] RSP: 0018:ffffc9000051f980 EFLAGS: 00010a07
[ 62.199595][ T71] RAX: 1999999999999999 RBX: cccccccccccccc9c RCX: dffffc0000000000
[ 62.200051][ T71] RDX: cccccccccccccccc RSI: 0000000000000004 RDI: ffff888007510c24
[ 62.200477][ T71] RBP: 1ffff920000a3f33 R08: 1ffff11000c5181a R09: ffffc9000051f9b8
[ 62.200895][ T71] R10: ffffffff94d3ca07 R11: 205d313754202020 R12: ffffed1000c5181a
[ 62.201347][ T71] R13: ffff888007510ba0 R14: ffff8880096d4000 R15: ffff88800628c000
[ 62.201783][ T71] FS: 0000000000000000(0000) GS:ffff88802f400000(0000) knlGS:0000000000000000
[ 62.202263][ T71] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 62.202629][ T71] CR2: 00007f79d7fb9270 CR3: 0000000005eec005 CR4: 0000000000770ef0
[ 62.203068][ T71] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 62.203539][ T71] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 62.203984][ T71] PKRU: 55555554
[ 62.204181][ T71] Call Trace:
[ 62.204364][ T71]
[ 62.204554][ T71] ? die_addr+0x41/0xa0
[ 62.204799][ T71] ? exc_general_protection+0x149/0x220
[ 62.205138][ T71] ? asm_exc_general_protection+0x26/0x30
[ 62.205486][ T71] ? vxlan_netdevice_event+0x19e/0x340 [vxlan]
[ 62.205827][ T71] ? __pfx_vxlan_netdevice_event+0x10/0x10 [vxlan]
[ 62.206229][ T71] ? netconsole_netdev_event+0x1b4/0x300
[ 62.206545][ T71] notifier_call_chain+0x9a/0x290
[ 62.206834][ T71] unregister_netdevice_many_notify+0x55a/0x1180
[ 62.207209][ T71] ? mutex_is_locked+0x17/0x50
[ 62.207509][ T71] ? __pfx_unregister_netdevice_many_notify+0x10/0x10
[ 62.207863][ T71] ? vrf_dellink+0x101/0x150 [vrf]
[ 62.208159][ T71] ? __pfx_unregister_netdevice_queue+0x10/0x10
[ 62.208501][ T71] default_device_exit_batch+0x228/0x2c0
[ 62.208813][ T71] ? __pfx_default_device_exit_batch+0x10/0x10
[ 62.209137][ T71] ? mutex_is_locked+0x17/0x50
[ 62.209405][ T71] ? nexthop_net_exit_batch_rtnl+0x83/0x210
[ 62.209737][ T71] cleanup_net+0x4f3/0xa20
[ 62.209979][ T71] ? __pfx_lock_acquire.part.0+0x10/0x10
[ 62.210277][ T71] ? __pfx_cleanup_net+0x10/0x10
[ 62.210537][ T71] ? lock_acquire+0x1c1/0x220
[ 62.210799][ T71] ? process_one_work+0x714/0x1310
[ 62.211088][ T71] process_one_work+0x78c/0x1310
[ 62.211363][ T71] ? hlock_class+0x4e/0x130
[ 62.211595][ T71] ? __pfx_process_one_work+0x10/0x10
[ 62.211884][ T71] ? assign_work+0x16c/0x240
[ 62.212122][ T71] worker_thread+0x73d/0x1010
[ 62.212364][ T71] ? lockdep_hardirqs_on_prepare.part.0+0x1b1/0x370
[ 62.212698][ T71] ? __pfx_worker_thread+0x10/0x10
[ 62.212962][ T71] ? __pfx_worker_thread+0x10/0x10
[ 62.213224][ T71] kthread+0x28f/0x360
[ 62.213434][ T71] ? __pfx_kthread+0x10/0x10
[ 62.213671][ T71] ret_from_fork+0x31/0x70
[ 62.213900][ T71] ? __pfx_kthread+0x10/0x10
[ 62.214137][ T71] ret_from_fork_asm+0x1b/0x30
[ 62.214386][ T71]
[ 62.214544][ T71] Modules linked in: vxlan ip6_udp_tunnel udp_tunnel bridge stp llc 8021q sch_ingress vrf veth
[ 62.215145][ T71] ---[ end trace 0000000000000000 ]---
[ 62.215505][ T71] RIP: 0010:vxlan_netdevice_event+0x19e/0x340 [vxlan]
[ 62.215863][ T71] 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
[ 62.217075][ T71] RSP: 0018:ffffc9000051f980 EFLAGS: 00010a07
[ 62.217457][ T71] RAX: 1999999999999999 RBX: cccccccccccccc9c RCX: dffffc0000000000
[ 62.217874][ T71] RDX: cccccccccccccccc RSI: 0000000000000004 RDI: ffff888007510c24
[ 62.218359][ T71] RBP: 1ffff920000a3f33 R08: 1ffff11000c5181a R09: ffffc9000051f9b8
[ 62.218837][ T71] R10: ffffffff94d3ca07 R11: 205d313754202020 R12: ffffed1000c5181a
[ 62.219359][ T71] R13: ffff888007510ba0 R14: ffff8880096d4000 R15: ffff88800628c000
[ 62.219833][ T71] FS: 0000000000000000(0000) GS:ffff88802f400000(0000) knlGS:0000000000000000
[ 62.220384][ T71] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 62.220760][ T71] CR2: 00007f79d7fb9270 CR3: 000000003bb1e006 CR4: 0000000000770ef0
[ 62.221323][ T71] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 62.221787][ T71] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 62.222286][ T71] PKRU: 55555554
[ 62.222505][ T71] Kernel panic - not syncing: Fatal exception
[ 62.222970][ T71] Kernel Offset: 0xe600000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
[ 62.223552][ T71] ---[ end Kernel panic - not syncing: Fatal exception ]---
WAIT TIMEOUT stdout
Ctrl-C stdout
Ctrl-C stdout
WAIT TIMEOUT stdout