CVE-2025-68761Published Jan 5, 2026 · Jan 5Updated Oct 28
hfs: fix potential use after free in hfs_correct_next_unused_CNID()
Linux
High7.8
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s HFS code may dereference a node after releasing its reference in hfs_correct_next_unused_CNID(). The input does not establish how an attacker could trigger this or whether local access, authentication, or user interaction is required.
Engineers running the Linux kernel should check their HFS exposure; affected versions are not specified.