Linux Kernel af_alg Socket: Disallow Concurrent Write Race
CVE-2025-39964 Published on October 13, 2025

crypto: af_alg - Disallow concurrent writes in af_alg_sendmsg
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.

NVD

Weakness Type

What is a Race Condition Vulnerability?

The program contains a code sequence that can run concurrently with other code, and the code sequence requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence that is operating concurrently.

CVE-2025-39964 has been classified to as a Race Condition vulnerability or weakness.


Products Associated with CVE-2025-39964

You can be notified by email with stack.watch whenever vulnerabilities like CVE-2025-39964 are published in these products:

 
 
 

Affected Versions

Linux: Linux: Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP: Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP: Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP: Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP: Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP:

Exploit Probability

EPSS
0.25%
Percentile
16.55%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.