crypto: af_alg - Disallow concurrent writes in af_alg_sendmsg
- CVE-2025-39964
- GHSA-wr5g-mfhw-rpfj
- EUVD-2025-34068
Summary
CVE-2025-39964 affects the Linux kernel crypto API's af_alg socket interface. Issuing two writes to the same af_alg socket at once let data interleave unpredictably and could leave the socket's internal state inconsistent. The fix adds a write-ownership field to the socket context so that only one writer holds exclusive write access at a time in af_alg_sendmsg. The record carries a CVSS score of 7.8 and is listed in CISA's known exploited vulnerabilities catalog, so systems running affected kernels should be prioritized for patching.
AI summary · verify against the vendor advisory
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.
Text from the CVE.org record.
Required action
Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.
From CISA KEV · due for US federal agencies by Sep 21, 2026
Recommendation
linux linux kernel
- If you run a version from 6.13 to before 6.16.9update to 6.16.9 or laterMinor version change: check the release notes
- If you run a version from 6.7 to before 6.12.49update to 6.12.49 or laterMinor version change: check the release notes
- If you run a version from 6.2 to before 6.6.108update to 6.6.108 or laterMinor version change: check the release notes
- If you run a version from 5.16 to before 6.1.154update to 6.1.154 or laterMajor version change: expect breaking changes
- If you run a version from 5.11 to before 5.15.194update to 5.15.194 or laterMinor version change: check the release notes
- If you run a version from 2.6.38 to before 5.10.245update to 5.10.245 or laterMajor version change: expect breaking changes
Some affected versions have no stated fix.
Taken from the version ranges of the NVD record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
linux linux kernel
Affected versions Fixed in from 6.13 to before 6.16.9 6.16.9 from 6.7 to before 6.12.49 6.12.49 from 6.2 to before 6.6.108 6.6.108 from 5.16 to before 6.1.154 6.1.154 from 5.11 to before 5.15.194 5.15.194 from 2.6.38 to before 5.10.245 5.10.245 6.17 none stated siemens simatic s7-1500 cpu 1518-4 pn/dp mfp firmware
Affected versions Fixed in 3.1.6 none stated siemens simatic s7-1500 cpu 1518f-4 pn/dp mfp firmware
Affected versions Fixed in 3.1.6 none stated
Product versions from the NVD record.
Timeline
- Published
- Added to CISA KEV
Related news
No article from the followed outlets names this vulnerability.