CVE-2025-39964
JSON

7.8highExploited

crypto: af_alg - Disallow concurrent writes in af_alg_sendmsg

Severity
7.8high CVSS:3.1 by Linux
Exploit likelihood
1.61% (higher than 76% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom 8ff590903d5fc7f5a0a988c38267a3d08e6393a2 before 0f28c4adbc4a97437874c9b669fd7958a8c6d6ce, from 8ff590903d5fc7f5a0a988c38267a3d08e6393a2 before e4c1ec11132ec466f7362a95f36a506ce4dc08c9, from 8ff590903d5fc7f5a0a988c38267a3d08e6393a2 before 1f323a48e9b5ebfe6dc7d130fdf5c3c0e92a07c8, from 8ff590903d5fc7f5a0a988c38267a3d08e6393a2 before 7c4491b5644e3a3708f3dbd7591be0a570135b84, from 8ff590903d5fc7f5a0a988c38267a3d08e6393a2 before 9aee87da5572b3a14075f501752e209801160d3d, from 8ff590903d5fc7f5a0a988c38267a3d08e6393a2 before 45bcf60fe49b37daab1acee57b27211ad1574042, from 8ff590903d5fc7f5a0a988c38267a3d08e6393a2 before 1b34cbbf4f011a121ef7b2d7d6e6920a036d5285, 2.6.38
Not affected: before 2.6.38, from 5.10.245 up to 5.10.*, from 5.15.194 up to 5.15.*, from 6.1.154 up to 6.1.*, from 6.6.108 up to 6.6.*, from 6.12.49 up to 6.12.*
CVE List
linux linux_kernelfrom 2.6.38 before 5.10.245, from 5.11 before 5.15.194, from 5.16 before 6.1.154, from 6.2 before 6.6.108, from 6.7 before 6.12.49, from 6.13 before 6.16.9, 6.17NVD
siemens simatic_s7-1500_cpu_1518-4_pn/dp_mfp_firmwarefrom 3.1.6NVD
siemens simatic_s7-1500_cpu_1518f-4_pn/dp_mfp_firmwarefrom 3.1.6NVD
Linux KernelNot specifiedCISA KEV

All scores

Linux7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-362

SSVC (CISA-ADP): exploitation active, automatable no, technical impact total.

What each source says

CVE List

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 (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: crypto: af_alg - Prohibir escrituras concurrentes en af_alg_sendmsg Realizar dos escrituras al mismo socket af_alg es erróneo ya que los datos se entrelazarán de manera impredecible. Además, las escrituras concurrentes pueden crear inconsistencias en el estado interno del socket. Prohibir esto añadiendo un nuevo campo ctx->write que indica la propiedad exclusiva para la escritura.

CISA KEV

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.

References

https://git.kernel.org/stable/c/0f28c4adbc4a97437874c9b669fd7958a8c6d6cekev, patch
https://git.kernel.org/stable/c/e4c1ec11132ec466f7362a95f36a506ce4dc08c9kev, patch
https://git.kernel.org/stable/c/1f323a48e9b5ebfe6dc7d130fdf5c3c0e92a07c8kev, patch
https://git.kernel.org/stable/c/7c4491b5644e3a3708f3dbd7591be0a570135b84kev, patch
https://git.kernel.org/stable/c/9aee87da5572b3a14075f501752e209801160d3dkev, patch
https://git.kernel.org/stable/c/45bcf60fe49b37daab1acee57b27211ad1574042kev, patch
https://git.kernel.org/stable/c/1b34cbbf4f011a121ef7b2d7d6e6920a036d5285kev, patch
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-39964government-resource, us-government-resource
https://cert-portal.siemens.com/productcert/html/ssa-019113.htmlthird-party-advisory
https://cert-portal.siemens.com/productcert/html/ssa-457936.htmlthird-party-advisory
https://www.cisa.gov/news-events/directives/bod-26-04-prioritizing-security-updates-based-riskkev
https://www.cisa.gov/news-events/directives/bod-26-04-implementation-guidance-prioritizing-security-updates-based-riskkev

Sources

SourceRecordLicence
CVE ListCVE-2025-39964 changed 2026-11-10CVE Terms of Use
NVDCVE-2025-39964 changed 2026-11-10Public domain
CISA KEVCVE-2025-39964 changed 2026-09-18CC0-1.0