Skip to main content

Linux Kernel CVE-2026-46299

| EUVDEUVD-2026-35165 HIGH
Improper Locking (CWE-667)
2026-06-08 Linux GHSA-r7xr-jh3w-26ww
High
Disputed · 7.0 Vendor: Linux
View

Attack ChainAIDerived

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

  1. Access
    Local mount privilege or automounter access
  2. Delivery
    Supply crafted HFS+ image
  3. Exploit
    Mount triggers hfsplus_fill_super
  4. Execution
    hfsplus_cat_build_key returns -ENAMETOOLONG
  5. Persist
    Error path frees tree with lock held
  6. Impact
    Kernel warning / freed-lock state

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Proper locking
Exploitation Conditions

Requires (1) the target kernel built with CONFIG_HFSPLUS_FS enabled, (2) the ability to invoke mount(2) on an attacker-supplied HFS+ image - meaning either CAP_SYS_ADMIN/root, or a privileged automounter that accepts removable media from an unprivileged user, and (3) a crafted HFS+ volume whose catalog key construction triggers hfsplus_asc2uni() to return -ENAMETOOLONG (e.g., a malformed/oversize unicode name in the root catalog). Exploitation is limited by: AC:H complexity (the natural error path is rare without a deliberately malformed image), PR:L (mount is normally a privileged operation), and the fact that the demonstrated trigger required GDB-based modification of max_unistr_len rather than a fully image-driven path.

Impact

Real-world risk is low. CVSS 7.0 (AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H) reflects local attack vector with high complexity and required low-privilege access, but the practical impact of this specific bug is a held-lock warning during a failing mount - not direct memory corruption or privilege escalation. The 0.02% EPSS (5th percentile) and absence from CISA KEV confirm there is no active exploitation. The reporter explicitly notes the bug was only triggered by using GDB to artificially shrink max_unistr_len, meaning natural triggering requires either a crafted malicious HFS+ image AND the ability to invoke mount(2) with it - typically root or a user with CAP_SYS_ADMIN, or an automounter that mounts untrusted removable media. The 'Information Disclosure' tag from EUVD appears inconsistent with the actual bug (a locking/lifetime defect), and CVSS C:H/I:H ratings look optimistic for what is fundamentally a lockdep warning; treat the high CVSS as overstated relative to demonstrated impact.

Exploit ScenarioDerived

A local user with mount privileges (root, CAP_SYS_ADMIN, or a misconfigured automounter handling removable USB media) attaches a crafted HFS+ filesystem image whose catalog entries trigger -ENAMETOOLONG inside hfsplus_asc2uni(). The mount fails along the buggy error path, freeing the tree structure with tree_lock still held; on lockdep-enabled kernels this produces a held-lock-freed warning, and on production kernels it leaves freed memory referenced by lock-tracking state, potentially leading to use-after-free conditions on the lock structure. No public proof-of-concept has been published, though the reporter described GDB-based fault injection to confirm the path.

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

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

Alert me

AnalysisAIv1 – Jun 14, 2026

Local denial of service in the Linux kernel hfsplus filesystem driver occurs when hfsplus_fill_super() fails to release tree->tree_lock on an error path during HFS+ mount, causing a 'held lock freed' warning and potential lockdep-detected kernel instability. The flaw affects systems with CONFIG_HFSPLUS_FS enabled and is triggered when hfsplus_cat_build_key() returns an error during superblock initialization. No public exploit identified at time of analysis, and EPSS is very low (0.02%).

RemediationAI

