CVE-2025-39964
Vulnerability Summary
Timeline
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.
CVSS Metrics
- v3.1•MEDIUM•Score: 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- v3.1•HIGH•Score: 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- v3.1•LOW•Score: 3.3CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
EPSS Trends
Current EPSS score: 0.32%• Percentile: 26%
Techniques & Countermeasures
- CWE-362•Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently.
Affected Systems
- chainguard•linux-aws-6.12
< 6.12.76-r0
- chainguard•linux-aws-6.18
< 6.18.17-r0
- chainguard•linux-azure-6.12
< 6.12.76-r0
- chainguard•linux-azure-6.18
< 6.18.17-r0
- chainguard•linux-desktop-6.18
< 6.18.48-r0
- chainguard•linux-desktop-7.2
< 7.2.3-r0
- chainguard•linux-firecracker-6.18
< 6.18.44-r0
- chainguard•linux-gcp-6.12
< 6.12.76-r0
- chainguard•linux-gcp-6.18
< 6.18.17-r0
- chainguard•linux-qemu-6.12
< 6.12.76-r0
- chainguard•linux-qemu-6.18
< 6.18.17-r0
- chainguard•linux-qemu-melange
< 6.18.17-r0
- chainguard•linux-raspberry-pi
< 20260609-r0
- chainguard•linux-raspberry-pi-4
< 20260911-r0
- chainguard•linux-vmware-6.12
< 6.12.76-r0
- chainguard•linux-vmware-6.18
< 6.18.17-r0
- debian•linux
< 5.10.247-1 | < 6.1.158-1 | < 6.12.57-1 | < 6.16.9-1
- debian•linux-6.1
< 6.1.158-1~deb11u1
- ubuntu•linux
all | < 4.4.0-276.310 | < 4.15.0-245.257 | < 5.4.0-224.244 | < 5.15.0-164.174 | < 6.8.0-90.91
- ubuntu•linux-allwinner-5.19
all
- ubuntu•linux-aws
< 4.4.0-1150.156 | < 4.4.0-1188.203 | < 4.15.0-1187.200 | < 5.4.0-1153.163 | < 5.15.0-1098.105 | < 6.8.0-1044.46
- ubuntu•linux-aws-5.0
all
- ubuntu•linux-aws-5.11
all
- ubuntu•linux-aws-5.13
all
- ubuntu•linux-aws-5.15
< 5.15.0-1098.105~20.04.1
- ubuntu•linux-aws-5.19
all
- ubuntu•linux-aws-5.3
all
- ubuntu•linux-aws-5.4
< 5.4.0-1153.163~18.04.1
- ubuntu•linux-aws-5.8
all
- ubuntu•linux-aws-6.14
< 6.14.0-1018.18~24.04.1
- ubuntu•linux-aws-6.2
all
- ubuntu•linux-aws-6.5
all
- ubuntu•linux-aws-6.8
< 6.8.0-1044.46~22.04.1
- ubuntu•linux-aws-fips
< 4.15.0-2125.131 | all | < 5.4.0-1153.163+fips1 | < 5.15.0-1098.105+fips1 | < 6.8.0-1044.46+fips1
- ubuntu•linux-aws-hwe
< 4.15.0-1187.200~16.04.1
- ubuntu•linux-azure
< 4.15.0-1195.210~14.04.1 | < 4.15.0-1195.210~16.04.1 | all | < 5.4.0-1156.163 | < 5.15.0-1102.111 | < 6.8.0-1044.50
- ubuntu•linux-azure-4.15
< 4.15.0-1195.210
- ubuntu•linux-azure-5.11
all
- ubuntu•linux-azure-5.13
all
- ubuntu•linux-azure-5.15
< 5.15.0-1102.111~20.04.1
- ubuntu•linux-azure-5.19
all
- ubuntu•linux-azure-5.3
all
- ubuntu•linux-azure-5.4
< 5.4.0-1156.163~18.04.1
- ubuntu•linux-azure-5.8
all
- ubuntu•linux-azure-6.11
all
- ubuntu•linux-azure-6.14
< 6.14.0-1017.17~24.04.1
- ubuntu•linux-azure-6.2
all
- ubuntu•linux-azure-6.5
all
- ubuntu•linux-azure-6.8
< 6.8.0-1044.50~22.04.1
- ubuntu•linux-azure-edge
all
Showing first 50 affected entries in server-rendered view.
References (46)
- 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
- https://cert-portal.siemens.com/productcert/html/ssa-019113.html
- https://ubuntu.com/security/CVE-2025-39964
- https://www.cve.org/CVERecord?id=CVE-2025-39964
- https://git.kernel.org/linus/1b34cbbf4f011a121ef7b2d7d6e6920a036d5285
- https://ubuntu.com/security/notices/USN-7907-1
- https://ubuntu.com/security/notices/USN-7907-2
- https://ubuntu.com/security/notices/USN-7907-3
- https://ubuntu.com/security/notices/USN-7907-4
- https://ubuntu.com/security/notices/USN-7921-1
- https://ubuntu.com/security/notices/USN-7922-1
- https://ubuntu.com/security/notices/USN-7922-2
- https://ubuntu.com/security/notices/USN-7928-1
- https://ubuntu.com/security/notices/USN-7928-2
- https://ubuntu.com/security/notices/USN-7928-3
- https://ubuntu.com/security/notices/USN-7907-5
- https://ubuntu.com/security/notices/USN-7930-1
- https://ubuntu.com/security/notices/USN-7930-2
- https://ubuntu.com/security/notices/USN-7931-1
- https://ubuntu.com/security/notices/USN-7931-2
- https://ubuntu.com/security/notices/USN-7931-3
- https://ubuntu.com/security/notices/USN-7934-1
- https://ubuntu.com/security/notices/USN-7935-1
- https://ubuntu.com/security/notices/USN-7936-1
- https://ubuntu.com/security/notices/USN-7937-1
- https://ubuntu.com/security/notices/USN-7938-1
- https://ubuntu.com/security/notices/USN-7939-1
- https://ubuntu.com/security/notices/USN-7939-2
- https://ubuntu.com/security/notices/USN-7940-1
- https://ubuntu.com/security/notices/USN-7921-2
- https://ubuntu.com/security/notices/USN-7922-3
- https://ubuntu.com/security/notices/USN-7928-4
- https://ubuntu.com/security/notices/USN-7931-4
- https://ubuntu.com/security/notices/USN-7922-4
- https://ubuntu.com/security/notices/USN-7928-5
- https://ubuntu.com/security/notices/USN-7931-5
- https://ubuntu.com/security/notices/USN-7940-2
- https://ubuntu.com/security/notices/USN-7922-5
- https://security-tracker.debian.org/tracker/CVE-2025-39964
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-39964