Linux hwe edge: In the Linux kernel, the following vulnerability has been resolved: hfs: fix potential use after free in hfs_correct_next_unused_CNID() This code… (CVE-2025-68761)
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.
AI Analysis
Technical Summary
The Linux kernel contained a use-after-free vulnerability in the HFS filesystem implementation within the function hfs_correct_next_unused_CNID(). The vulnerability arose because the code called hfs_bnode_put(node), which decrements the reference count and potentially frees the node, followed immediately by dereferencing the same node pointer. Accessing the node after releasing its reference is unsafe and could lead to memory corruption or system instability. The patch corrected this by reordering the operations to maintain a valid reference while accessing the node.
Potential Impact
Exploitation of this vulnerability could result in memory corruption, leading to potential privilege escalation, denial of service, or arbitrary code execution within the context of the Linux kernel. The CVSS vector indicates local attack vector with low complexity and no user interaction required, with high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
A fix for this vulnerability has been implemented in the Linux kernel source code by reordering the reference count decrement and node dereference operations. Users and administrators should apply the official Linux kernel updates that include this patch once available. Patch status is not yet confirmed from the vendor advisory; check the official Linux kernel repositories or vendor advisories for the current remediation status.
Linux hwe edge: In the Linux kernel, the following vulnerability has been resolved: hfs: fix potential use after free in hfs_correct_next_unused_CNID() This code… (CVE-2025-68761)
Description
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.
CVSS v3.1
Score 7.8high
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel contained a use-after-free vulnerability in the HFS filesystem implementation within the function hfs_correct_next_unused_CNID(). The vulnerability arose because the code called hfs_bnode_put(node), which decrements the reference count and potentially frees the node, followed immediately by dereferencing the same node pointer. Accessing the node after releasing its reference is unsafe and could lead to memory corruption or system instability. The patch corrected this by reordering the operations to maintain a valid reference while accessing the node.
Potential Impact
Exploitation of this vulnerability could result in memory corruption, leading to potential privilege escalation, denial of service, or arbitrary code execution within the context of the Linux kernel. The CVSS vector indicates local attack vector with low complexity and no user interaction required, with high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
A fix for this vulnerability has been implemented in the Linux kernel source code by reordering the reference count decrement and node dereference operations. Users and administrators should apply the official Linux kernel updates that include this patch once available. Patch status is not yet confirmed from the vendor advisory; check the official Linux kernel repositories or vendor advisories for the current remediation status.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-7r8q-9953-q2xj
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2025-68761"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a6b72d29c2644c7f8477694
Added to database: 07/30/2026, 15:50:42 UTC
Last enriched: 07/30/2026, 18:58:34 UTC
Last updated: 09/10/2026, 19:36:51 UTC
Views: 14
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.