CVE-2025-39964

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.

Affected Software

VendorProductVersion RangeStatus
LinuxLinux8ff590903d5fc7f5a0a988c38267a3d08e6393a2 < 0f28c4adbc4a97437874c9b669fd7958a8c6d6ceaffected
LinuxLinux8ff590903d5fc7f5a0a988c38267a3d08e6393a2 < e4c1ec11132ec466f7362a95f36a506ce4dc08c9affected
LinuxLinux8ff590903d5fc7f5a0a988c38267a3d08e6393a2 < 1f323a48e9b5ebfe6dc7d130fdf5c3c0e92a07c8affected
LinuxLinux8ff590903d5fc7f5a0a988c38267a3d08e6393a2 < 7c4491b5644e3a3708f3dbd7591be0a570135b84affected
LinuxLinux8ff590903d5fc7f5a0a988c38267a3d08e6393a2 < 9aee87da5572b3a14075f501752e209801160d3daffected
LinuxLinux8ff590903d5fc7f5a0a988c38267a3d08e6393a2 < 45bcf60fe49b37daab1acee57b27211ad1574042affected
LinuxLinux8ff590903d5fc7f5a0a988c38267a3d08e6393a2 < 1b34cbbf4f011a121ef7b2d7d6e6920a036d5285affected
LinuxLinux2.6.38affected
LinuxLinux0 < 2.6.38unaffected
LinuxLinux5.10.245 <= 5.10.*unaffected
LinuxLinux5.15.194 <= 5.15.*unaffected
LinuxLinux6.1.154 <= 6.1.*unaffected
LinuxLinux6.6.108 <= 6.6.*unaffected
LinuxLinux6.12.49 <= 6.12.*unaffected
LinuxLinux6.16.9 <= 6.16.*unaffected
LinuxLinux6.17 <= *unaffected

Weaknesses

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: none
    • Automatable: no
    • Technical Impact: partial

References