{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-39964","id":"CVE-2025-39964","title":"crypto: af_alg - Disallow concurrent writes in af_alg_sendmsg","description":"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\n","descriptionLong":"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.","published":"2025-10-13T13:48:30.334Z","updated":"2026-11-12T02:31:04.930278440Z","reserved":"2025-04-16T07:20:57.149Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"8ff590903d5fc7f5a0a988c38267a3d08e6393a2","lessThan":"0f28c4adbc4a97437874c9b669fd7958a8c6d6ce","status":"affected","versionType":"git"},{"version":"8ff590903d5fc7f5a0a988c38267a3d08e6393a2","lessThan":"e4c1ec11132ec466f7362a95f36a506ce4dc08c9","status":"affected","versionType":"git"},{"version":"8ff590903d5fc7f5a0a988c38267a3d08e6393a2","lessThan":"1f323a48e9b5ebfe6dc7d130fdf5c3c0e92a07c8","status":"affected","versionType":"git"},{"version":"8ff590903d5fc7f5a0a988c38267a3d08e6393a2","lessThan":"7c4491b5644e3a3708f3dbd7591be0a570135b84","status":"affected","versionType":"git"},{"version":"8ff590903d5fc7f5a0a988c38267a3d08e6393a2","lessThan":"9aee87da5572b3a14075f501752e209801160d3d","status":"affected","versionType":"git"},{"version":"8ff590903d5fc7f5a0a988c38267a3d08e6393a2","lessThan":"45bcf60fe49b37daab1acee57b27211ad1574042","status":"affected","versionType":"git"},{"version":"8ff590903d5fc7f5a0a988c38267a3d08e6393a2","lessThan":"1b34cbbf4f011a121ef7b2d7d6e6920a036d5285","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.38","status":"affected"},{"version":"0","lessThan":"2.6.38","status":"unaffected","versionType":"semver"},{"version":"5.10.245","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.194","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.154","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.108","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.49","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.16.9","lessThanOrEqual":"6.16.*","status":"unaffected","versionType":"semver"},{"version":"6.17","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-362"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/0f28c4adbc4a97437874c9b669fd7958a8c6d6ce","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/e4c1ec11132ec466f7362a95f36a506ce4dc08c9","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/1f323a48e9b5ebfe6dc7d130fdf5c3c0e92a07c8","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/7c4491b5644e3a3708f3dbd7591be0a570135b84","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/9aee87da5572b3a14075f501752e209801160d3d","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/45bcf60fe49b37daab1acee57b27211ad1574042","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/1b34cbbf4f011a121ef7b2d7d6e6920a036d5285","tags":["Patch","web"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-39964","tags":["government-resource","US Government Resource","web"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html","tags":["Third Party Advisory","web"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","tags":["Third Party Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39964.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-39964","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":true,"kevAdded":"2026-09-18","kevDue":"2026-09-21","kevEntry":{"cveID":"CVE-2025-39964","vendorProject":"Linux","product":"Kernel","vulnerabilityName":"Linux Kernel Race Condition Vulnerability","dateAdded":"2026-09-18","shortDescription":"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.","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.","dueDate":"2026-09-21","knownRansomwareCampaignUse":"Unknown","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","cwes":["CWE-362"]},"ssvc":{"exploitation":"active","automatable":"no","technicalImpact":"total"},"epss":0.01607,"epssPercentile":0.76413,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-39964","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-39964","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-39964","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"added 2026-09-18"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-39964","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":["Exploited in the wild (CISA KEV)"],"attention":null}