------------[ cut here ]------------
WARNING: CPU: 0 PID: 4777 at net/kcm/kcmsock.c:634 kcm_write_msgs+0x1031/0x12e0 net/kcm/kcmsock.c:634
Modules linked in:
CPU: 0 PID: 4777 Comm: syz.4.102 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
RIP: 0010:kcm_write_msgs+0x1031/0x12e0 net/kcm/kcmsock.c:634
Code: ff 44 89 f6 e8 30 5f 31 f8 45 85 f6 45 0f 45 fe 44 89 f8 48 81 c4 a0 00 00 00 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 af 5b 31 f8 <0f> 0b 41 bf ea ff ff ff 48 83 7c 24 48 00 0f 85 2f ff ff ff e9 50
RSP: 0018:ffffc9000499f8a8 EFLAGS: 00010293
RAX: ffffffff894f7ab1 RBX: 0000000000000000 RCX: ffff88807c235940
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: dffffc0000000000 R08: dffffc0000000000 R09: fffffbfff215c46b
R10: fffffbfff215c46b R11: 1ffffffff215c46a R12: 0000000000000000
R13: ffff888023cd3280 R14: 0000000000000000 R15: 0000000000008000
FS: 00007f8eee7dd6c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000020000025d000 CR3: 000000005ff53000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
kcm_sendmsg+0x1ce4/0x22e0 net/kcm/kcmsock.c:1041
sock_sendmsg_nosec net/socket.c:718 [inline]
__sock_sendmsg net/socket.c:730 [inline]
sock_write_iter+0x2b5/0x3a0 net/socket.c:1143
call_write_iter include/linux/fs.h:2265 [inline]
new_sync_write fs/read_write.c:491 [inline]
vfs_write+0x44c/0x960 fs/read_write.c:584
ksys_write+0x143/0x240 fs/read_write.c:637
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f8eef18efc9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f8eee7dd038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f8eef3e6090 RCX: 00007f8eef18efc9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000006
RBP: 00007f8eef211f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f8eef3e6128 R14: 00007f8eef3e6090 R15: 00007ffd3c2fce88
</TASK>