CVE-2025-39964: Linux Kernel Race Condition
Linux Kernel · listed in the CISA catalog of actively exploited vulnerabilities since 2026-09-18.
- CVSS v3.1 (CVE record)
- 7.8
- high
- EPSS (exploit probability, 30 days)
- 1.6%
- higher than 76.5% of all CVEs
- Added to CISA KEV
- 2026-09-18
- US federal due date 2026-09-21
- Ubuntu priority
- high
CVE-2025-39964 explained
CVE-2025-39964 is a race condition in the Linux kernel's crypto af_alg socket interface. Concurrent writes to the same socket in af_alg_sendmsg could create inconsistencies in the internal socket state. The flaw is rated high severity and is listed in CISA's Known Exploited Vulnerabilities catalog, so patching should be prioritized.
Impact
A local attacker with low privileges and no user interaction can trigger the flaw. According to the CVSS components, successful exploitation can have high impact on confidentiality, integrity and availability of the affected system. Systems where untrusted users can run local code, such as shared hosts, are most exposed. CISA lists it as known to be exploited; ransomware use is unknown.
Who is affected
The linux source package is affected. Fixed versions exist for Debian 12 (bookworm) 6.1.158-1, Debian 13 (trixie) 6.12.57-1, and Debian 14 (forky, testing) 6.16.9-1. Ubuntu 22.04 LTS (5.15.0-164.174) and 24.04 LTS (6.8.0-90.91) have fixes in the standard archive. Ubuntu 16.04 LTS, 18.04 LTS and 20.04 LTS have fixes only through Ubuntu Pro (ESM). Ubuntu 14.04 LTS has no fixed version published.
Written with AI from the data on this page and checked against it automatically.
Official 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.
CISA required action: Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk guidance and CISA’s “Forensics Triage Requirements”. 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.
CISA notes
- This vulnerability affects an open-source component, third-party library, protocol, or proprietary implementation that could be used by different products. For more information, please see:
- git.kernel.org/stable/c/0f28c4a…; git.kernel.org/stable/c/e4c1ec1…; git.kernel.org/stable/c/1f323a4…; git.kernel.org/stable/c/7c4491b…; git.kernel.org/stable/c/9aee87d…; git.kernel.org/stable/c/45bcf60…; git.kernel.org/stable/c/1b34cbb…
- BOD 26-04: cisa.gov/news-events/directives/bod-26-04-prioritizing-se…
- Forensics Triage Requirements: cisa.gov/news-events/directives/bod-26-04-implementation-…
- nvd.nist.gov/vuln/detail/CVE-2025-39964
Upstream versions (CVE record)
From the CVE record published by the vendor or CVE numbering authority.
- LinuxAffectedFixed in
- 2.6.38
not stated
| Product | Affected | Fixed in |
|---|---|---|
| Linux |
| not stated |
Also affected (reported by product suppliers)
- Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0)AffectedFixed in
- ≥ V3.1.6
- ≥ V3.1.7
not stated - Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0)AffectedFixed in
- ≥ V3.1.6
- ≥ V3.1.7
not stated - Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0)AffectedFixed in
- ≥ V3.1.6
- ≥ V3.1.7
not stated - Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0)AffectedFixed in
- ≥ V3.1.6
- ≥ V3.1.7
not stated - Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0)AffectedFixed in
- ≥ V3.1.6
- ≥ V3.1.7
not stated
| Product | Affected | Fixed in |
|---|---|---|
| Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) |
| not stated |
| Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) |
| not stated |
| Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) |
| not stated |
| Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) |
| not stated |
| Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) |
| not stated |
Ubuntu and Debian releases
A server is vulnerable if it has a package built from the listed source package installed in a version lower than the fixed version for its release.
Ubuntu 24.04 LTS·linux
Fixed: 6.8.0-90.91
Ubuntu 22.04 LTS·linux
Fixed: 5.15.0-164.174
Ubuntu 20.04 LTS·linux
fix via Ubuntu Pro
Fixed: 5.4.0-224.244
Ubuntu 18.04 LTS·linux
fix via Ubuntu Pro
Fixed: 4.15.0-245.257
Ubuntu 16.04 LTS·linux
fix via Ubuntu Pro
Fixed: 4.4.0-276.310
Ubuntu 14.04 LTS·linux
fix via Ubuntu Pro
Status: no fixed version published · Ubuntu tracker
Debian 14 (forky)·linux
testing distribution
Fixed: 6.16.9-1
Debian 13 (trixie)·linux
Fixed: 6.12.57-1
Debian 12 (bookworm)·linux
Fixed: 6.1.158-1
141 more Ubuntu kernel flavours (cloud, HWE, low-latency, real-time …) – 182 release entries
- 25.10 linux-azure-fde: no fixed version published
- 24.04 linux-aws: 6.8.0-1044.46
- 24.04 linux-aws-6.14: 6.14.0-1018.18~24.04.1
- 24.04 linux-azure: 6.8.0-1044.50
- 24.04 linux-azure-6.11: no fixed version published
- 24.04 linux-azure-6.14: 6.14.0-1017.17~24.04.1
- 24.04 linux-azure-fde: 6.8.0-1046.53
- 24.04 linux-azure-fde-6.14: no fixed version published
- 24.04 linux-azure-nvidia: 6.8.0-1029.32
- 24.04 linux-azure-nvidia-6.14: no fixed version published
- 24.04 linux-gcp: 6.8.0-1045.48
- 24.04 linux-gcp-6.11: no fixed version published
- 24.04 linux-gcp-6.14: no fixed version published
- 24.04 linux-gke: 6.8.0-1041.46
- 24.04 linux-gkeop: 6.8.0-1028.31
- 24.04 linux-hwe-6.11: no fixed version published
- 24.04 linux-ibm: 6.8.0-1042.42
- 24.04 linux-lowlatency: 6.8.0-90.91.1
- 24.04 linux-lowlatency-hwe-6.11: no fixed version published
- 24.04 linux-nvidia: 6.8.0-1044.47
- 24.04 linux-nvidia-6.11: no fixed version published
- 24.04 linux-nvidia-lowlatency: 6.8.0-1044.47.1
- 24.04 linux-nvidia-tegra: 6.8.0-1020.20
- 24.04 linux-oem-6.11: no fixed version published
- 24.04 linux-oem-6.14: 6.14.0-1017.17
- 24.04 linux-oem-6.8: no fixed version published
- 24.04 linux-oracle: 6.8.0-1041.42
- 24.04 linux-oracle-6.14: no fixed version published
- 24.04 linux-raspi: 6.8.0-1044.48
- 24.04 linux-riscv: no fixed version published
- 24.04 linux-riscv-6.14: 6.14.0-37.37.1~24.04.1
- 24.04 linux-xilinx: 6.8.0-1021.22
- 24.04 linux-raspi-realtime (Pro): 6.8.0-2035.36
- 24.04 linux-realtime (Pro): 6.8.1-1039.40
- 24.04 linux-realtime-6.14 (Pro): 6.14.0-1017.17~24.04.1
- 22.04 linux-allwinner-5.19: no fixed version published
- 22.04 linux-aws: 5.15.0-1098.105
- 22.04 linux-aws-5.19: no fixed version published
- 22.04 linux-aws-6.2: no fixed version published
- 22.04 linux-aws-6.5: no fixed version published
- 22.04 linux-aws-6.8: 6.8.0-1044.46~22.04.1
- 22.04 linux-azure: 5.15.0-1102.111
- 22.04 linux-azure-5.19: no fixed version published
- 22.04 linux-azure-6.2: no fixed version published
- 22.04 linux-azure-6.5: no fixed version published
- 22.04 linux-azure-6.8: 6.8.0-1044.50~22.04.1
- 22.04 linux-azure-fde: 5.15.0-1102.111.1
- 22.04 linux-azure-fde-5.19: no fixed version published
- 22.04 linux-azure-fde-6.2: no fixed version published
- 22.04 linux-azure-fde-6.8: 6.8.0-1046.53~22.04.1
- 22.04 linux-gcp: 5.15.0-1098.107
- 22.04 linux-gcp-5.19: no fixed version published
- 22.04 linux-gcp-6.2: no fixed version published
- 22.04 linux-gcp-6.5: no fixed version published
- 22.04 linux-gcp-6.8: 6.8.0-1045.48~22.04.1
- 22.04 linux-gke: 5.15.0-1094.100
- 22.04 linux-gkeop: 5.15.0-1081.89
- 22.04 linux-hwe-5.19: no fixed version published
- 22.04 linux-hwe-6.2: no fixed version published
- 22.04 linux-hwe-6.5: no fixed version published
- 22.04 linux-hwe-6.8: 6.8.0-90.91~22.04.1
- 22.04 linux-ibm: 5.15.0-1092.95
- 22.04 linux-ibm-6.8: 6.8.0-1042.42~22.04.1
- 22.04 linux-intel-iotg: 5.15.0-1093.99
- 22.04 linux-kvm: 5.15.0-1090.95
- 22.04 linux-lowlatency: 5.15.0-164.174
- 22.04 linux-lowlatency-hwe-5.19: no fixed version published
- 22.04 linux-lowlatency-hwe-6.2: no fixed version published
- 22.04 linux-lowlatency-hwe-6.5: no fixed version published
- 22.04 linux-lowlatency-hwe-6.8: 6.8.0-90.91.1~22.04.1
- 22.04 linux-nvidia: 5.15.0-1093.94
- 22.04 linux-nvidia-6.2: no fixed version published
- 22.04 linux-nvidia-6.5: no fixed version published
- 22.04 linux-nvidia-6.8: 6.8.0-1044.47~22.04.1
- 22.04 linux-nvidia-tegra: 5.15.0-1050.50
- 22.04 linux-nvidia-tegra-igx: 5.15.0-1039.39
- 22.04 linux-oem-5.17: no fixed version published
- 22.04 linux-oem-6.0: no fixed version published
- 22.04 linux-oem-6.1: no fixed version published
- 22.04 linux-oem-6.5: no fixed version published
- 22.04 linux-oracle: 5.15.0-1095.101
- 22.04 linux-oracle-6.5: no fixed version published
- 22.04 linux-oracle-6.8: 6.8.0-1041.42~22.04.1
- 22.04 linux-raspi: 5.15.0-1092.95
- 22.04 linux-riscv: no fixed version published
- 22.04 linux-riscv-5.19: no fixed version published
- 22.04 linux-riscv-6.5: no fixed version published
- 22.04 linux-riscv-6.8: 6.8.0-90.91~22.04.1
- 22.04 linux-starfive-5.19: no fixed version published
- 22.04 linux-starfive-6.2: no fixed version published
- 22.04 linux-starfive-6.5: no fixed version published
- 22.04 linux-xilinx-zynqmp: 5.15.0-1062.66
- 22.04 linux-intel-iot-realtime (Pro): 5.15.0-1090.92
- 22.04 linux-realtime (Pro): 5.15.0-1097.106
- 22.04 linux-realtime-6.8 (Pro): 6.8.1-1039.40~22.04.1
- 20.04 linux-aws-5.11: no fixed version published
- 20.04 linux-aws-5.13: no fixed version published
- 20.04 linux-aws-5.8: no fixed version published
- 20.04 linux-azure-5.11: no fixed version published
- 20.04 linux-azure-5.13: no fixed version published
- 20.04 linux-azure-5.8: no fixed version published
- 20.04 linux-azure-fde: no fixed version published
- 20.04 linux-gcp-5.11: no fixed version published
- 20.04 linux-gcp-5.13: no fixed version published
- 20.04 linux-gcp-5.8: no fixed version published
- 20.04 linux-gke: no fixed version published
- 20.04 linux-gke-5.15: no fixed version published
- 20.04 linux-gkeop: no fixed version published
- 20.04 linux-gkeop-5.15: no fixed version published
- 20.04 linux-hwe-5.11: no fixed version published
- 20.04 linux-hwe-5.13: no fixed version published
- 20.04 linux-hwe-5.8: no fixed version published
- 20.04 linux-intel-5.13: no fixed version published
- 20.04 linux-oem-5.10: no fixed version published
- 20.04 linux-oem-5.13: no fixed version published
- 20.04 linux-oem-5.14: no fixed version published
- 20.04 linux-oem-5.6: no fixed version published
- 20.04 linux-oracle-5.11: no fixed version published
- 20.04 linux-oracle-5.13: no fixed version published
- 20.04 linux-oracle-5.8: no fixed version published
- 20.04 linux-raspi2: no fixed version published
- 20.04 linux-riscv: no fixed version published
- 20.04 linux-riscv-5.11: no fixed version published
- 20.04 linux-riscv-5.8: no fixed version published
- 20.04 linux-aws (Pro): 5.4.0-1153.163
- 20.04 linux-aws-5.15 (Pro): 5.15.0-1098.105~20.04.1
- 20.04 linux-azure (Pro): 5.4.0-1156.163
- 20.04 linux-azure-5.15 (Pro): 5.15.0-1102.111~20.04.1
- 20.04 linux-bluefield (Pro): 5.4.0-1112.119
- 20.04 linux-gcp (Pro): 5.4.0-1156.165
- 20.04 linux-gcp-5.15 (Pro): 5.15.0-1098.107~20.04.1
- 20.04 linux-hwe-5.15 (Pro): 5.15.0-164.174~20.04.1
- 20.04 linux-ibm (Pro): 5.4.0-1099.104
- 20.04 linux-ibm-5.15 (Pro): 5.15.0-1092.95~20.04.1
- 20.04 linux-intel-iotg-5.15 (Pro): 5.15.0-1093.99~20.04.1
- 20.04 linux-iot (Pro): 5.4.0-1057.60
- 20.04 linux-kvm (Pro): 5.4.0-1140.149
- 20.04 linux-lowlatency-hwe-5.15 (Pro): 5.15.0-164.174~20.04.1
- 20.04 linux-nvidia-tegra-5.15 (Pro): 5.15.0-1050.50~20.04.1
- 20.04 linux-oracle (Pro): 5.4.0-1151.161
- 20.04 linux-oracle-5.15 (Pro): 5.15.0-1095.101~20.04.1
- 20.04 linux-raspi (Pro): 5.4.0-1136.149
- 20.04 linux-riscv-5.15 (Pro): 5.15.0-1093.97~20.04.2
- 20.04 linux-xilinx-zynqmp (Pro): 5.4.0-1071.75
- 18.04 linux-aws-5.0: no fixed version published
- 18.04 linux-aws-5.3: no fixed version published
- 18.04 linux-azure: no fixed version published
- 18.04 linux-azure-5.3: no fixed version published
- 18.04 linux-azure-edge: no fixed version published
- 18.04 linux-gcp: no fixed version published
- 18.04 linux-gcp-5.3: no fixed version published
- 18.04 linux-gke-4.15: no fixed version published
- 18.04 linux-gke-5.4: no fixed version published
- 18.04 linux-gkeop-5.4: no fixed version published
- 18.04 linux-hwe: no fixed version published
- 18.04 linux-hwe-edge: no fixed version published
- 18.04 linux-oem: no fixed version published
- 18.04 linux-oracle-5.0: no fixed version published
- 18.04 linux-oracle-5.3: no fixed version published
- 18.04 linux-aws (Pro): 4.15.0-1187.200
- 18.04 linux-aws-5.4 (Pro): 5.4.0-1153.163~18.04.1
- 18.04 linux-azure-4.15 (Pro): 4.15.0-1195.210
- 18.04 linux-azure-5.4 (Pro): 5.4.0-1156.163~18.04.1
- 18.04 linux-gcp-4.15 (Pro): 4.15.0-1180.197
- 18.04 linux-gcp-5.4 (Pro): 5.4.0-1156.165~18.04.1
- 18.04 linux-hwe-5.4 (Pro): 5.4.0-224.244~18.04.1
- 18.04 linux-ibm-5.4 (Pro): 5.4.0-1099.104~18.04.1
- 18.04 linux-kvm (Pro): 4.15.0-1169.174
- 18.04 linux-oracle (Pro): 4.15.0-1149.160
- 18.04 linux-oracle-5.4 (Pro): 5.4.0-1151.161~18.04.1
- 18.04 linux-raspi-5.4 (Pro): 5.4.0-1136.149~18.04.1
- 16.04 linux-hwe-edge: no fixed version published
- 16.04 linux-aws (Pro): 4.4.0-1188.203
- 16.04 linux-aws-hwe (Pro): 4.15.0-1187.200~16.04.1
- 16.04 linux-azure (Pro): 4.15.0-1195.210~16.04.1
- 16.04 linux-gcp (Pro): 4.15.0-1180.197~16.04.1
- 16.04 linux-hwe (Pro): 4.15.0-245.257~16.04.1
- 16.04 linux-kvm (Pro): 4.4.0-1151.162
- 16.04 linux-oracle (Pro): 4.15.0-1149.160~16.04.1
- 14.04 linux-aws (Pro): 4.4.0-1150.156
- 14.04 linux-azure (Pro): 4.15.0-1195.210~14.04.1
- 14.04 linux-lts-xenial (Pro): 4.4.0-276.310~14.04.1
What to do
- Identify hosts running an affected
linuxkernel package and check the installed version against the fixed version for your release. - Install the fixed kernel package from the standard archive, or from Ubuntu Pro (ESM) for Ubuntu 16.04, 18.04 and 20.04 LTS.
- Reboot each host so the fixed kernel is actually running.
- Check the page for other Ubuntu kernel flavours you use and update them as well.
- Plan an upgrade for Ubuntu 14.04 LTS systems, which are end of life and have no fixed version.
Ubuntu 14.04 LTS is end of life and has no fixed version published. Do not wait for a fix; upgrade these systems to a supported release. Until then, restrict local access to trusted users only and limit the systems' network exposure.
Written with AI from the data on this page and checked against it automatically.
Check and fix on a server
Kernel fixes arrive as a new kernel package (new ABI) through the metapackages, so upgrade the whole system and boot into the new kernel.
1. Show the running kernel and the version of its package
uname -r && dpkg-query -W -f='${Version}\n' "linux-image-$(uname -r)"2. Compare with the fixed version for your release and kernel flavour from the table
I=INSTALLED_VERSION; F=FIXED_VERSION # replace both
dpkg --compare-versions "$I" lt "$F"; case $? in 0) echo vulnerable ;; 1) echo "fixed or newer" ;; *) echo "check the versions" ;; esac3. Install the new kernel, then reboot (or apply a livepatch)
sudo apt update && sudo apt full-upgrade && sudo rebootOn Debian, signed kernel images come from the linux-signed-* source packages; the version to compare is the same.
Rows marked “fix via Ubuntu Pro”: these fixes are only installable with an Ubuntu Pro subscription (ESM). Attach the machine first (sudo pro attach, then sudo pro enable esm-infra esm-apps), then run the commands above.
CISA's assessment (SSVC)
- Exploitation
- Exploited in the wild
- Automatable
- No – each attack needs manual steps
- Technical impact
- Total – full control of the component or total information disclosure
Weakness: CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
Questions about CVE-2025-39964
- Can this be exploited remotely?
- The CVSS vector lists the attack vector as local with low privileges required. An attacker needs the ability to run code on the system. Shared or multi-user systems carry the highest risk.
- Is updating the package enough?
- No. The running kernel keeps the old code until the system is rebooted into the fixed kernel version.
- Why is this urgent?
- CISA has added CVE-2025-39964 to its Known Exploited Vulnerabilities catalog, and both the CVSS severity and Ubuntu priority are high.
Written with AI from the data on this page and checked against it automatically.
References
Vendor
Other advisories
Trackers and catalogs
- Ubuntu CVE tracker
- Debian security tracker
- Ubuntu USN-7907-1
- Ubuntu USN-7907-2
- Ubuntu USN-7907-3
- Ubuntu USN-7907-4
- Ubuntu USN-7907-5
- Ubuntu USN-7921-1
- Ubuntu USN-7921-2
- Ubuntu USN-7922-1
- Ubuntu USN-7922-2
- Ubuntu USN-7922-3
- Ubuntu USN-7922-4
- Ubuntu USN-7922-5
- Ubuntu USN-7928-1
- Ubuntu USN-7928-2
- Ubuntu USN-7928-3
- Ubuntu USN-7928-4
- Ubuntu USN-7928-5
- Ubuntu USN-7930-1
- Ubuntu USN-7930-2
- Ubuntu USN-7931-1
- Ubuntu USN-7931-2
- Ubuntu USN-7931-3
- Ubuntu USN-7931-4
- Ubuntu USN-7931-5
- Ubuntu USN-7934-1
- Ubuntu USN-7935-1
- Ubuntu USN-7936-1
- Ubuntu USN-7937-1
- Ubuntu USN-7938-1
- Ubuntu USN-7939-1
- Ubuntu USN-7939-2
- Ubuntu USN-7940-1
- Ubuntu USN-7940-2
- CVE record (cve.org)
- NVD
Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-21. Always confirm with the vendor's or distribution's advisory before patching.