------------[ cut here ]------------ WARNING: CPU: 1 PID: 23959 at net/kcm/kcmsock.c:628 kcm_write_msgs+0x10e5/0x1920 net/kcm/kcmsock.c:628 Modules linked in: CPU: 1 PID: 23959 Comm: syz-executor.3 Not tainted 5.11.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:kcm_write_msgs+0x10e5/0x1920 net/kcm/kcmsock.c:628 Code: df 48 c1 ea 03 80 3c 02 00 0f 85 6e 06 00 00 48 8b 44 24 68 45 31 e4 48 8b 74 24 08 48 89 70 10 e9 94 f3 ff ff e8 3b 21 62 f9 <0f> 0b 41 bc ea ff ff ff e9 82 f3 ff ff e8 29 21 62 f9 0f 0b e9 b6 RSP: 0018:ffffc9000185f9b0 EFLAGS: 00010216 RAX: 0000000000002123 RBX: 00000000000000c0 RCX: ffffc9000feb3000 RDX: 0000000000040000 RSI: ffffffff8810a885 RDI: 0000000000000003 RBP: ffff888022f560c0 R08: 0000000000008000 R09: 0000000000000000 R10: ffffffff88109ec1 R11: 0000000000000000 R12: 0000000000008000 R13: ffff88802d3d8000 R14: ffff888022f56000 R15: 0000000000000000 FS: 00007fc5c8a80700(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000016b9e60 CR3: 000000001376b000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kcm_sendmsg+0x1b79/0x20d0 net/kcm/kcmsock.c:1034 sock_sendmsg_nosec net/socket.c:652 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:672 sock_write_iter+0x289/0x3c0 net/socket.c:999 call_write_iter include/linux/fs.h:1901 [inline] new_sync_write+0x426/0x650 fs/read_write.c:518 vfs_write+0x791/0xa30 fs/read_write.c:605 ksys_write+0x1ee/0x250 fs/read_write.c:658 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45e219 Code: 0d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fc5c8a7fc68 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045e219 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000006 RBP: 000000000119bfc0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119bf8c R13: 00007ffe9c46fbdf R14: 00007fc5c8a809c0 R15: 000000000119bf8c