CVE Catalog

CVE-2025-38079

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.18%

8th percentile - higher than 8% of all known CVEs

Summary

In the Linux kernel, the algif_hash cryptographic algorithm implementation has a double-free vulnerability in the hash_accept function. When accept(2) on an algif_hash socket with MSG_MORE flag fails in crypto_ahash_import, the sk2 structure is freed twice – once in this function and again in af_alg_release, leading to a use-after-free error.

Risk Assessment

This vulnerability could allow a local attacker to access already freed kernel memory, potentially leading to privilege escalation or system crash.

Recommendation

Immediately update the Linux kernel to a version containing the fix that removes the double-free in hash_accept.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS