------------[ cut here ]------------ WARNING: CPU: 0 PID: 28612 at net/kcm/kcmsock.c:637 kcm_write_msgs+0x11e9/0x14b0 Modules linked in: CPU: 0 PID: 28612 Comm: syz-executor.3 Not tainted 6.3.0-rc6-syzkaller-00035-g0bcc40255504 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023 RIP: 0010:kcm_write_msgs+0x11e9/0x14b0 net/kcm/kcmsock.c:637 Code: 5c 24 14 89 de e8 b7 04 b6 f7 85 db 8b 44 24 28 0f 45 c3 48 81 c4 90 00 00 00 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 e7 00 b6 f7 <0f> 0b e9 33 ff ff ff e8 db 00 b6 f7 0f 0b e9 2d f6 ff ff e8 cf 00 RSP: 0018:ffffc900042bf878 EFLAGS: 00010246 RAX: ffffffff89d467f9 RBX: 0000000000000000 RCX: 0000000000040000 RDX: ffffc90011bb2000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: dffffc0000000000 R08: ffffffff89d45f4a R09: ffffed10039d3949 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888057d12e48 R13: ffff88803ca9f500 R14: ffff888057d13900 R15: ffff88803ca9fc80 FS: 00007f8fde49a700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe4eaf831b8 CR3: 000000003e151000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kcm_sendmsg+0x1ef2/0x24d0 net/kcm/kcmsock.c:1043 sock_sendmsg_nosec net/socket.c:724 [inline] sock_sendmsg net/socket.c:747 [inline] sock_write_iter+0x397/0x520 net/socket.c:1138 call_write_iter include/linux/fs.h:1851 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x7b2/0xbb0 fs/read_write.c:584 ksys_write+0x1a0/0x2c0 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f8fdd68c169 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f8fde49a168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f8fdd7abf80 RCX: 00007f8fdd68c169 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007f8fdd6e7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffaa09e85f R14: 00007f8fde49a300 R15: 0000000000022000