{"id":"CVE-2025-39964","aliases":["CVE-2025-39964"],"related":[],"kind":"vulnerability","state":"published","title":"crypto: af_alg - Disallow concurrent writes in af_alg_sendmsg","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: af_alg - Disallow concurrent writes in af_alg_sendmsg\n\nIssuing two writes to the same af_alg socket is bogus as the\ndata will be interleaved in an unpredictable fashion.  Furthermore,\nconcurrent writes may create inconsistencies in the internal\nsocket state.\n\nDisallow this by adding a new ctx->write field that indiciates\nexclusive ownership for writing.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: af_alg - Disallow concurrent writes in af_alg_sendmsg\n\nIssuing two writes to the same af_alg socket is bogus as the\ndata will be interleaved in an unpredictable fashion.  Furthermore,\nconcurrent writes may create inconsistencies in the internal\nsocket state.\n\nDisallow this by adding a new ctx->write field that indiciates\nexclusive ownership for writing.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\ncrypto: af_alg - Prohibir escrituras concurrentes en af_alg_sendmsg\n\nRealizar 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.\n\nProhibir esto añadiendo un nuevo campo ctx->write que indica la propiedad exclusiva para la escritura.","source":"nvd"},{"lang":"en","text":"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.","source":"kev"}],"published":"2025-10-13T13:48:30.334Z","modified":"2026-11-10T13:17:53.120Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-362"],"affected":[{"ranges":[{"type":"git","introduced":"8ff590903d5fc7f5a0a988c38267a3d08e6393a2","fixed":"0f28c4adbc4a97437874c9b669fd7958a8c6d6ce","status":"affected"},{"type":"git","introduced":"8ff590903d5fc7f5a0a988c38267a3d08e6393a2","fixed":"e4c1ec11132ec466f7362a95f36a506ce4dc08c9","status":"affected"},{"type":"git","introduced":"8ff590903d5fc7f5a0a988c38267a3d08e6393a2","fixed":"1f323a48e9b5ebfe6dc7d130fdf5c3c0e92a07c8","status":"affected"},{"type":"git","introduced":"8ff590903d5fc7f5a0a988c38267a3d08e6393a2","fixed":"7c4491b5644e3a3708f3dbd7591be0a570135b84","status":"affected"},{"type":"git","introduced":"8ff590903d5fc7f5a0a988c38267a3d08e6393a2","fixed":"9aee87da5572b3a14075f501752e209801160d3d","status":"affected"},{"type":"git","introduced":"8ff590903d5fc7f5a0a988c38267a3d08e6393a2","fixed":"45bcf60fe49b37daab1acee57b27211ad1574042","status":"affected"},{"type":"git","introduced":"8ff590903d5fc7f5a0a988c38267a3d08e6393a2","fixed":"1b34cbbf4f011a121ef7b2d7d6e6920a036d5285","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.38","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.38","status":"unaffected"},{"type":"semver","introduced":"5.10.245","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.194","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.154","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.108","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.49","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.16.9","lastAffected":"6.16.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.17","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"2.6.38","fixed":"5.10.245"},{"status":"affected","introduced":"5.11","fixed":"5.15.194"},{"status":"affected","introduced":"5.16","fixed":"6.1.154"},{"status":"affected","introduced":"6.2","fixed":"6.6.108"},{"status":"affected","introduced":"6.7","fixed":"6.12.49"},{"status":"affected","introduced":"6.13","fixed":"6.16.9"},{"status":"affected","version":"6.17"},{"status":"affected","version":"6.17"},{"status":"affected","version":"6.17"},{"status":"affected","version":"6.17"},{"status":"affected","version":"6.17"},{"status":"affected","version":"6.17"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"3.1.6"}],"vendor":"siemens","product":"simatic_s7-1500_cpu_1518-4_pn/dp_mfp_firmware","cpe":"cpe:2.3:o:siemens:simatic_s7-1500_cpu_1518-4_pn\\/dp_mfp_firmware:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"3.1.6"}],"vendor":"siemens","product":"simatic_s7-1500_cpu_1518f-4_pn/dp_mfp_firmware","cpe":"cpe:2.3:o:siemens:simatic_s7-1500_cpu_1518f-4_pn\\/dp_mfp_firmware:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"Linux","product":"Kernel","source":"kev"}],"references":[{"url":"https://git.kernel.org/stable/c/0f28c4adbc4a97437874c9b669fd7958a8c6d6ce","tags":["kev","patch"],"sources":["cvelist","nvd","kev"]},{"url":"https://git.kernel.org/stable/c/e4c1ec11132ec466f7362a95f36a506ce4dc08c9","tags":["kev","patch"],"sources":["cvelist","nvd","kev"]},{"url":"https://git.kernel.org/stable/c/1f323a48e9b5ebfe6dc7d130fdf5c3c0e92a07c8","tags":["kev","patch"],"sources":["cvelist","nvd","kev"]},{"url":"https://git.kernel.org/stable/c/7c4491b5644e3a3708f3dbd7591be0a570135b84","tags":["kev","patch"],"sources":["cvelist","nvd","kev"]},{"url":"https://git.kernel.org/stable/c/9aee87da5572b3a14075f501752e209801160d3d","tags":["kev","patch"],"sources":["cvelist","nvd","kev"]},{"url":"https://git.kernel.org/stable/c/45bcf60fe49b37daab1acee57b27211ad1574042","tags":["kev","patch"],"sources":["cvelist","nvd","kev"]},{"url":"https://git.kernel.org/stable/c/1b34cbbf4f011a121ef7b2d7d6e6920a036d5285","tags":["kev","patch"],"sources":["cvelist","nvd","kev"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-39964","tags":["government-resource","us-government-resource"],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://www.cisa.gov/news-events/directives/bod-26-04-prioritizing-security-updates-based-risk","tags":["kev"],"sources":["kev"]},{"url":"https://www.cisa.gov/news-events/directives/bod-26-04-implementation-guidance-prioritizing-security-updates-based-risk","tags":["kev"],"sources":["kev"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-39964","tags":["kev"],"sources":["kev"]}],"credits":[],"assigner":"Linux","kev":{"dateAdded":"2026-09-18","dueDate":"2026-09-21","name":"Linux Kernel Race Condition Vulnerability","requiredAction":"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":false,"notes":"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/45bcf60fe49b37daab1acee57b27211ad1574042; https://git.kernel.org/stable/c/1b34cbbf4f011a121ef7b2d7d6e6920a036d5285 ; BOD 26-04: https://www.cisa.gov/news-events/directives/bod-26-04-prioritizing-security-updates-based-risk ; Forensics Triage Requirements: https://www.cisa.gov/news-events/directives/bod-26-04-implementation-guidance-prioritizing-security-updates-based-risk ; https://nvd.nist.gov/vuln/detail/CVE-2025-39964"},"ssvc":{"scorer":"CISA-ADP","exploitation":"active","automatable":"no","technicalImpact":"total","date":"2026-09-18T00:00:00.000Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-39964","url":"https://www.cve.org/CVERecord?id=CVE-2025-39964","licence":"CVE Terms of Use","modified":"2026-11-10T12:37:22.469Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-39964","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-39964","licence":"Public domain","modified":"2026-11-10T13:17:53.120Z"},{"source":"kev","name":"CISA KEV","id":"CVE-2025-39964","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2025-39964","licence":"CC0-1.0","modified":"2026-09-18T00:00:00.000Z"}],"updatedAt":"2026-11-25T22:59:05.909Z","epss":{"score":0.01607,"percentile":0.76606,"date":"2026-12-01T12:00:22.000Z"}}