Menu

Star on GitHub · 3.2k

CVE-2023-53825

In the Linux kernel, the following vulnerability has been resolved: kcm: Fix error handling for SOCK_DGRAM in kcm_sendmsg().

Published Dec 9, 2025EPSS 0.26%

Overview

CVE-2023-53825 is a known-severity vulnerability. It was published on December 9, 2025.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

kcm: Fix error handling for SOCK_DGRAM in kcm_sendmsg().

syzkaller found a memory leak in kcm_sendmsg(), and commit c821a88bd720

("kcm: Fix memory leak in error path of kcm_sendmsg()") suppressed it by

updating kcm_tx_msg(head)->last_skb if partial data is copied so that the

following sendmsg() will resume from the skb.

However, we cannot know how many bytes were copied when we get the error.

Thus, we could mess up the MSG_MORE queue.

When kcm_sendmsg() fails for SOCK_DGRAM, we should purge the queue as we

do so for UDP by udp_flush_pending_frames().

Even without this change, when the error occurred, the following sendmsg()

resumed from a wrong skb and the queue was messed up. However, we have

yet to get such a report, and only syzkaller stumbled on it. So, this

can be changed safely.

Note this does not change SOCK_SEQPACKET behaviour.

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2023-53825?

CVE-2023-53825 is a known-severity vulnerability. It was published on December 9, 2025.

How severe is CVE-2023-53825?

CVSS score information is not yet available for this vulnerability. Check back as the CVE record is updated by NVD analysts.

How do I fix or remediate CVE-2023-53825?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2023-53825?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2023-53825 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.