What’s Vulnerable › Vulnerabilities

CVE-2025-38079: crypto: algif_hash - fix double free in hash_accept

Description

In the Linux kernel, the following vulnerability has been resolved: crypto: algif_hash - fix double free in hash_accept If accept(2) is called on socket type algif_hash with MSG_MORE flag set and crypto_ahash_import fails, sk2 is freed. However, it is also freed in af_alg_release, leading to slab-use-after-free error.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.238, 5.15.185, 5.4.294, 6.1.141. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-38079 or the next vulnerability affects your stack