← Vulnerability feed

Vulnerability record · CVE-2025-39964 · published 13 October 2025

CVE-2025-39964: Linux kernel af_alg race condition allows concurrent socket writes

Linux · Linux Kernel

The Linux kernel's af_alg crypto socket implementation did not prevent two concurrent writes to the same socket, allowing data to be interleaved unpredictably and corrupting internal socket state. The fix adds a ctx->write field that grants exclusive write ownership. It matters because it is a local race condition that can crash or destabilize the kernel, and it is listed in CISA KEV.

5.5 CVSS 3.1 Medium CISA KEV since 18 Sep 2026 EPSS 1.00% · top 38.8% CWE-362 · Race condition
5.5CVSS 3.1 base score
1.00%EPSS exploitation probability, 30 days
YesIn CISA KEV, fix deadline passed
3Affected product versions listed by NVD
9References
19 Sep 2026Last modified by NVD

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.

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: high.

high priorityLocal low-privilege race condition with only denial-of-service impact, but it is in CISA KEV with a near-term remediation due date, raising urgency above its medium CVSS score.

What it is

The Linux kernel's af_alg crypto socket implementation did not prevent two concurrent writes to the same socket, allowing data to be interleaved unpredictably and corrupting internal socket state. The fix adds a ctx->write field that grants exclusive write ownership. It matters because it is a local race condition that can crash or destabilize the kernel, and it is listed in CISA KEV.

Impact

An attacker with local access can trigger a race condition that corrupts af_alg socket state, causing a denial of service (kernel crash or hang). There is no confidentiality or integrity impact per the CVSS vector.

Attack surface

Reached locally by issuing concurrent write operations to the same af_alg socket; the CVSS vector is AV:L/AC:L/PR:L/UI:N, so it requires local access and low privileges but no user interaction. No remote or network vector is described.

Exploitation

CISA added it to KEV with a due date of 2026-09-21, indicating known exploitation, while EPSS is low (0.00323, 25th percentile) and no ransomware use is documented. All references are patches or advisories, with no public exploit tagged.

What to do

  • Apply the upstream kernel patches from the git.kernel.org stable references (or your distribution's backport) as the first action.
  • For Siemens SIMATIC S7-1500 CPU 1518-4 and 1518F-4 PN/DP MFP firmware, follow Siemens advisory SSA-019113 for fixed firmware versions.
  • Where patching is not yet possible, restrict local shell and process access on affected hosts to trusted users to reduce the local attack surface.
  • Track CISA BOD 26-04 requirements and the KEV due date of 2026-09-21 for remediation tracking.
  • Monitor for kernel crashes or oopses in the crypto/af_alg path as an interim indicator.

Detection

  • Monitor kernel logs (dmesg/journal) for oopses, warnings or panics referencing af_alg, algif or crypto socket code.
  • Alert on unexpected process crashes or reboots on hosts that use AF_ALG sockets (for example, OpenSSL afalg engine users).
  • Audit for unusual concurrent write patterns to AF_ALG sockets via eBPF or auditd syscall tracing where feasible.
  • Verify patch state by checking kernel version against the fixed stable releases referenced in the advisories.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Exploitation in the wild

CISA added CVE-2025-39964 to the Known Exploited Vulnerabilities catalog on 18 September 2026 as "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. Federal deadline 21 September 2026.

Affected products

3 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2025-39964 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2025-39682Linux kernel TLS zero-length record handling flaw on rx_listThe Linux kernel TLS receive path mishandles zero-length records that arrive from the rx_list, breaking the assumption that a record type change cann…KEVEPSS 2.9%analysed8.8CVE-2026-53266Linux kernel ebtables SNAT out-of-bounds write in ARP rewriteThe ebtables SNAT target rewrites the ARP sender hardware address via skb_store_bits() without first making that range writable. When the ARP SHA byt…KEVEPSS 0.65%analysed8.8CVE-2023-3079Google Chrome V8 type confusion enables heap corruptionCVE-2023-3079 is a type confusion flaw in the V8 JavaScript engine in Google Chrome before 114.0.5735.110. A crafted HTML page can trigger the confus…KEVEPSS 32%analysed8.8CVE-2013-6282Linux kernel ARM get_user/put_user missing address validationThe get_user and put_user API functions in the Linux kernel before 3.5.5 on v6k and v7 ARM platforms fail to validate certain addresses, allowing cra…KEVEPSS 40%analysed8.4CVE-2022-0185Linux Kernel Filesystem Context Heap Buffer OverflowThe legacy_parse_param function in the Linux kernel's Filesystem Context functionality fails to properly verify supplied parameter lengths, causing a…KEVEPSS 25%analysed8.4CVE-2013-2094Linux Kernel perf_swevent_init Integer Type Flaw Enables Local Privilege EscalationThe perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, allowing a local user to…KEVEPSS 48%analysed7.8CVE-2026-53362Linux kernel IPv6 UDP paged allocation out-of-bounds write__ip6_append_data() in the Linux kernel mis-accounts fraggap on the paged-allocation path, leaving the linear skb area undersized while pagedlen is o…KEVEPSS 0.71%analysed7.8CVE-2026-31431Linux kernel algif_aead in-place crypto operation flawThe Linux kernel's algif_aead AF_ALG AEAD interface operated in-place on buffers that come from different mappings, a flaw the fix resolves by revert…KEVEPSS 3.4%analysed

Source: NIST National Vulnerability Database (record CVE-2025-39964), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.