------------[ cut here ]------------ WARNING: CPU: 0 PID: 6306 at net/kcm/kcmsock.c:631 kcm_write_msgs+0x13be/0x1570 net/kcm/kcmsock.c:631 Modules linked in: CPU: 0 UID: 0 PID: 6306 Comm: syz-executor.2 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+0x13be/0x1570 net/kcm/kcmsock.c:631 Code: 24 60 49 89 06 45 31 e4 eb 68 e8 5d 73 4a f7 e9 dc ed ff ff e8 53 73 4a f7 45 31 e4 45 31 ed e9 cc ed ff ff e8 43 73 4a f7 90 <0f> 0b 90 41 bc ea ff ff ff 48 bb 00 00 00 00 00 fc ff df eb 33 e8 RSP: 0018:ffffc9000b1776e0 EFLAGS: 00010293 RAX: ffffffff8a75933d RBX: 0000000000000180 RCX: ffff88802bbb5ac0 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000b1778b0 R08: ffffc9000b177827 R09: ffffc9000b1777c0 R10: dffffc0000000000 R11: fffff5200162ef05 R12: dffffc0000000000 R13: ffff888031f51600 R14: ffff888072f3f0c0 R15: 0000000000000000 FS: 00007fc30d9f66c0(0000) GS:ffff88812613e000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002003b000 CR3: 000000005cd32000 CR4: 0000000000350ef0 Call Trace: kcm_sendmsg+0x24a3/0x2ad0 net/kcm/kcmsock.c:907 sock_sendmsg_nosec net/socket.c:727 [inline] __sock_sendmsg+0x21c/0x270 net/socket.c:742 sock_write_iter+0x279/0x360 net/socket.c:1195 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x5c9/0xb30 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc30e67c8d9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fc30d9f60c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fc30e79bf80 RCX: 00007fc30e67c8d9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 RBP: 00007fc30e6d8ad0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fc30e79bf80 R15: 00007ffef19eff08