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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.32% (percentile 18, 2026-11-26)
- **CWE:** CWE-415
- **Published:** 2025-06-18T09:33:53.251Z
- **Modified:** 2026-10-15T01:06:29.165Z

## Who should check

- Anyone running Linux \>= fe869cdb89c95d060c77eea20204d6c91f233b53, \< 5bff312b59b3f2a54ff504e4f4e47272b64f3633; \>= fe869cdb89c95d060c77eea20204d6c91f233b53, \< bf7bba75b91539e93615f560893a599c1e1c98bf; \>= fe869cdb89c95d060c77eea20204d6c91f233b53, \< c3059d58f79fdfb2201249c2741514e34562b547; \>= fe869cdb89c95d060c77eea20204d6c91f233b53, \< f0f3d09f53534ea385d55ced408f2b67059b16e4; \>= fe869cdb89c95d060c77eea20204d6c91f233b53, \< 134daaba93193df9e988524b5cd2f52d15eb1993; \>= fe869cdb89c95d060c77eea20204d6c91f233b53, \< 2f45a8d64fb4ed4830a4b3273834ecd6ca504896; \>= fe869cdb89c95d060c77eea20204d6c91f233b53, \< 0346f4b742345d1c733c977f3a7aef5a6419a967; \>= fe869cdb89c95d060c77eea20204d6c91f233b53, \< b2df03ed4052e97126267e8c13ad4204ea6ba9b6
- Anyone running Linux 2.6.38

## 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 and fixed versions

- Linux: \>= fe869cdb89c95d060c77eea20204d6c91f233b53, \< 5bff312b59b3f2a54ff504e4f4e47272b64f3633; \>= fe869cdb89c95d060c77eea20204d6c91f233b53, \< bf7bba75b91539e93615f560893a599c1e1c98bf; \>= fe869cdb89c95d060c77eea20204d6c91f233b53, \< c3059d58f79fdfb2201249c2741514e34562b547; \>= fe869cdb89c95d060c77eea20204d6c91f233b53, \< f0f3d09f53534ea385d55ced408f2b67059b16e4; \>= fe869cdb89c95d060c77eea20204d6c91f233b53, \< 134daaba93193df9e988524b5cd2f52d15eb1993; \>= fe869cdb89c95d060c77eea20204d6c91f233b53, \< 2f45a8d64fb4ed4830a4b3273834ecd6ca504896; \>= fe869cdb89c95d060c77eea20204d6c91f233b53, \< 0346f4b742345d1c733c977f3a7aef5a6419a967; \>= fe869cdb89c95d060c77eea20204d6c91f233b53, \< b2df03ed4052e97126267e8c13ad4204ea6ba9b6 (cvelist)
- Linux: 2.6.38 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-38079. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38079.md
Affected: Linux >= fe869cdb89c95d060c77eea20204d6c91f233b53, < 5bff312b59b3f2a54ff504e4f4e47272b64f3633; >= fe869cdb89c95d060c77eea20204d6c91f233b53, < bf7bba75b91539e93615f560893a599c1e1c98bf; >= fe869cdb89c95d060c77eea20204d6c91f233b53, < c3059d58f79fdfb2201249c2741514e34562b547; >= fe869cdb89c95d060c77eea…
Fixed in: Linux 5bff312b59b3f2a54ff504e4f4e47272b64f3633, Linux 134daaba93193df9e988524b5cd2f52d15eb1993, Linux 2f45a8d64fb4ed4830a4b3273834ecd6ca504896, Linux 0346f4b742345d1c733c977f3a7aef5a6419a967

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-38079 being exploited?

There is no confirmed exploitation: CVE-2025-38079 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-38079?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-38079?

Linux \>= fe869cdb89c95d060c77eea20204d6c91f233b53, \< 5bff312b59b3f2a54ff504e4f4e47272b64f3633; \>= fe869cdb89c95d060c77eea20204d6c91f233b53, \< bf7bba75b91539e93615f560893a599c1e1c98bf; \>= fe869cdb89c95d060c77eea20204d6c91f233b53, \< c3059d58f79fdfb2201249c2741514e34562b547; \>= fe869cdb89c95d060c77eea20204d6c91f233b53, \< f0f3d09f53534ea385d55ced408f2b67059b16e4; \>= fe869cdb89c95d060c77eea20204d6c91f233b53, \< 134daaba93193df9e988524b5cd2f52d15eb1993; \>= fe869cdb89c95d060c77eea20204d6c91f233b53, \< 2f45a8d64fb4ed4830a4b3273834ecd6ca504896; \>= fe869cdb89c95d060c77eea20204d6c91f233b53, \< 0346f4b742345d1c733c977f3a7aef5a6419a967; \>= fe869cdb89c95d060c77eea20204d6c91f233b53, \< b2df03ed4052e97126267e8c13ad4204ea6ba9b6; Linux 2.6.38.

### Is there a fix for CVE-2025-38079?

Yes. Fixed in Linux 5bff312b59b3f2a54ff504e4f4e47272b64f3633, Linux 134daaba93193df9e988524b5cd2f52d15eb1993, Linux 2f45a8d64fb4ed4830a4b3273834ecd6ca504896, Linux 0346f4b742345d1c733c977f3a7aef5a6419a967. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2025-38079?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/5bff312b59b3f2a54ff504e4f4e47272b64f3633>
- patch: <https://git.kernel.org/stable/c/bf7bba75b91539e93615f560893a599c1e1c98bf>
- patch: <https://git.kernel.org/stable/c/c3059d58f79fdfb2201249c2741514e34562b547>
- patch: <https://git.kernel.org/stable/c/f0f3d09f53534ea385d55ced408f2b67059b16e4>
- patch: <https://git.kernel.org/stable/c/134daaba93193df9e988524b5cd2f52d15eb1993>
- patch: <https://git.kernel.org/stable/c/2f45a8d64fb4ed4830a4b3273834ecd6ca504896>
- patch: <https://git.kernel.org/stable/c/0346f4b742345d1c733c977f3a7aef5a6419a967>
- patch: <https://git.kernel.org/stable/c/b2df03ed4052e97126267e8c13ad4204ea6ba9b6>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-082556.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-38079>

HTML: <https://flawdb.com/CVE-2025-38079> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-38079>
