# CVE-2025-39964: crypto: af\_alg - Disallow concurrent writes in af\_alg\_sendmsg

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Yes: in CISA KEV since 2026-09-18; federal due date 2026-09-21
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.58% (percentile 42, 2026-11-26)
- **CWE:** CWE-362
- **Published:** 2025-10-13T13:48:30.334Z
- **Modified:** 2026-11-10T13:17:53.120Z

## Who should check

- Anyone running Linux \>= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, \< 0f28c4adbc4a97437874c9b669fd7958a8c6d6ce; \>= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, \< e4c1ec11132ec466f7362a95f36a506ce4dc08c9; \>= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, \< 1f323a48e9b5ebfe6dc7d130fdf5c3c0e92a07c8; \>= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, \< 7c4491b5644e3a3708f3dbd7591be0a570135b84; \>= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, \< 9aee87da5572b3a14075f501752e209801160d3d; \>= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, \< 45bcf60fe49b37daab1acee57b27211ad1574042; \>= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, \< 1b34cbbf4f011a121ef7b2d7d6e6920a036d5285
- Anyone running Linux 2.6.38

## 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.

## Affected and fixed versions

- Linux: \>= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, \< 0f28c4adbc4a97437874c9b669fd7958a8c6d6ce; \>= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, \< e4c1ec11132ec466f7362a95f36a506ce4dc08c9; \>= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, \< 1f323a48e9b5ebfe6dc7d130fdf5c3c0e92a07c8; \>= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, \< 7c4491b5644e3a3708f3dbd7591be0a570135b84; \>= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, \< 9aee87da5572b3a14075f501752e209801160d3d; \>= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, \< 45bcf60fe49b37daab1acee57b27211ad1574042; \>= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, \< 1b34cbbf4f011a121ef7b2d7d6e6920a036d5285 (cvelist)
- Linux: 2.6.38 (cvelist)

## Mitigation

- Upgrade Linux to 1b34cbbf4f011a121ef7b2d7d6e6920a036d5285 or later.

## Timeline

- 2025-10-13: Published
- 2026-09-18: Added to CISA KEV (exploited in the wild)
- 2026-09-21: CISA remediation due date for US federal agencies
- 2026-11-10: Last modified

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-39964. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-39964.md
Affected: Linux >= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, < 0f28c4adbc4a97437874c9b669fd7958a8c6d6ce; >= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, < e4c1ec11132ec466f7362a95f36a506ce4dc08c9; >= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, < 1f323a48e9b5ebfe6dc7d130fdf5c3c0e92a07c8; >= 8ff590903d5fc7f5a0a988c…
Fixed in: Linux 0f28c4adbc4a97437874c9b669fd7958a8c6d6ce, Linux 1f323a48e9b5ebfe6dc7d130fdf5c3c0e92a07c8, Linux 7c4491b5644e3a3708f3dbd7591be0a570135b84, Linux 9aee87da5572b3a14075f501752e209801160d3d, Linux 45bcf60fe49b37daab1acee57b27211ad1574042, Linux 1b34cbbf4f011a121ef7b2d7d6e6920a036d5285

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-39964 being exploited?

Yes. CISA lists CVE-2025-39964 in its Known Exploited Vulnerabilities catalog since 2026-09-18, which means attacks have been seen. No public exploit code is known. EPSS estimates a 0.58% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-39964?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-39964?

Linux \>= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, \< 0f28c4adbc4a97437874c9b669fd7958a8c6d6ce; \>= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, \< e4c1ec11132ec466f7362a95f36a506ce4dc08c9; \>= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, \< 1f323a48e9b5ebfe6dc7d130fdf5c3c0e92a07c8; \>= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, \< 7c4491b5644e3a3708f3dbd7591be0a570135b84; \>= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, \< 9aee87da5572b3a14075f501752e209801160d3d; \>= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, \< 45bcf60fe49b37daab1acee57b27211ad1574042; \>= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, \< 1b34cbbf4f011a121ef7b2d7d6e6920a036d5285; Linux 2.6.38.

### Is there a fix for CVE-2025-39964?

Yes. Fixed in Linux 0f28c4adbc4a97437874c9b669fd7958a8c6d6ce, Linux 1f323a48e9b5ebfe6dc7d130fdf5c3c0e92a07c8, Linux 7c4491b5644e3a3708f3dbd7591be0a570135b84, Linux 9aee87da5572b3a14075f501752e209801160d3d, Linux 45bcf60fe49b37daab1acee57b27211ad1574042, Linux 1b34cbbf4f011a121ef7b2d7d6e6920a036d5285. Upgrade Linux to 1b34cbbf4f011a121ef7b2d7d6e6920a036d5285 or later.

### How do I check if I'm affected by CVE-2025-39964?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/0f28c4adbc4a97437874c9b669fd7958a8c6d6ce>
- patch: <https://git.kernel.org/stable/c/e4c1ec11132ec466f7362a95f36a506ce4dc08c9>
- patch: <https://git.kernel.org/stable/c/1f323a48e9b5ebfe6dc7d130fdf5c3c0e92a07c8>
- patch: <https://git.kernel.org/stable/c/7c4491b5644e3a3708f3dbd7591be0a570135b84>
- patch: <https://git.kernel.org/stable/c/9aee87da5572b3a14075f501752e209801160d3d>
- patch: <https://git.kernel.org/stable/c/45bcf60fe49b37daab1acee57b27211ad1574042>
- patch: <https://git.kernel.org/stable/c/1b34cbbf4f011a121ef7b2d7d6e6920a036d5285>
- other: <https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-39964>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-457936.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-39964>
- CISA KEV: CISA Known Exploited Vulnerabilities Catalog <https://www.cisa.gov/known-exploited-vulnerabilities-catalog>

HTML: <https://flawdb.com/CVE-2025-39964> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-39964>
