------------[ cut here ]------------ WARNING: CPU: 0 PID: 3637 at net/kcm/kcmsock.c:629 kcm_write_msgs+0x1100/0x13b0 Modules linked in: CPU: 0 PID: 3637 Comm: syz-executor370 Not tainted 6.0.0-rc1-syzkaller-00160-g4c2d0b039c5c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 RIP: 0010:kcm_write_msgs+0x1100/0x13b0 net/kcm/kcmsock.c:629 Code: 31 ff 44 89 e6 e8 80 48 10 f8 45 85 e4 41 0f 45 dc 89 d8 48 81 c4 a0 00 00 00 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 40 44 10 f8 <0f> 0b bb ea ff ff ff e9 4a ff ff ff e8 2f 44 10 f8 0f 0b e9 4c f6 RSP: 0018:ffffc9000391f868 EFLAGS: 00010293 RAX: ffffffff89795410 RBX: 0000000000008000 RCX: ffff88801ca0bb00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff89794b79 R09: ffffed1004ee2859 R10: ffffed1004ee2859 R11: 1ffff11004ee2858 R12: 0000000000000000 R13: dffffc0000000000 R14: ffff88801e7bf800 R15: ffff888072746640 FS: 00007feb208e4700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007feb209a8e88 CR3: 0000000072402000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kcm_sendmsg+0x1f78/0x2590 net/kcm/kcmsock.c:1035 sock_sendmsg_nosec net/socket.c:714 [inline] sock_sendmsg net/socket.c:734 [inline] sock_write_iter+0x3d4/0x540 net/socket.c:1108 call_write_iter include/linux/fs.h:2187 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x7b5/0xbb0 fs/read_write.c:578 ksys_write+0x19b/0x2c0 fs/read_write.c:631 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7feb20953ca9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 15 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:00007feb208e42f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007feb209dc430 RCX: 00007feb20953ca9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007feb209a999c R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007feb209a9078 R13: 656c6c616b7a7973 R14: 0100000000000000 R15: 00007feb209dc438