6.8

CVE-2023-53825: kcm: Fix error handling for SOCK_DGRAM in kcm_sendmsg().

Deferred
AliasesUBUNTU-CVE-2023-53825DEBIAN-CVE-2023-53825
Published 09-12-2025Last modified 11-05-2026

Vulnerability summary

CVE-2023-53825 is a medium (CVSS 6.8) vulnerability in linux. EPSS estimates a 0.27% chance of exploitation in the next 30 days, higher than 21.2% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.8, local access); no exploitation reported by the 5 checked sources

CIRCL last checked 06-12-2026

Source freshness unavailable

How is this decided?
CVSS score
6.8/10
010
Medium · v4.0 (OSV · Ubuntu), selected by version preference
EPSS score
0.27%
0%100%
Low · +0.02 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 9 · Related 9

Timeline

  1. 09-12-2025
    PublishedVulnerability first disclosed.
  2. 11-05-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

1 score · 1 source · 1 version

EPSS trend

Probability

0.27%

Chance of exploitation in the next 30 days

Percentile

21%

Versus all other CVEs

30-day change

Increase +0.02 pp

From 0.26% on 05-11-2026

05-11-202605-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

No weakness data has been published for this record.

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu124 products
  • linuxAll versions (No fix recorded) | < 5.4.0-169.187 | < 5.15.0-94.104
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded) | < 5.4.0-1116.126 | < 5.15.0-1053.58
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Debian1 product
  • linux< 6.1.55-1 | < 6.5.6-1
Linux1 product
  • linux≥ ab7ac4eb9832e32a09f4e8042705484d2fb0aad3, < 21b467735b0888a8daa048f83d3b9b50fdab71ce | ≥ ab7ac4eb9832e32a09f4e8042705484d2fb0aad3, < d4b8f380b0a041ee6a84fdac14127d8fe1dcad7b | ≥ ab7ac4eb9832e32a09f4e8042705484d2fb0aad3, < 1ce8362b4ac6b8e65fd04a22ea37ec776ee1ec5b | ≥ ab7ac4eb9832e32a09f4e8042705484d2fb0aad3, < 2e18493c421428a936946c452461b8e979088f17 | ≥ ab7ac4eb9832e32a09f4e8042705484d2fb0aad3, < 55d2e7c1ab8eaa7b62575b8a4194132795d1f9fc | ≥ ab7ac4eb9832e32a09f4e8042705484d2fb0aad3, < e5b28ce127a690f3acc49a6a342e6c9442c9edd6 | ≥ ab7ac4eb9832e32a09f4e8042705484d2fb0aad3, < 992b2ac783aad360b98ed9d4686e86176a20f6f1 | ≥ ab7ac4eb9832e32a09f4e8042705484d2fb0aad3, < a22730b1b4bf437c6bbfdeff5feddf54be4aeada | 4.6

3 vendors · 126 products

References

12 links
Show all 12 references