Skip to main content

Linux Kernel CVE-2025-68774

HIGH
2026-01-13 416baaa9-dc9f-4396-8d5f-8c081fb06d67
7.5
CVSS 3.1 · Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Local access to host with mounted HFS+ volume
  2. Delivery
    Issue concurrent sync() and link() operations
  3. Exploit
    Race in __hfs_bnode_create skips hfs_bnode_get
  4. Execution
    Refcount underflow on node put
  5. Impact
    BUG_ON triggers kernel panic (DoS)

Vulnerability Assessment

Exploitation Conditions

Requires a mounted HFS+ (hfsplus) filesystem on the target and the ability to issue concurrent filesystem operations against it - specifically overlapping sync()/write-inode activity and catalog-modifying operations such as link()/create - so that two threads simultaneously call hfs_bnode_find()->__hfs_bnode_create() for the same B-tree node (typically node 0) before it is hashed. Limiting factors: HFS+ must actually be in use (it is not a default filesystem on most Linux systems), the attacker needs local access to that volume, and success depends on winning a timing-sensitive race, making reliable exploitation difficult. Despite the input CVSS vector's AV:N/PR:N, the description indicates local, config-dependent (HFS+-mounted) access rather than remote unauthenticated exploitation - verify vector with vendor. Impact is limited to a kernel crash (availability), not code execution or data disclosure.

Impact

Signals conflict and must be read carefully. The provided CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N, A:H, base 7.5) implies a remote, unauthenticated, low-complexity network denial of service - but the description makes clear this is a local filesystem race requiring concurrent sync()/link() operations against an already-mounted HFS+ volume, so the network vector is almost certainly an automated over-scoring; treat real-world access as local and complexity as high (a timing race). EPSS is 0.05% (16th percentile), it is NOT in CISA KEV, and no POC is referenced, so there is no evidence of exploitation. The impact is availability only (kernel panic / DoS); despite the input Tags labeling this 'Information Disclosure', the mechanism (BUG_ON on refcount) produces a crash, not disclosure - the tag appears incorrect. Realistically this is a low-priority hardening fix for most environments: HFS+ is rarely mounted on production Linux, exploitation requires local access and winning a race, and the worst outcome is a self-inflicted or DoS crash. It becomes more relevant on multi-user systems or where untrusted users can mount/manipulate HFS+ media (e.g., automounting removable drives).

Exploit ScenarioDerived

On a multi-user Linux host that has an HFS+ volume mounted, a local unprivileged (or semi-privileged) user runs workloads that concurrently issue sync() and file-creation/link operations against that volume, repeatedly attempting to hit the B-tree node-creation race. When the race lands, the reference-count underflow triggers a BUG_ON and panics the kernel, denying service to all users. No public POC is referenced, and success depends on precise timing (a race condition), so reliable triggering is non-trivial.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv4 – Jul 30, 2026

Denial of service in the Linux kernel's HFS+ (hfsplus) filesystem driver allows a local user with access to a mounted HFS+ volume to crash the kernel via a reference-counting race in __hfs_bnode_create(). When sync() and link() operations run concurrently, two threads can both attempt to create the same B-tree node; the thread that loses the race reuses the already-hashed node without incrementing its refcount, so a later put trips BUG_ON(!atomic_read(&node->refcnt)) and panics the system. No public exploit has been identified at time of analysis, EPSS risk is very low (0.05%), and the issue is not in CISA KEV.

Earlier versions of this analysis (3)
v3 Jul 30, 2026 - 07:29 cvss changed CVSS 7.5

Denial of service in the Linux kernel's HFS+ (hfsplus) filesystem driver allows a local user to crash the kernel through a reference-counting race in __hfs_bnode_create(). When sync() and link() operations run concurrently against a mounted HFS+ volume, two threads can each believe they created the same B-tree node and both set refcnt=1; the later put() then trips BUG_ON(!atomic_read(&node->refcnt)), panicking the machine. No public exploit is identified at time of analysis, EPSS is low (0.05%), and the issue is not on CISA KEV; it is a stability/availability bug, not information disclosure despite the source tag.

