------------[ cut here ]------------ memcpy: detected field-spanning write (size 28) of single field "dst" at include/linux/sockptr.h:49 (size 16) WARNING: CPU: 2 PID: 10399 at include/linux/sockptr.h:49 copy_from_sockptr_offset include/linux/sockptr.h:49 [inline] WARNING: CPU: 2 PID: 10399 at include/linux/sockptr.h:49 copy_from_sockptr include/linux/sockptr.h:55 [inline] WARNING: CPU: 2 PID: 10399 at include/linux/sockptr.h:49 packet_setsockopt+0x1e33/0x23c0 net/packet/af_packet.c:3819 Modules linked in: CPU: 2 PID: 10399 Comm: syz-executor.1 Not tainted 6.9.0-rc2-syzkaller-00193-gc88b9b4cde17 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 RIP: 0010:copy_from_sockptr_offset include/linux/sockptr.h:49 [inline] RIP: 0010:copy_from_sockptr include/linux/sockptr.h:55 [inline] RIP: 0010:packet_setsockopt+0x1e33/0x23c0 net/packet/af_packet.c:3819 Code: 13 32 e6 f7 c6 05 1e 9c 23 06 01 90 b9 10 00 00 00 48 c7 c2 40 7d 5f 8c be 1c 00 00 00 48 c7 c7 a0 7a 5f 8c e8 6e 9f a8 f7 90 <0f> 0b 90 90 e9 a8 f9 ff ff e8 df 31 e6 f7 4c 89 fe 4c 89 ef e8 34 RSP: 0018:ffffc90003f87b70 EFLAGS: 00010282 RAX: 0000000000000000 RBX: 1ffff920007f0f74 RCX: ffffc9000ea8f000 RDX: 0000000000040000 RSI: ffffffff814fe176 RDI: 0000000000000001 RBP: ffffc90003f87d10 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000005 R13: ffff88803051a000 R14: 0000000000000001 R15: 000000000000001c FS: 00007f26cbbe56c0(0000) GS:ffff88806b200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f26cbbe4ffc CR3: 00000000249c2000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_sock_setsockopt+0x222/0x480 net/socket.c:2311 __sys_setsockopt+0x1a4/0x270 net/socket.c:2334 __do_sys_setsockopt net/socket.c:2343 [inline] __se_sys_setsockopt net/socket.c:2340 [inline] __x64_sys_setsockopt+0xbd/0x160 net/socket.c:2340 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xd2/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x72/0x7a RIP: 0033:0x7f26cae7de69 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f26cbbe50c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007f26cafabf80 RCX: 00007f26cae7de69 RDX: 0000000000000005 RSI: 0000000000000107 RDI: 0000000000000007 RBP: 00007f26caeca47a R08: 000000000000001c R09: 0000000000000000 R10: 0000000020000040 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f26cafabf80 R15: 00007ffcf7b4eba8