ZeroHour

CVE-2026-76642

mass

Missing Exit-Status Check in util-linux Mount Helpers Enables Local Privilege Escalation

CVSS 4.0
8.5 high
EPSS
<1%p7
Published
()
Modified
AI analysis

util-linux versions through 2.41.5 and through 2.42.2 fail to check the exit status of mount helpers before running post-mount hooks, so privileged post-mount actions still execute after a helper has failed. A local unprivileged user who can trigger affected mount paths (for example fstab-based mounts using the X-mount.idmap or X-mount.owner hooks) can induce a helper failure and have the hooks clone filesystems with inherited suid bits or modify target inode permissions. Successful exploitation yields local privilege escalation, letting the attacker perform privileged operations on pre-existing filesystems. Any Linux deployment running an affected util-linux version is potentially affected, though exploitability depends on local configurations that allow unprivileged users to invoke these mount helpers rather than on network exposure. No public proof-of-concept is known, the flaw is not in CISA KEV, and EPSS assigns only a 0.2% probability of exploitation in the next 30 days.

What to do: Upgrade to util-linux 2.42.3, or to your distribution's patched package as soon as it is available. Until patched, audit fstab and automount configurations that permit unprivileged users to invoke mount helpers with X-mount.idmap or X-mount.owner and restrict or remove such entries. Also check local mounts for unexpectedly retained suid bits or changed ownership/permissions on target inodes, which would indicate attempted exploitation.

Affected
util-linux project (upstream; shipped by Linux distributions) util-linuxthrough 2.41.5 and through 2.42.2 (fixed in 2.42.3)
Estimated exposure
masshundreds of millions of Linux installations (util-linux is a default package on virtually every distribution) — util-linux ships by default on essentially all Linux distributions across servers, desktops, containers and embedded devices, so the potential install base is in the hundreds of millions, although practical exploitability requires local…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

util-linux versions through 2.41.5 and 2.42.2 fail to check mount helper exit status before running post-mount hooks, allowing unprivileged users to execute privileged operations on pre-existing filesystems. Attackers can exploit X-mount.idmap or X-mount.owner hooks to clone filesystems with inherited suid bits or modify target inode permissions after a helper fails, achieving privilege escalation.

Weakness
CWE-390
Vector
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

In the news

Vulnerability fixes in util-linux-2.42.3

util-linux 2.42.3 patches mount(8) flaws CVE-2026-76642 and CVE-2026-78410, which allow privileged operations after mount helper failure.

util-linux 2.42.3 ships security fixes for two mount(8) vulnerabilities. CVE-2026-76642 causes post-mount hooks (X-mount.idmap, X-mount.owner/group/mode) to run even when an external mount helper exits nonzero, permitting privileged operations on the pre-existing target filesystem. CVE-2026-78410 is a time-of-check-to-time-of-use (TOCTOU) issue in mount(8). No exploitation or PoC is mentioned in the release notes.