v2 Jul 30, 2026 - 07:28 cvss changed CVSS 7.5

Local denial of service in the Linux kernel's HFS+ (hfsplus) filesystem driver arises from a reference-count race in __hfs_bnode_create(): when sync() and link() operations run concurrently, two threads can create the same b-tree node, and the thread that discovers the node was already hashed reuses it without taking a reference. The resulting refcount imbalance later triggers BUG_ON(!atomic_read(&node->refcnt)), crashing the kernel. No public exploit identified at time of analysis, EPSS is negligible (0.05%), and the flaw mirrors an old HFS fix (commit a9dc087fd3c4) that was never ported to HFS+.

v1 Mar 12, 2026 - 21:54

In the Linux kernel, the following vulnerability has been resolved:

hfsplus: fix missing hfs_bnode_get() in __hfs_bnode_create

When sync() and link() are called concurrently, both threads may enter hfs_bnode_find() without finding the node in the hash table and proceed to create it.

RemediationAI

Patch available per vendor advisory: apply the upstream stable-tree fix that adds the missing hfs_bnode_get() call in __hfs_bnode_create() (see the git.kernel.org commits, e.g. https://git.kernel.org/stable/c/b9d1c6bb5f19460074ce9862cb80be86b5fb0a50). Ubuntu users should update to the fixed kernel per USN-8096-1 (https://ubuntu.com/security/notices/USN-8096-1); other distributions should upgrade to their kernel build that incorporates these commits - exact patched package versions must be taken from the distribution advisory rather than invented. Until the kernel is updated, the most effective compensating control is to avoid mounting HFS+ volumes: blacklist or unload the hfsplus module (e.g., add hfsplus to modprobe blacklist), and disable automounting of removable media so untrusted HFS+ disks cannot be mounted; the trade-off is loss of the ability to read/write Apple-formatted media on that host. On multi-user systems, restrict which users can mount filesystems and avoid exposing HFS+ mounts to untrusted local users. Reboot is required for the kernel update to take effect.

Affected ProductsAI

The affected product is the mainline Linux kernel's hfsplus filesystem driver; the flaw exists in all versions prior to the fix and mirrors an issue long resolved in the older HFS driver. NVD references seven git.kernel.org stable-tree commits representing the fix backported across supported stable branches (e.g., https://git.kernel.org/stable/c/b9d1c6bb5f19460074ce9862cb80be86b5fb0a50 and https://git.kernel.org/stable/c/152af114287851583cf7e0abc10129941f19466a). Distribution exposure is confirmed for Ubuntu via advisory USN-8096-1 (https://ubuntu.com/security/notices/USN-8096-1). Exact vulnerable-to-fixed version boundaries per branch are not enumerated in the provided data and should be confirmed against each distribution's kernel package and the specific stable commit that landed in that branch.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

HFS+ (hfsplus) is the legacy Apple filesystem, supported in Linux mainly for interoperability with macOS media. Internally it uses B-trees whose nodes (bnodes) are cached in a per-tree hash table (tree->node_hash) protected by tree->hash_lock. Each successful hfs_bnode_find() is contractually required to hold one reference on the returned node. The root cause is a missing reference acquisition on a specific code path: in __hfs_bnode_create() a thread that finds an already-hashed node created by a racing thread (via hfs_bnode_findhash) frees its own allocation and returns the existing node, but historically failed to call hfs_bnode_get() on it. Both racing threads therefore believe they hold the single refcnt=1, and the second put drives the counter below zero, hitting the BUG_ON. This is a classic reference-count mismanagement / concurrency defect (conceptually CWE-911 improper reference count update, arising from a CWE-362 race condition); the NVD record lists CWE as N/A. The identical bug was fixed years ago in the older HFS driver (commit a9dc087fd3c4) but persisted in HFS+ until this patch.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 4.7 MEDIUM

Local filesystem access needed (AV:L), win a timing race (AC:H), local user privileges (PR:L); impact is kernel panic so A:H with no confidentiality or integrity loss.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:H/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE 4.7 MEDIUM
AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Red Hat 5.5 MEDIUM

Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).

CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

