------------[ cut here ]------------ WARNING: CPU: 1 PID: 6502 at net/kcm/kcmsock.c:631 kcm_write_msgs+0x13b5/0x1560 net/kcm/kcmsock.c:631 Modules linked in: CPU: 1 UID: 0 PID: 6502 Comm: syz.3.20 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 RIP: 0010:kcm_write_msgs+0x13b5/0x1560 net/kcm/kcmsock.c:631 Code: 44 24 60 49 89 06 45 31 e4 eb 60 e8 b5 48 71 f7 e9 e0 ed ff ff e8 ab 48 71 f7 45 31 e4 45 31 ed e9 d0 ed ff ff e8 9b 48 71 f7 <0f> 0b 41 bc ea ff ff ff 48 bb 00 00 00 00 00 fc ff df eb 2d e8 82 RSP: 0018:ffffc90003ce76e0 EFLAGS: 00010293 RAX: ffffffff8a4d88d5 RBX: 0000000000000180 RCX: ffff8880203f9e40 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90003ce78b0 R08: ffffc90003ce7827 R09: 0000000000000000 R10: ffffc90003ce77c0 R11: fffff5200079cf05 R12: dffffc0000000000 R13: ffff88801c7f8000 R14: ffff888058882080 R15: 0000000000000000 FS: 00007fba689816c0(0000) GS:ffff888126778000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2f81093368 CR3: 0000000076fde000 CR4: 00000000003526f0 Call Trace: kcm_sendmsg+0x248d/0x2ab0 net/kcm/kcmsock.c:907 sock_sendmsg_nosec net/socket.c:727 [inline] __sock_sendmsg+0x21c/0x270 net/socket.c:742 sock_write_iter+0x275/0x360 net/socket.c:1195 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x58b/0xb10 fs/read_write.c:686 ksys_write+0x141/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x86/0x540 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x76/0x7e RIP: 0033:0x7fba67b8efc9 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:00007fba68981038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fba67de5fa0 RCX: 00007fba67b8efc9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000006 RBP: 00007fba67c11f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fba67de6038 R14: 00007fba67de5fa0 R15: 00007ffd4a11ceb8