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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.10.245, 5.15.194, 6.1.154, 6.12.49, 6.16.9, 6.6.108
- CVEs
- CVE-2025-39964
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 17:23 UTC · Revision 1
Source evidence
crypto: af_alg - Disallow concurrent writes in af_alg_sendmsg
core-osv · Original sourcePublished 13 Oct 2025, 13:48 UTC
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.
osv:CVE-2025-39964
Kernel
Fixed versions: 5.10.245, 5.15.194, 6.1.154, 6.6.108, 6.12.49, 6.16.9
Complete source record
{
"id": "d32f5a32ceb453db971458149118d6081cbe18cac50cd668d3d2b91367c8b66c",
"url": "https://osv.dev/vulnerability/CVE-2025-39964",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "crypto: af_alg - Disallow concurrent writes in af_alg_sendmsg",
"summary": "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.",
"evidence": "osv:CVE-2025-39964",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.10.245",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.194",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.154",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.108",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.49",
"evidence": "/affected/1/ranges"
},
{
"value": "6.16.9",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2025-39964",
"aliases": [
"CVE-2025-39964"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "8ff590903d5fc7f5a0a988c38267a3d08e6393a2"
},
{
"fixed": "0f28c4adbc4a97437874c9b669fd7958a8c6d6ce"
},
{
"fixed": "e4c1ec11132ec466f7362a95f36a506ce4dc08c9"
},
{
"fixed": "1f323a48e9b5ebfe6dc7d130fdf5c3c0e92a07c8"
},
{
"fixed": "7c4491b5644e3a3708f3dbd7591be0a570135b84"
},
{
"fixed": "9aee87da5572b3a14075f501752e209801160d3d"
},
{
"fixed": "45bcf60fe49b37daab1acee57b27211ad1574042"
},
{
"fixed": "1b34cbbf4f011a121ef7b2d7d6e6920a036d5285"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-39964.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "2.6.38"
},
{
"fixed": "5.10.245"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.194"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.154"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.108"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.49"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.16.9"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-39964.json"
}
}
],
"modified": "2026-10-28T02:30:30.630733932Z",
"provider": "osv",
"references": [
"https://cert-portal.siemens.com/productcert/html/ssa-019113.html",
"https://cert-portal.siemens.com/productcert/html/ssa-457936.html",
"https://git.kernel.org/stable/c/0f28c4adbc4a97437874c9b669fd7958a8c6d6ce",
"https://git.kernel.org/stable/c/1b34cbbf4f011a121ef7b2d7d6e6920a036d5285",
"https://git.kernel.org/stable/c/1f323a48e9b5ebfe6dc7d130fdf5c3c0e92a07c8",
"https://git.kernel.org/stable/c/45bcf60fe49b37daab1acee57b27211ad1574042",
"https://git.kernel.org/stable/c/7c4491b5644e3a3708f3dbd7591be0a570135b84",
"https://git.kernel.org/stable/c/9aee87da5572b3a14075f501752e209801160d3d",
"https://git.kernel.org/stable/c/e4c1ec11132ec466f7362a95f36a506ce4dc08c9",
"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-39964",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39964.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-39964",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39964.json"
}
},
"related_cves": [
{
"value": "CVE-2025-39964",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 497778,
"published_at": "2025-10-13T13:48:30.334+00:00"
}