CVE-2025-39964

Source
https://cve.org/CVERecord?id=CVE-2025-39964
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-39964.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-39964
Downstream
Related
Published
2025-10-13T13:48:30.334Z
Modified
2026-06-12T03:56:26.407493732Z
Summary
crypto: af_alg - Disallow concurrent writes in af_alg_sendmsg
Details

In the Linux kernel, the following vulnerability has been resolved:

crypto: afalg - Disallow concurrent writes in afalg_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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39964.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.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/osv-test-cve-osv-conversion/osv-output/CVE-2025-39964.json"

Linux / Kernel

Package

Name
Kernel

Affected 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

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-39964.json"