memcpy: detected field-spanning write (size 8) of single field "_Generic(info, const struct ip_tunnel_info * : ((const void *)((info) + 1)), struct ip_tunnel_info * : ((void *)((info) + 1)) )" at ./include/net/ip_tunnels.h:662 (size 0) WARNING: CPU: 3 PID: 9419 at ./include/net/ip_tunnels.h:662 ip_tunnel_info_opts_set include/net/ip_tunnels.h:662 [inline] WARNING: CPU: 3 PID: 9419 at ./include/net/ip_tunnels.h:662 geneve_rx drivers/net/geneve.c:244 [inline] WARNING: CPU: 3 PID: 9419 at ./include/net/ip_tunnels.h:662 geneve_udp_encap_recv+0x2498/0x2b90 drivers/net/geneve.c:401 Modules linked in: CPU: 3 UID: 0 PID: 9419 Comm: syz.0.1013 Not tainted 6.14.0-rc6-syzkaller #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:ip_tunnel_info_opts_set include/net/ip_tunnels.h:662 [inline] RIP: 0010:geneve_rx drivers/net/geneve.c:244 [inline] RIP: 0010:geneve_udp_encap_recv+0x2498/0x2b90 drivers/net/geneve.c:401 Code: 31 e8 ff ff e8 b9 95 44 fb c6 05 62 99 d5 09 01 90 31 c9 48 c7 c2 80 65 16 8c 4c 89 e6 48 c7 c7 60 66 16 8c e8 89 c5 04 fb 90 <0f> 0b 90 90 e9 5a ec ff ff e8 8a 95 44 fb e8 d5 5d c6 02 31 ff 41 RSP: 0018:ffffc90003947450 EFLAGS: 00010286 RAX: 0000000000000000 RBX: ffff888058910062 RCX: ffffc900077d1000 RDX: 0000000000080000 RSI: ffffffff817a2276 RDI: 0000000000000001 RBP: ffffc90003947570 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000003 R12: 0000000000000008 R13: ffff88802be8f200 R14: 0000000000000000 R15: ffff888047ed7680 FS: 00007f448ec356c0(0000) GS:ffff88806a900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c2d0cd3 CR3: 0000000028d44000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: udp_queue_rcv_one_skb+0xad5/0x18b0 net/ipv4/udp.c:2380 udp_queue_rcv_skb+0x198/0xd10 net/ipv4/udp.c:2458 __udp4_lib_mcast_deliver net/ipv4/udp.c:2550 [inline] __udp4_lib_rcv+0x25c4/0x34e0 net/ipv4/udp.c:2689 ip_protocol_deliver_rcu+0x2ff/0x4c0 net/ipv4/ip_input.c:205 ip_local_deliver_finish+0x316/0x570 net/ipv4/ip_input.c:233 NF_HOOK include/linux/netfilter.h:314 [inline] NF_HOOK include/linux/netfilter.h:308 [inline] ip_local_deliver+0x18e/0x1f0 net/ipv4/ip_input.c:254 dst_input include/net/dst.h:469 [inline] ip_rcv_finish net/ipv4/ip_input.c:447 [inline] NF_HOOK include/linux/netfilter.h:314 [inline] NF_HOOK include/linux/netfilter.h:308 [inline] ip_rcv+0x2c3/0x5d0 net/ipv4/ip_input.c:567 __netif_receive_skb_one_core+0x199/0x1e0 net/core/dev.c:5893 __netif_receive_skb+0x1d/0x160 net/core/dev.c:6006 netif_receive_skb_internal net/core/dev.c:6092 [inline] netif_receive_skb+0x13f/0x7b0 net/core/dev.c:6151 tun_rx_batched.isra.0+0x3eb/0x730 drivers/net/tun.c:1574 tun_get_user+0x2a22/0x3e50 drivers/net/tun.c:2007 tun_chr_write_iter+0xdc/0x210 drivers/net/tun.c:2053 new_sync_write fs/read_write.c:586 [inline] vfs_write+0x5ae/0x1150 fs/read_write.c:679 ksys_write+0x12b/0x250 fs/read_write.c:731 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f448dd8bc1f Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 92 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 4c 93 02 00 48 RSP: 002b:00007f448ec35000 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f448dfa5fa0 RCX: 00007f448dd8bc1f RDX: 0000000000000048 RSI: 0000400000000240 RDI: 00000000000000c8 RBP: 00007f448de0e2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000048 R11: 0000000000000293 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f448dfa5fa0 R15: 00007ffc4eeff4b8