CVE-2025-39964: Linux kernel AF_ALG concurrent-write race in crypto user API
Exploited in the wild Medium 5.5 EPSS 1.6% Linux kernel
af_alg_sendmsg() in the kernel crypto user-space interface (AF_ALG sockets, crypto/af_alg.c) allowed two writers on the same socket at once, interleaving data and leaving the socket's internal state inconsistent. A local user who can open AF_ALG sockets can trigger it; Red Hat describes crashes or corrupted crypto results, while the kernel CNA scores it 7.8 (high confidentiality, integrity and availability impact). CISA added it to KEV on 18 September 2026 as exploited in the wild.
- CVE-2025-39964CVE identifier
- 5.5CVSS 3.1 base score (medium)
- 2026-09-18added to CISA's exploited list (US federal deadline 2026-09-21)
- 1.6%EPSS: chance of exploitation in the next 30 days (higher than 76% of CVEs)
- 2025-10-13published
What do these terms mean? CVE · CVSS score · exploited (KEV) · EPSS · backported fix · all terms
What to do now
- Check whether you run Linux kernel and which version (commands below).
- Install the fixed version for your system: see “Patch it” below.
- Reboot into the updated kernel. No Ubuntu Livepatch notice and no RHEL kpatch cover this CVE. SUSE shipped a live patch for SLE 15 SP7 (SUSE-SLE-Module-Live-Patching-15-SP7-2026-962).
- If you cannot patch today, apply the temporary mitigation below and patch as soon as possible.
- Because this flaw is being exploited, also check the server for signs of compromise.
Affected and fixed versions
Affected:
- Linux 2.6.38 through 5.10.244
- Linux 5.11 through 5.15.193
- Linux 5.16 through 6.1.153
- Linux 6.2 through 6.6.107
- Linux 6.7 through 6.12.48
- Linux 6.13 through 6.16.8
Fixed in:
- Linux 5.10.245
- Linux 5.15.194
- Linux 6.1.154
- Linux 6.6.108
- Linux 6.12.49
- Linux 6.16.9
- Linux 6.17
Am I affected?
uname -r
dpkg -l 'linux-image*' | grep ^ii # Debian/Ubuntu
rpm -q kernel # RHEL/Fedora/Amazon/SUSE (SUSE: rpm -q kernel-default)
Patch it
Use the commands for your system. Distribution packages often keep an older version number with the fix backported, so compare with the fixed package versions in the table below, not only with the upstream version.
Debian
sudo apt update
sudo apt upgrade
sudo rebootUbuntu
sudo apt update
sudo apt upgrade
sudo rebootRHEL, AlmaLinux, Rocky, Oracle
sudo dnf upgrade kernel
sudo reboot
# RHEL 7: sudo yum update kernelFedora
sudo dnf upgrade --refresh kernel
sudo rebootSUSE / openSUSE
sudo zypper refresh
sudo zypper patch --category security
sudo rebootAmazon Linux
# Amazon Linux 2023
sudo dnf upgrade --releasever=latest 'kernel*'
# Amazon Linux 2: the default 4.14 kernel and kernel-5.4 extra are 'No Fix Planned';
# switch to the kernel-5.10 or kernel-5.15 extra, then:
sudo yum update kernel
sudo rebootArch Linux
sudo pacman -Syu
sudo rebootAlpine
# as root
apk update
apk upgrade
rebootFreeBSD
not LinuxGeneral update steps for every system are on the Linux and Unix & BSD pages; after updating, see which services to restart.
Fix status in Linux distributions
| Release | Package | Status | Fixed version / advisory |
|---|---|---|---|
| Debian 12 | linux | fixed | 6.1.158-1 |
| Debian 13 | linux | fixed | 6.12.57-1 |
| Debian testing | linux | fixed | 6.16.9-1 |
| Ubuntu 26.04 | linux | not affected | |
| Ubuntu 18.04 (ESM) | linux | fixed | 4.15.0-245.257 |
| Ubuntu 20.04 (ESM) | linux | fixed | 5.4.0-224.244 |
| Ubuntu 22.04 | linux | fixed | 5.15.0-164.174 |
| Ubuntu 25.10 | linux | not affected | |
| Ubuntu 24.04 | linux | fixed | 6.8.0-90.91 |
| Ubuntu 26.10 | linux | not affected | |
| Ubuntu 18.04 (ESM) | linux-hwe | not planned | |
| Ubuntu 18.04 (ESM) | linux-hwe-5.4 | fixed | 5.4.0-224.244~18.04.1 |
| Ubuntu 20.04 (ESM) | linux-hwe-5.8 | not planned | |
| Ubuntu 20.04 (ESM) | linux-hwe-5.11 | not planned | |
| Ubuntu 20.04 (ESM) | linux-hwe-5.13 | not planned | |
| Ubuntu 20.04 (ESM) | linux-hwe-5.15 | fixed | 5.15.0-164.174~20.04.1 |
| Ubuntu 22.04 | linux-hwe-5.19 | not planned | |
| Ubuntu 22.04 | linux-hwe-6.2 | not planned | |
| Ubuntu 22.04 | linux-hwe-6.5 | not planned | |
| Ubuntu 22.04 | linux-hwe-6.8 | fixed | 6.8.0-90.91~22.04.1 |
| Ubuntu 24.04 | linux-hwe-6.11 | not planned | |
| Ubuntu 24.04 | linux-hwe-6.14 | not affected | |
| Ubuntu 18.04 (ESM) | linux-hwe-edge | not planned | |
| Ubuntu 18.04 (ESM) | linux-kvm | fixed | 4.15.0-1169.174 |
| Ubuntu 20.04 (ESM) | linux-kvm | fixed | 5.4.0-1140.149 |
| Ubuntu 22.04 | linux-kvm | fixed | 5.15.0-1090.95 |
| Ubuntu 22.04 | linux-allwinner-5.19 | not planned | |
| Ubuntu 26.04 | linux-aws | not affected | |
| Ubuntu 22.04 | linux-aws | fixed | 5.15.0-1098.105 |
| Ubuntu 18.04 (ESM) | linux-aws | fixed | 4.15.0-1187.200 |
| Ubuntu 25.10 | linux-aws | not affected | |
| Ubuntu 24.04 | linux-aws | fixed | 6.8.0-1044.46 |
| Ubuntu 20.04 (ESM) | linux-aws | fixed | 5.4.0-1153.163 |
| Ubuntu 26.10 | linux-aws | not affected | |
| Ubuntu 18.04 (ESM) | linux-aws-5.0 | not planned | |
| Ubuntu 18.04 (ESM) | linux-aws-5.3 | not planned | |
| Ubuntu 18.04 (ESM) | linux-aws-5.4 | fixed | 5.4.0-1153.163~18.04.1 |
| Ubuntu 20.04 (ESM) | linux-aws-5.8 | not planned | |
| Ubuntu 20.04 (ESM) | linux-aws-5.11 | not planned | |
| Ubuntu 20.04 (ESM) | linux-aws-5.13 | not planned | |
| Ubuntu 20.04 (ESM) | linux-aws-5.15 | fixed | 5.15.0-1098.105~20.04.1 |
| Ubuntu 22.04 | linux-aws-5.19 | not planned | |
| Ubuntu 22.04 | linux-aws-6.2 | not planned | |
| Ubuntu 22.04 | linux-aws-6.5 | not planned | |
| Ubuntu 22.04 | linux-aws-6.8 | fixed | 6.8.0-1044.46~22.04.1 |
| Ubuntu 24.04 | linux-aws-6.14 | fixed | 6.14.0-1018.18~24.04.1 |
| Ubuntu 26.04 | linux-azure | not affected | |
| Ubuntu 18.04 (ESM) | linux-azure | not planned | |
| Ubuntu 25.10 | linux-azure | not affected | |
| Ubuntu 22.04 | linux-azure | fixed | 5.15.0-1102.111 |
| Ubuntu 24.04 | linux-azure | fixed | 6.8.0-1044.50 |
| Ubuntu 20.04 (ESM) | linux-azure | fixed | 5.4.0-1156.163 |
| Ubuntu 26.10 | linux-azure | not affected | |
| Ubuntu 18.04 (ESM) | linux-azure-4.15 | fixed | 4.15.0-1195.210 |
| Ubuntu 18.04 (ESM) | linux-azure-5.3 | not planned | |
| Ubuntu 18.04 (ESM) | linux-azure-5.4 | fixed | 5.4.0-1156.163~18.04.1 |
| Ubuntu 20.04 (ESM) | linux-azure-5.8 | not planned | |
| Ubuntu 20.04 (ESM) | linux-azure-5.11 | not planned | |
| Ubuntu 20.04 (ESM) | linux-azure-5.13 | not planned | |
| Ubuntu 20.04 (ESM) | linux-azure-5.15 | fixed | 5.15.0-1102.111~20.04.1 |
From the Debian security tracker, Ubuntu CVE tracker and Red Hat Security Data API, refreshed every few hours.
If you cannot patch yet
- Red Hat states no mitigation meets its criteria; install the kernel update.
CISA 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.
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: ; 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/45bcf6
Related vulnerabilities
Sources
- CVE record CVE-2025-39964
- NVD CVE-2025-39964
- CISA KEV entry CVE-2025-39964
- Debian security tracker CVE-2025-39964
- Ubuntu CVE page CVE-2025-39964
- Red Hat CVE page CVE-2025-39964
- SUSE CVE page CVE-2025-39964
- Amazon Linux ALAS CVE page CVE-2025-39964
- Upstream fix (crypto: af_alg - Disallow concurrent writes in af_alg_sendmsg)
- linux-cve-announce: CVE-2025-39964
- 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
- CISA Known Exploited Vulnerabilities catalog
Page generated automatically from official sources on 2026-11-03 18:05 UTC and reviewed by an editor. Always confirm with your vendor's advisory.