------------[ cut here ]------------ WARNING: CPU: 0 PID: 6269 at net/kcm/kcmsock.c:630 kcm_write_msgs+0x13be/0x1570 net/kcm/kcmsock.c:630 Modules linked in: CPU: 0 UID: 0 PID: 6269 Comm: syz-executor.0 Not tainted 6.15.0-rc5-syzkaller-01021-g0b28182c73a3 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:kcm_write_msgs+0x13be/0x1570 net/kcm/kcmsock.c:630 Code: 24 60 49 89 06 45 31 e4 eb 68 e8 4d 73 37 f7 e9 dc ed ff ff e8 43 73 37 f7 45 31 e4 45 31 ed e9 cc ed ff ff e8 33 73 37 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:ffffc90004c7f720 EFLAGS: 00010293 RAX: ffffffff8a885d1d RBX: 0000000000000180 RCX: ffff88806cb71e00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90004c7f8f0 R08: ffffc90004c7f867 R09: 0000000000000000 R10: ffffc90004c7f800 R11: fffff5200098ff0d R12: dffffc0000000000 R13: ffff88806dfccb00 R14: ffff8880774109c0 R15: 0000000000000000 FS: 00007f27a038e6c0(0000) GS:ffff8881260c0000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002019c000 CR3: 000000007c526000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kcm_sendmsg+0x243b/0x29f0 net/kcm/kcmsock.c:907 sock_sendmsg_nosec net/socket.c:712 [inline] __sock_sendmsg+0x219/0x270 net/socket.c:727 sock_write_iter+0x258/0x330 net/socket.c:1131 new_sync_write fs/read_write.c:591 [inline] vfs_write+0x548/0xa90 fs/read_write.c:684 ksys_write+0x145/0x250 fs/read_write.c:736 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f279f67c899 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:00007f27a038e0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f279f79bf80 RCX: 00007f279f67c899 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 RBP: 00007f279f6d8ad0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f279f79bf80 R15: 00007fff4c21f528