================================================================================ UBSAN: object-size-mismatch in ./include/net/flow.h:197:33 member access within address 000000009f21b245 with insufficient space for an object of type 'struct flowi' CPU: 0 PID: 2791 Comm: kworker/u4:5 Not tainted 5.12.0-rc8-next-20210421-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: wg-kex-wg0 wg_packet_handshake_send_worker Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x19d/0x24e lib/dump_stack.c:120 ubsan_epilogue lib/ubsan.c:148 [inline] handle_object_size_mismatch lib/ubsan.c:229 [inline] ubsan_type_mismatch_common+0x1de/0x390 lib/ubsan.c:242 __ubsan_handle_type_mismatch_v1+0x41/0x50 lib/ubsan.c:271 flowi4_to_flowi_common include/net/flow.h:197 [inline] send4+0x39b/0xe30 drivers/net/wireguard/socket.c:52 wg_socket_send_skb_to_peer+0xc7/0x200 drivers/net/wireguard/socket.c:174 wg_packet_send_handshake_initiation drivers/net/wireguard/send.c:40 [inline] wg_packet_handshake_send_worker+0x14a/0x190 drivers/net/wireguard/send.c:51 process_one_work+0x471/0x840 kernel/workqueue.c:2275 worker_thread+0x757/0xb10 kernel/workqueue.c:2421 kthread+0x39a/0x3c0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 ================================================================================ ================================================================================ UBSAN: object-size-mismatch in ./include/net/flow.h:197:33 member access within address 000000009f21b245 with insufficient space for an object of type 'union (anonymous union at ./include/net/flow.h:172:2)' CPU: 0 PID: 2791 Comm: kworker/u4:5 Not tainted 5.12.0-rc8-next-20210421-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: wg-kex-wg0 wg_packet_handshake_send_worker Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x19d/0x24e lib/dump_stack.c:120 ubsan_epilogue lib/ubsan.c:148 [inline] handle_object_size_mismatch lib/ubsan.c:229 [inline] ubsan_type_mismatch_common+0x1de/0x390 lib/ubsan.c:242 __ubsan_handle_type_mismatch_v1+0x41/0x50 lib/ubsan.c:271 flowi4_to_flowi_common include/net/flow.h:197 [inline] send4+0x3aa/0xe30 drivers/net/wireguard/socket.c:52 wg_socket_send_skb_to_peer+0xc7/0x200 drivers/net/wireguard/socket.c:174 wg_packet_send_handshake_initiation drivers/net/wireguard/send.c:40 [inline] wg_packet_handshake_send_worker+0x14a/0x190 drivers/net/wireguard/send.c:51 process_one_work+0x471/0x840 kernel/workqueue.c:2275 worker_thread+0x757/0xb10 kernel/workqueue.c:2421 kthread+0x39a/0x3c0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 ================================================================================ wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50