CVE-2025-39964

Executive Summary

CVE-2025-39964 exposes a flaw in the Linux kernel’s crypto af_alg socket implementation: concurrent writes to the same socket interleave unpredictably and can corrupt internal socket state. The issue is actively exploited (CISA KEV). The patch introduces a write ownership flag to serialize access, preventing data corruption and state inconsistencies.


Authoritative CVE Metadata

  • CVSS Base Score: 7.8 (HIGH)
  • Last Modified: 19-09-26
CAUTION

Known Exploited Vulnerability: YES (CISA KEV Added: 18-09-26)

Original Description

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

crypto: af_alg - Disallow concurrent writes in af_alg_sendmsg

Issuing two writes to the same af_alg socket is bogus as the data will be interleaved in an unpredictable fashion. Furthermore, concurrent writes may create inconsistencies in the internal socket state.

Disallow this by adding a new ctx->write field that indiciates exclusive ownership for writing.