CVE-2025-39964

crypto: af_alg - Disallow concurrent writes in af_alg_sendmsg

MEDIUM
5.5
CVSS Score
Published: October 13, 2025 at 01:48 PM UTC
Updated: October 19, 2026 at 09:10 PM UTC
4 products affected across 2 vendorsLinux KernelSIMATIC S7-1500 CPU 1518-4 Pn /dp MFP FirmwareSIMATIC S7-1500 CPU 1518F 4 Pn /dp MFP Firmware· also runs on 2 platforms

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploitation
CISA KEV
Exploit prediction
EPSS 2%
SSVC
Active

Actively Exploited

CISA Known Exploited Vulnerabilities (KEV) Catalog

EPSS Score1.6%

EPSS (Exploit Prediction Scoring System) estimates a 1.6% chance this CVE is exploited in the wild within the next 30 days — higher than 75% of all CVEs. It complements CVSS: a high EPSS on a mid-severity CVE can still be urgent.

Linux Kernel contains a race condition vulnerability which allows concurrent writes to the same AF_ALG socket causing data to be unpredictably interleaved and creating inconsistencies in the socket's internal state.

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
Unknown
Added to KEV
Sep 18, 2026
Remediation Due
Sep 21, 2026
41 days overdue

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.6.38 ≤ v < 5.10.2455.11 ≤ v < 5.15.1945.16 ≤ v < 6.1.1546.13 ≤ v < 6.16.96.2 ≤ v < 6.6.1086.7 ≤ v < 6.12.496.176.17 rc16.17 rc26.17 rc36.17 rc46.17 rc56.17 rc68ff590903d5fc7f5a0a988c38267a3d08e6393a2
Vendor states this is fixed in 0f28c4adbc4a97437874c9b669fd7958a8c6d6ce (fixed)
Vendor states this is fixed in 1b34cbbf4f011a121ef7b2d7d6e6920a036d5285 (fixed)
Vendor states this is fixed in 1f323a48e9b5ebfe6dc7d130fdf5c3c0e92a07c8 (fixed)
Vendor states this is fixed in 45bcf60fe49b37daab1acee57b27211ad1574042 (fixed)
Vendor states this is fixed in 7c4491b5644e3a3708f3dbd7591be0a570135b84 (fixed)
Vendor states this is fixed in 9aee87da5572b3a14075f501752e209801160d3d (fixed)
Vendor states this is fixed in e4c1ec11132ec466f7362a95f36a506ce4dc08c9 (fixed)
Vendor states this is fixed in 2.6.38 (unaffected)
Vendor states this is fixed in 5.10.245 (unaffected)
Vendor states this is fixed in 5.15.194 (unaffected)
Vendor states this is fixed in 6.1.154 (unaffected)
Vendor states this is fixed in 6.12.49 (unaffected)
Vendor states this is fixed in 6.16.9 (unaffected)
Vendor states this is fixed in 6.17 (unaffected)
Vendor states this is fixed in 6.6.108 (unaffected)
v ≥ 3.1.63.1.6
siemens-simatic-s7-1500-cpu-1518-4-pn-dp-mfp (same device)
v ≥ 3.1.63.1.6
siemens-simatic-s7-1500-cpu-1518f-4-pn-dp-mfp (same device)

Runs on — not affected

The affected product only carries this flaw when running on these platforms. The platforms themselves are not vulnerable.

SSVC — Action Prioritization

SSVCActiveNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
NVD-CWE-noinfoCWE-362

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card