CVE-2025-38079: Double Free in Linux Kernel algif_hash hash_accept
- Vendors
- Debian ProjectLinux
CVE-2025-38079 is a double-free vulnerability in the Linux kernel AF_ALG hash-socket implementation's hash_accept function. When accept(2) is invoked on an algif_hash socket with MSG_MORE state set and crypto_ahash_import fails, the error path frees the sk2 socket object. Subsequent cleanup through af_alg_release frees the same object again, resulting in a slab use-after-free condition. The flaw was introduced in Linux 2.6.38 and can cause kernel memory corruption.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
A local, low-privileged attacker can trigger kernel memory corruption, potentially causing a kernel crash and denial of service. Confidentiality and integrity may also be affected if the corruption is successfully exploited. Arbitrary code execution or privilege escalation is a potential consequence, but a demonstrated exploit is not established.
Mitigation
If you can’t patch tonight, do this now.
No configuration workaround is specified. Until patched kernels can be deployed, restrict local access and privileges to trusted users, particularly where untrusted local users or workloads can access AF_ALG hash sockets. Reboot after installing a fixed kernel.
Remediation
Patch, then assume compromise.
Install a current supported kernel containing the fix and reboot into the updated kernel. Upstream fixed releases include 5.4.294, 5.10.238, 5.15.185, 6.1.141, 6.6.93, 6.12.31, 6.14.9, and 6.15. Distribution kernels may contain backported fixes; use the applicable vendor security update rather than relying solely on the upstream version number. Examples include RHEL 7 ELS kernel 3.10.0-1160.138.1.el7 and RHEL 8.10 kernel 4.18.0-553.66.1.el8_10. Updating to a supported fixed kernel is preferred over cherry-picking an individual patch.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2025-38079 exploited in the wild?
- As of Nov 21, 2026, Mallory has no reports of CVE-2025-38079 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2025-38079?
- As of Nov 21, 2026, Mallory has found no public exploit for CVE-2025-38079.
- Is there a patch for CVE-2025-38079?
- Install a current supported kernel containing the fix and reboot into the updated kernel. Upstream fixed releases include 5.4.294, 5.10.238, 5.15.185, 6.1.141, 6.6.93, 6.12.31, 6.14.9, and 6.15.
- What products are affected by CVE-2025-38079?
- Linux Kernel and Debian Project Debian Linux.
- How severe is CVE-2025-38079?
- CVE-2025-38079 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 0.32% (18th percentile) as of Nov 21, 2026.
Recent activity
32 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.