Vendor-released patch: upgrade to Linux 6.6.140, 6.12.88, 6.18.30, 7.0.7, or 7.1-rc1 (or pick up stable commits 041acda6d9f9, d309d3308de6, 3ca80e3012c8, bfbcce6a7b05, or 90c500e4fd83 from https://git.kernel.org/stable/c/). The fix adds the missing hfs_find_exit(&fd) before the out_put_root error label. If patching is not immediately possible, the most effective compensating control is to prevent untrusted HFS+ mounts: unload or blacklist the hfsplus kernel module (echo 'blacklist hfsplus' > /etc/modprobe.d/hfsplus.conf and rmmod hfsplus), which eliminates exposure but breaks legitimate HFS+ media access; alternatively, disable automounting of removable media (e.g., udisks2 policy or systemd automount restrictions) so only privileged administrators can mount HFS+ volumes - this preserves manual administrative use at the cost of user convenience.

Affected VersionsENISA

Linux 89ac9b4d3d1a049ae1054f99b1aed81092cd0a82 <041acda6d9f96006703466449c10c9a69590c8b9
Linux patch: 7.0.7
Linux patch: 6.12.88
Linux 3.19
Linux 89ac9b4d3d1a049ae1054f99b1aed81092cd0a82 <d309d3308de658d87c42d97e044c89a226327526
Linux 89ac9b4d3d1a049ae1054f99b1aed81092cd0a82 <3ca80e3012c8be85b4f8d0d20eac8d3b17ff257e
Linux patch: 6.18.30
Linux 89ac9b4d3d1a049ae1054f99b1aed81092cd0a82 <90c500e4fd83fa33c09bc7ee23b6d9cc487ac733
Linux patch: 6.6.140
Linux 89ac9b4d3d1a049ae1054f99b1aed81092cd0a82 <bfbcce6a7b0552a390620d9b2c4d2bcb1825cbdc
Linux patch: 0
Linux patch: 7.1-rc1

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

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

Technical ContextAI · show details

The bug lives in fs/hfsplus/super.c within the hfsplus_fill_super() routine, which mounts HFS+ volumes (the legacy Apple Mac filesystem still supported by Linux for compatibility). During mount, hfs_find_init() acquires the b-tree's tree_lock to perform catalog lookups; if the subsequent hfsplus_cat_build_key() call fails (e.g., via hfsplus_asc2uni() returning -ENAMETOOLONG), control jumps to out_put_root without invoking the matching hfs_find_exit(), so the lock remains held when the tree structure is freed. CPE strings identify cpe:2.3:a:linux:linux as the affected product. While no CWE is listed, the root cause is a classic locking/resource-management error on an error path (CWE-667 'Improper Locking' / CWE-404 'Improper Resource Shutdown or Release').

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

Sources disagree (Low–High)
Vendor (Linux) PRIMARY 7.0 HIGH
AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 1.9 LOW

Local mount of a crafted HFS+ image requires CAP_SYS_ADMIN (PR:H), the error path is hard to trigger naturally (AC:H), and demonstrated impact is a kernel warning/possible instability (A:L) without confidentiality/integrity loss.

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

vuln.today treats the vendor’s rating as authoritative. A higher third-party CVSS (e.g. CISA-ADP) is shown for transparency but does not drive the headline severity.

CVSS VectorVendor: Linux

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

Lifecycle Timeline

4
CVSS changed
Jun 14, 2026 - 06:22 NVD
7.0 (HIGH)
Patch available
Jun 08, 2026 - 18:01 EUVD
CVE Published
Jun 08, 2026 - 15:46 cve.org
HIGH 7.0
CVE Published
Jun 08, 2026 - 15:46 nvd
UNKNOWN (no severity yet)

DescriptionCVE.org

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

hfsplus: fix held lock freed on hfsplus_fill_super()

hfsplus_fill_super() calls hfs_find_init() to initialize a search structure, which acquires tree->tree_lock. If the subsequent call to hfsplus_cat_build_key() fails, the function jumps to the out_put_root error label without releasing the lock. The later cleanup path then frees the tree data structure with the lock still held, triggering a held lock freed warning.

Fix this by adding the missing hfs_find_exit(&fd) call before jumping to the out_put_root error label. This ensures that tree->tree_lock is properly released on the error path.

The bug was originally detected on v6.13-rc1 using an experimental static analysis tool we are developing, and we have verified that the issue persists in the latest mainline kernel. The tool is specifically designed to detect memory management issues. It is currently under active development and not yet publicly available.

We confirmed the bug by runtime testing under QEMU with x86_64 defconfig, lockdep enabled, and CONFIG_HFSPLUS_FS=y. To trigger the error path, we used GDB to dynamically shrink the max_unistr_len parameter to 1 before hfsplus_asc2uni() is called. This forces hfsplus_asc2uni() to naturally return -ENAMETOOLONG, which propagates to hfsplus_cat_build_key() and exercises the faulty error path. The following warning was observed during mount:

===== WARNING: held lock freed! 7.0.0-rc3-00016-gb4f0dd314b39 #4 Not tainted ------------------------- mount/174 is freeing memory ffff888103f92000-ffff888103f92fff, with a lock still held there! ffff888103f920b0 (&tree->tree_lock){+.+.}-{4:4}, at: hfsplus_find_init+0x154/0x1e0 2 locks held by mount/174: #0: ffff888103f960e0 (&type->s_umount_key#42/1){+.+.}-{4:4}, at: alloc_super.constprop.0+0x167/0xa40 #1: ffff888103f920b0 (&tree->tree_lock){+.+.}-{4:4}, at: hfsplus_find_init+0x154/0x1e0

stack backtrace: CPU: 2 UID: 0 PID: 174 Comm: mount Not tainted 7.0.0-rc3-00016-gb4f0dd314b39 #4 PREEMPT(lazy) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.15.0-1 04/01/2014 Call Trace: <TASK> dump_stack_lvl+0x82/0xd0 debug_check_no_locks_freed+0x13a/0x180 kfree+0x16b/0x510 ? hfsplus_fill_super+0xcb4/0x18a0 hfsplus_fill_super+0xcb4/0x18a0 ? __pfx_hfsplus_fill_super+0x10/0x10 ? srso_return_thunk+0x5/0x5f ? bdev_open+0x65f/0xc30 ? srso_return_thunk+0x5/0x5f ? pointer+0x4ce/0xbf0 ? trace_contention_end+0x11c/0x150 ? __pfx_pointer+0x10/0x10 ? srso_return_thunk+0x5/0x5f ? bdev_open+0x79b/0xc30 ? srso_return_thunk+0x5/0x5f ? srso_return_thunk+0x5/0x5f ? vsnprintf+0x6da/0x1270 ? srso_return_thunk+0x5/0x5f ? __mutex_unlock_slowpath+0x157/0x740 ? __pfx_vsnprintf+0x10/0x10 ? srso_return_thunk+0x5/0x5f ? srso_return_thunk+0x5/0x5f ? mark_held_locks+0x49/0x80 ? srso_return_thunk+0x5/0x5f ? srso_return_thunk+0x5/0x5f ? irqentry_exit+0x17b/0x5e0 ? trace_irq_disable.constprop.0+0x116/0x150 ? __pfx_hfsplus_fill_super+0x10/0x10 ? __pfx_hfsplus_fill_super+0x10/0x10 get_tree_bdev_flags+0x302/0x580 ? __pfx_get_tree_bdev_flags+0x10/0x10 ? vfs_parse_fs_qstr+0x129/0x1a0 ? __pfx_vfs_parse_fs_qstr+0x3/0x10 vfs_get_tree+0x89/0x320 fc_mount+0x10/0x1d0 path_mount+0x5c5/0x21c0 ? __pfx_path_mount+0x10/0x10 ? trace_irq_enable.constprop.0+0x116/0x150 ? trace_irq_enable.constprop.0+0x116/0x150 ? srso_return_thunk+0x5/0x5f ? srso_return_thunk+0x5/0x5f ? kmem_cache_free+0x307/0x540 ? user_path_at+0x51/0x60 ? __x64_sys_mount+0x212/0x280 ? srso_return_thunk+0x5/0x5f __x64_sys_mount+0x212/0x280 ? __pfx___x64_sys_mount+0x10/0x10 ? srso_return_thunk+0x5/0x5f ? trace_irq_enable.constprop.0+0x116/0x150 ? srso_return_thunk+0x5/0x5f do_syscall_64+0x111/0x680 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ffacad55eae Code: 48 8b 0d 85 1f 0f 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 49 89 ca b8 a5 00 00 8 RSP: 002b ---truncated---

Executive ViewAI

Why It Matters

The Linux kernel HFS+ filesystem driver contains a local denial-of-service flaw (CVE-2026-46299) that can destabilize systems when mount operations fail, affecting systems with HFS+ support enabled-primarily development infrastructure and hybrid storage environments. No exploitation has been observed (EPSS 0.02%), but organizations maintaining HFS+ compatibility should remediate to prevent unexpected system crashes and service interruptions.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% exploitable
Data Quality
6 sources
Confidence: High

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.0%
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
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Medium

Priority Score

35
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +35
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
openSUSE Tumbleweed Fixed
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected

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