6
Analysis Updated
Jul 30, 2026 - 07:30 vuln.today
v4 - CVSS changed
Analysis Updated
Jul 30, 2026 - 07:29 vuln.today
v3 - CVSS changed
Analysis Updated
Jul 30, 2026 - 07:28 vuln.today
v2 - CVSS changed
CVSS changed
Jul 30, 2026 - 06:37 NVD
7.5 (HIGH)
Patch released
Mar 16, 2026 - 15:00 nvd
Patch available
CVE Published
Jan 13, 2026 - 16:15 nvd
N/A

DescriptionCVE.org

In the Linux kernel, the following vulnerability has been resolved:

hfsplus: fix missing hfs_bnode_get() in __hfs_bnode_create

When sync() and link() are called concurrently, both threads may enter hfs_bnode_find() without finding the node in the hash table and proceed to create it.

Thread A: hfsplus_write_inode() -> hfsplus_write_system_inode() -> hfs_btree_write() -> hfs_bnode_find(tree, 0) -> __hfs_bnode_create(tree, 0)

Thread B: hfsplus_create_cat() -> hfs_brec_insert() -> hfs_bnode_split() -> hfs_bmap_alloc() -> hfs_bnode_find(tree, 0) -> __hfs_bnode_create(tree, 0)

In this case, thread A creates the bnode, sets refcnt=1, and hashes it. Thread B also tries to create the same bnode, notices it has already been inserted, drops its own instance, and uses the hashed one without getting the node.


	node2 = hfs_bnode_findhash(tree, cnid);
	if (!node2) {                                 <- Thread A
		hash = hfs_bnode_hash(cnid);
		node->next_hash = tree->node_hash[hash];
		tree->node_hash[hash] = node;
		tree->node_hash_cnt++;
	} else {                                      <- Thread B
		spin_unlock(&tree->hash_lock);
		kfree(node);
		wait_event(node2->lock_wq,
			!test_bit(HFS_BNODE_NEW, &node2->flags));
		return node2;
	}

However, hfs_bnode_find() requires each call to take a reference. Here both threads end up setting refcnt=1. When they later put the node, this triggers:

BUG_ON(!atomic_read(&node->refcnt))

In this scenario, Thread B in fact finds the node in the hash table rather than creating a new one, and thus must take a reference.

Fix this by calling hfs_bnode_get() when reusing a bnode newly created by another thread to ensure the refcount is updated correctly.

A similar bug was fixed in HFS long ago in commit a9dc087fd3c4 ("fix missing hfs_bnode_get() in __hfs_bnode_create") but the same issue remained in HFS+ until now.

Executive ViewAI

Why It Matters

CVE-2025-68774 affects the Linux kernel HFS+ filesystem driver and can cause system crashes through a race condition in B-tree node creation when local users perform concurrent file operations on mounted HFS+ volumes. While the vulnerability carries high technical severity (CVSS 7.5), actual exploitation probability is extremely low (EPSS 0.1%) with no public exploit identified, making this a manageable risk requiring inventory of HFS+ deployments and targeted patching.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 84% exploitable
Prevalence
Ubiquitous
Linux kernel runs everywhere, though the hfsplus module is rarely mounted
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Medium

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
Image SLES12-SP5-Azure-BYOS Image SLES12-SP5-Azure-HPC-BYOS Image SLES12-SP5-EC2-BYOS Image SLES12-SP5-EC2-ECS-On-Demand Image SLES12-SP5-EC2-On-Demand Image SLES12-SP5-GCE-BYOS Image SLES12-SP5-GCE-On-Demand Affected
Image SLES12-SP5-Azure-SAP-BYOS Image SLES12-SP5-Azure-SAP-On-Demand Image SLES12-SP5-EC2-SAP-BYOS Image SLES12-SP5-EC2-SAP-On-Demand Image SLES12-SP5-GCE-SAP-BYOS Image SLES12-SP5-GCE-SAP-On-Demand Image SLES12-SP5-SAP-Azure-LI-BYOS-Production Image SLES12-SP5-SAP-Azure-VLI-BYOS-Production Affected
SUSE Linux Enterprise Server 12 SP5-LTSS Fixed
SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 Fixed
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy