CVE-2025-68761

published 5 Jan 2026 · updated 5 Aug 2026

hfs: fix potential use after free in hfs_correct_next_unused_CNID()

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 40a1e0142096dd7dd6cb5373841222b528698588 and Kernel c105e76bb17cf4b55fe89c6ad4f6a0e3972b5b08.

In the Linux kernel, the following vulnerability has been resolved: hfs: fix potential use after free in hfs_correct_next_unused_CNID() This code calls hfs_bnode_put(node) which drops the refcount and then dreferences "node" on the next line. It's only safe to use "node" when we're holding a reference so flip these two lines around.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.18, >=a06ec283e125e334155fe13005c76c9f484ce759 <40a1e0142096dd7dd6cb5373841222b528698588, >=a06ec283e125e334155fe13005c76c9f484ce759 <c105e76bb17cf4b55fe89c6ad4f6a0e3972b5b0840a1e0142096dd7dd6cb5373841222b528698588, c105e76bb17cf4b55fe89c6ad4f6a0e3972b5b08

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-68761 severity on Zeptric[![CVE-2025-68761](https://zeptric.io/badge/cve/CVE-2025-68761.svg)](https://zeptric.io/cve/CVE-2025-68761)