CVE-2025-38079
crypto: algif_hash - fix double free in hash_accept
Mitigation
- No fix listed yet: follow the vendor advisory.
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
Vulnerability facts
- Affected
- Linux >= fe869cdb89c95d060c77eea20204d6c91f233b53, < 5bff312b59b3f2a54ff504e4f4e47272b64f3633; >= fe869cdb89c95d060c77eea20204d6c91f233b53, < bf7bba75b91539e93615f560893a599c1e1c98bf; >= fe869cdb89c95d060c77eea20204d6c91f233b53, < c3059d58f79fdfb2201249c2741514e34562b547; >= fe869cdb89c95d060c77eea20204d6c91f233b53, < f0f3d09f53534ea385d55ced408f2b67059b16e4; >= fe869cdb89c95d060c77eea20204d6c91f233b53, < 134daaba93193df9e988524b5cd2f52d15eb1993; >= fe869cdb89c95d060c77eea20204d6c91f233b53, < 2f45a8d64fb4ed4830a4b3273834ecd6ca504896; >= fe869cdb89c95d060c77eea20204d6c91f233b53, < 0346f4b742345d1c733c977f3a7aef5a6419a967; >= fe869cdb89c95d060c77eea20204d6c91f233b53, < b2df03ed4052e97126267e8c13ad4204ea6ba9b6; Linux 2.6.38
- Fixed in
- Linux 5bff312b59b3f2a54ff504e4f4e47272b64f3633, Linux 134daaba93193df9e988524b5cd2f52d15eb1993, Linux 2f45a8d64fb4ed4830a4b3273834ecd6ca504896, Linux 0346f4b742345d1c733c977f3a7aef5a6419a967
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 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
- EPSS
- 0.32% chance of exploitation in 30 days (percentile 18, 2026-11-26)
- CWE
- CWE-415
- Modified
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
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= fe869cdb89c95d060c77eea20204d6c91f233b53, < 5bff312b59b3f2a54ff504e4f4e47272b64f3633; >= fe869cdb89c95d060c77eea20204d6c91f233b53, < bf7bba75b91539e93615f560893a599c1e1c98bf; >= fe869cdb89c95d060c77eea20204d6c91f233b53, < c3059d58f79fdfb2201249c2741514e34562b547; >= fe869cdb89c95d060c77eea20204d6c91f233b53, < f0f3d09f53534ea385d55ced408f2b67059b16e4; >= fe869cdb89c95d060c77eea20204d6c91f233b53, < 134daaba93193df9e988524b5cd2f52d15eb1993; >= fe869cdb89c95d060c77eea20204d6c91f233b53, < 2f45a8d64fb4ed4830a4b3273834ecd6ca504896; >= fe869cdb89c95d060c77eea20204d6c91f233b53, < 0346f4b742345d1c733c977f3a7aef5a6419a967; >= fe869cdb89c95d060c77eea20204d6c91f233b53, < b2df03ed4052e97126267e8c13ad4204ea6ba9b6 | — | cvelist |
| Linux | 2.6.38 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
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.
References
Patches
- 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
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.