Bug 2427115 (CVE-2025-68761) - CVE-2025-68761 kernel: hfs: fix potential use after free in hfs_correct_next_unused_CNID()
Summary: CVE-2025-68761 kernel: hfs: fix potential use after free in hfs_correct_next_...
Keywords:
Status: NEW
Alias: CVE-2025-68761
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-01-05 10:02 UTC by OSIDB Bzimport
Modified: 2026-01-05 12:13 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-01-05 10:02:14 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.