CVE-2025-39964

crypto: af_alg - Disallow concurrent writes in af_alg_sendmsg

Published 13 Oct 2025 Updated 10 Nov 2026 CNA: Linux

Check your servers for CVE-2025-39964

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-39964 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Known exploited

CISA added this CVE to its list of known exploited vulnerabilities on 18 Sep 2026. US federal agencies had to act by 21 Sep 2026.

Name
Linux Kernel Race Condition Vulnerability
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.
Ransomware
Use in ransomware campaigns is not known
Notes
https://git.kernel.org/stable/c/0f28c4adbc4a97437874c9b669fd7958a8c6d6ce https://git.kernel.org/stable/c/e4c1ec11132ec466f7362a95f36a506ce4dc08c9 https://git.kernel.org/stable/c/1f323a48e9b5ebfe6dc7d130fdf5c3c0e92a07c8 https://git.kernel.org/stable/c/7c4491b5644e3a3708f3dbd7591be0a570135b84 https://git.kernel.org/stable/c/9aee87da5572b3a14075f501752e209801160d3d https://git.kernel.org/stable/c/45bcf60fe49b37daab1acee57b27211ad1574042 https://git.kernel.org/stable/c/1b34cbbf4f011a121ef7b2d7d6e6920a036d5285 https://www.cisa.gov/news-events/directives/bod-26-04-prioritizing-security-updates-based-risk https://www.cisa.gov/news-events/directives/bod-26-04-implementation-guidance-prioritizing-security-updates-based-risk https://nvd.nist.gov/vuln/detail/CVE-2025-39964

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.

Severity (CVSS)

7.8 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 1.61%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 76.6% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 18 Sep 2026):

Exploitation
active: CISA has reliable evidence of exploitation in the wild
Automatable
no: each attack takes manual steps
Technical impact
total: full control of the component or of its data

Weakness

  • CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, before 0f28c4adbc4a97437874c9b669fd7958a8c6d6ce
affected from 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, before e4c1ec11132ec466f7362a95f36a506ce4dc08c9
affected from 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, before 1f323a48e9b5ebfe6dc7d130fdf5c3c0e92a07c8
affected from 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, before 7c4491b5644e3a3708f3dbd7591be0a570135b84
affected from 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, before 9aee87da5572b3a14075f501752e209801160d3d
affected from 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, before 45bcf60fe49b37daab1acee57b27211ad1574042
affected from 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, before 1b34cbbf4f011a121ef7b2d7d6e6920a036d5285
Other versions: unaffected
Linux
affected 2.6.38
unaffected before 2.6.38
unaffected from 5.10.245 up to and including 5.10.*
unaffected from 5.15.194 up to and including 5.15.*
unaffected from 6.1.154 up to and including 6.1.*
unaffected from 6.6.108 up to and including 6.6.*
unaffected from 6.12.49 up to and including 6.12.*
unaffected from 6.16.9 up to and including 6.16.*
unaffected 6.17 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-39964 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-39964

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2025-39964
trivy image --scanners vuln IMAGE | grep CVE-2025-39964

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Advisories

Other references

Source: the record CVE-2025-39964 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.