Name
udisks2
Version
2.9.4
Type
library
Description
udisks provides dbus interfaces for disks and storage devices
Licenses
GPL-2.0-or-later & LGPL-2.0-or-later
PURL
-
CPE
cpe:2.3:*:*:udisks:2.9.4:*:*:*:*:*:*:*
Other Versions#
Patches#
#
Title
Author
Resolve
1
udiskslinuxfilesystemhelpers: Mount private mounts with
Tomas Bzatek <tbzatek@redhat.com>
CVE-2025-6019
2
udiskslinuxmanager: Add lower bounds check to fd_index
Marc Deslauriers <marc.deslauriers@canonical.com>
CVE-2025-8067
Vulnerabilities#
Name
Analysis
Description
Patched
A flaw was found in the Udisks daemon, where it allows unprivileged users to create loop devices using the D-BUS system. This is achieved via the loop device handler, which handles requests sent through the D-BUS interface. As two of the parameters of this handle, it receives the file descriptor list and index specifying the file where the loop device should be backed. The function itself validates the index value to ensure it isn't bigger than the maximum value allowed. However, it fails to validate the lower bound, allowing the index parameter to be a negative value. Under these circumstances, an attacker can cause the UDisks daemon to crash or perform a local privilege escalation by gaining access to files owned by privileged users.
Patched
A Local Privilege Escalation (LPE) vulnerability was found in libblockdev. Generally, the "allow_active" setting in Polkit permits a physically present user to take certain actions based on the session type. Due to the way libblockdev interacts with the udisks daemon, an "allow_active" user on a system may be able escalate to full root privileges on the target host. Normally, udisks mounts user-provided filesystem images with security flags like nosuid and nodev to prevent privilege escalation. However, a local attacker can create a specially crafted XFS image containing a SUID-root shell, then trick udisks into resizing it. This mounts their malicious filesystem with root privileges, allowing them to execute their SUID-root shell and gain complete control of the system.