CVE-2025-39964: crypto: af_alg - Disallow concurrent writes in af_alg_sendmsg
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.
Security readout for executives and security teams
Plain-English summary
A Linux kernel flaw allows concurrent writes to the same kernel cryptography socket, causing unpredictable data mixing and inconsistent internal state. The supplied CVSS rates potential confidentiality, integrity, and availability impact as high. Exploitation requires local, low-privileged access; this is not described as directly remotely exploitable.
Executive priority
Treat this as a high-priority kernel maintenance issue, especially on systems shared with untrusted or low-privileged users. It does not warrant the urgency of a confirmed remote or actively exploited flaw, but the potential system-wide impact supports prompt, controlled patching after identifying applicable vendor builds.
Technical view
The affected af_alg_sendmsg path did not prevent simultaneous writers on one AF_ALG socket. Their data could interleave unpredictably and corrupt socket state. The kernel fix adds a ctx->write field to enforce exclusive write ownership. The sources do not describe a demonstrated path from this inconsistency to each CVSS impact.
Likely exposure
Exposure is most relevant where low-privileged local users or processes can access affected AF_ALG functionality. The record identifies affected Linux versions and several branch-specific fixes, but its version encoding is insufficient to map every distribution package reliably. Confirm exposure through vendor advisories and patch presence.
Exploitation context
The supplied CVSS is 7.8: local access, low complexity, low privileges, and no user interaction. The bundle marks the CVE as absent from KEV and provides no evidence of active exploitation or a public proof of concept. Absence of cited evidence does not establish that exploitation is impossible.
Researcher notes
The root condition is concurrent af_alg_sendmsg activity against one socket, producing interleaving and internal-state inconsistency. Multiple stable commits indicate branch-specific backports. Exact vulnerable ranges, concrete corruption outcomes, exploit reliability, and detection indicators are not established by the supplied material, so patch-presence verification is more dependable than simple version comparison.
Mitigation direction
Apply the vendor-supported kernel update containing the applicable kernel.org fix for each deployed branch.
Inventory Linux kernels and prioritize hosts allowing untrusted or low-privileged local workloads.
Use distribution advisories to map patched package versions; do not rely solely on upstream version strings.
If patching is delayed, review vendor guidance; the supplied sources name no specific workaround.
Validation and detection
Record running kernel builds and compare them with applicable vendor advisories and affected-version data.
Verify that each deployed kernel contains the appropriate stable fix commit or vendor backport.
After updating, confirm systems booted into the remediated kernel build.
Recheck inventories for active or bootable vulnerable kernels.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2025-39964 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.