memcpy: detected field-spanning write (size 16) 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: 2 PID: 1140 at ./include/net/ip_tunnels.h:662 ip_tunnel_info_opts_set include/net/ip_tunnels.h:662 [inline] WARNING: CPU: 2 PID: 1140 at ./include/net/ip_tunnels.h:662 geneve_rx drivers/net/geneve.c:244 [inline] WARNING: CPU: 2 PID: 1140 at ./include/net/ip_tunnels.h:662 geneve_udp_encap_recv+0x239e/0x2a20 drivers/net/geneve.c:401 Modules linked in: CPU: 2 UID: 0 PID: 1140 Comm: kworker/u32:7 Not tainted 6.13.0-rc1-syzkaller-00316-gb5f217084ab3 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Workqueue: bat_events batadv_iv_send_outstanding_bat_ogm_packet 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+0x239e/0x2a20 drivers/net/geneve.c:401 Code: 2b e9 ff ff e8 43 26 4c fb c6 05 ba e0 f9 09 01 90 31 c9 48 c7 c2 60 b3 14 8c 4c 89 e6 48 c7 c7 40 b4 14 8c e8 a3 6f 0c fb 90 <0f> 0b 90 90 e9 54 ed ff ff e8 14 26 4c fb e8 3f 1d c5 02 31 ff 41 RSP: 0018:ffffc900006587a0 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffff888064ce4632 RCX: ffffffff815a5159 RDX: ffff8880271dc880 RSI: ffffffff815a5166 RDI: 0000000000000001 RBP: ffffc900006588b8 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000004 R12: 0000000000000010 R13: ffff88801252d800 R14: 0000000000000000 R15: ffff8880435b77c0 FS: 0000000000000000(0000) GS:ffff88806a800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f70270e0d58 CR3: 0000000061a30000 CR4: 0000000000352ef0 DR0: fffffffffffffffc DR1: 0000000000000000 DR2: 0000000000000001 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: udp_queue_rcv_one_skb+0xad5/0x18b0 net/ipv4/udp.c:2316 udp_queue_rcv_skb+0x198/0xd10 net/ipv4/udp.c:2394 udp_unicast_rcv_skb+0x165/0x3b0 net/ipv4/udp.c:2554 __udp4_lib_rcv+0x25fd/0x34e0 net/ipv4/udp.c:2630 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:460 [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:5672 __netif_receive_skb+0x1d/0x160 net/core/dev.c:5785 process_backlog+0x443/0x15f0 net/core/dev.c:6117 __napi_poll.constprop.0+0xb7/0x550 net/core/dev.c:6883 napi_poll net/core/dev.c:6952 [inline] net_rx_action+0xa94/0x1010 net/core/dev.c:7074 handle_softirqs+0x213/0x8f0 kernel/softirq.c:554 do_softirq kernel/softirq.c:455 [inline] do_softirq+0xb2/0xf0 kernel/softirq.c:442 __local_bh_enable_ip+0x100/0x120 kernel/softirq.c:382 local_bh_enable include/linux/bottom_half.h:33 [inline] rcu_read_unlock_bh include/linux/rcupdate.h:919 [inline] __dev_queue_xmit+0x8b0/0x43e0 net/core/dev.c:4461 dev_queue_xmit include/linux/netdevice.h:3168 [inline] batadv_send_skb_packet+0x588/0x770 net/batman-adv/send.c:108 batadv_iv_ogm_send_to_if net/batman-adv/bat_iv_ogm.c:392 [inline] batadv_iv_ogm_emit net/batman-adv/bat_iv_ogm.c:420 [inline] batadv_iv_send_outstanding_bat_ogm_packet+0x70a/0x8d0 net/batman-adv/bat_iv_ogm.c:1700 process_one_work+0x9c5/0x1ba0 kernel/workqueue.c:3229 process_scheduled_works kernel/workqueue.c:3310 [inline] worker_thread+0x6c8/0xf00 kernel/workqueue.c:3391 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244