------------[ cut here ]------------ WARNING: CPU: 0 PID: 4610 at net/kcm/kcmsock.c:633 kcm_write_msgs+0x800/0xfc0 Modules linked in: CPU: 0 PID: 4610 Comm: syz-executor.0 Not tainted 5.15.167-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : kcm_write_msgs+0x800/0xfc0 lr : kcm_write_msgs+0x7fc/0xfc0 net/kcm/kcmsock.c:633 sp : ffff80001fef7620 x29: ffff80001fef76a0 x28: 00000000ffffffea x27: dfff800000000000 x26: 0000000000198000 x25: ffff0000e19a0c00 x24: ffff0000c91b63c0 x23: ffff0000ca0f5140 x22: ffff0000ca0f5280 x21: 0000000000000011 x20: ffff0000da41dc00 x19: 0000000000000000 x18: 0000000000000000 x17: 0000000000000000 x16: ffff8000084c5eb8 x15: 0000000000000001 x14: 1ffff0000295806a x13: dfff800000000000 x12: 0000000000000003 x11: 0000000000000000 x10: 0000000000000000 x9 : ffff0000cc8f9b40 x8 : ffff80001104e7d8 x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff80000804605c x2 : 0000000000000006 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: kcm_write_msgs+0x800/0xfc0 kcm_sendmsg+0x1824/0x1ddc net/kcm/kcmsock.c:1040 sock_sendmsg_nosec net/socket.c:704 [inline] __sock_sendmsg net/socket.c:716 [inline] sock_write_iter+0x2b0/0x3f8 net/socket.c:1079 call_write_iter include/linux/fs.h:2172 [inline] new_sync_write fs/read_write.c:507 [inline] vfs_write+0x884/0xb44 fs/read_write.c:594 ksys_write+0x15c/0x26c fs/read_write.c:647 __do_sys_write fs/read_write.c:659 [inline] __se_sys_write fs/read_write.c:656 [inline] __arm64_sys_write+0x7c/0x90 fs/read_write.c:656 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 14728 hardirqs last enabled at (14727): [] __local_bh_enable_ip+0x230/0x470 kernel/softirq.c:388 hardirqs last disabled at (14728): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (14726): [] spin_unlock_bh include/linux/spinlock.h:408 [inline] softirqs last enabled at (14726): [] release_sock+0x1e4/0x270 net/core/sock.c:3276 softirqs last disabled at (14724): [] spin_lock_bh include/linux/spinlock.h:368 [inline] softirqs last disabled at (14724): [] release_sock+0x3c/0x270 net/core/sock.c:3263 ---[ end trace 6edcaa3b53888979 ]--- KCM: Hard failure on kcm_write_msgs