Skip to content

CVE-2025-6019 Libblockdev: lpe from allow_active to root in libblockdev via udisks

HighCVSS 7.0 EPSS 0.48%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
UbuntuDebianRed Hat

Description

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.

Upgrade path

14 packages: 14 fixed.

PackageAffectedFixed inStatus
debian/libblockdev(Debian 12) < 2.28-2+deb12u1; = 2.28-2 2.28-2+deb12u1 Fixed
debian/libblockdev(Debian 13) < 3.3.0-2.1 3.3.0-2.1 Fixed
debian/libblockdev(Debian 14) < 3.3.0-2.1 3.3.0-2.1 Fixed
libblockdev < 3.3.1 3.3.1 Fixed
redhat enterprise linux < 0:2.28-7.el8_10; < 0:2.28-14.el9_6; < 0:3.2.0-4.el10_0 0:2.28-7.el8_10, 0:2.28-14.el9_6, 0:3.2.0-4.el10_0 Fixed
redhat rhel aus < 0:2.19-13.el8_2; < 0:2.24-6.el8_4; < 0:2.24-9.el8_6 0:2.19-13.el8_2, 0:2.24-6.el8_4, 0:2.24-9.el8_6 Fixed
redhat rhel e4s < 0:2.24-9.el8_6; < 0:2.25-12.el9_0; < 0:2.28-3.el8_8; < 0:2.28-5.el9_2 0:2.24-9.el8_6, 0:2.25-12.el9_0, 0:2.28-3.el8_8, 0:2.28-5.el9_2 Fixed
redhat rhel els < 0:2.18-5.el7_9.1 0:2.18-5.el7_9.1 Fixed
redhat rhel eus < 0:2.28-11.el9_4 0:2.28-11.el9_4 Fixed
redhat rhel tus < 0:2.24-9.el8_6 0:2.24-9.el8_6 Fixed
ubuntu/libblockdev(Ubuntu 22.04) < 2.26-1ubuntu0.1 2.26-1ubuntu0.1 Fixed
ubuntu/libblockdev(Ubuntu 24.04) < 3.1.1-1ubuntu0.1 3.1.1-1ubuntu0.1 Fixed
ubuntu/udisks2(Ubuntu 22.04) < 2.9.4-1ubuntu2.2 2.9.4-1ubuntu2.2 Fixed
ubuntu/udisks2(Ubuntu 24.04) < 2.10.1-6ubuntu1.2 2.10.1-6ubuntu1.2 Fixed

Affected products

ProductAffected versionsFixed in
debian/libblockdev(Debian:12) < 2.28-2+deb12u1 2.28-2+deb12u1
debian/libblockdev(Debian:12) = 2.28-2 No fix listed
debian/libblockdev(Debian:13) < 3.3.0-2.1 3.3.0-2.1
debian/libblockdev(Debian:14) < 3.3.0-2.1 3.3.0-2.1
libblockdev < 3.3.1 3.3.1
redhat enterprise linux < 0:3.2.0-4.el10_0 0:3.2.0-4.el10_0
redhat rhel els < 0:2.18-5.el7_9.1 0:2.18-5.el7_9.1
redhat enterprise linux < 0:2.28-7.el8_10 0:2.28-7.el8_10
redhat rhel aus < 0:2.19-13.el8_2 0:2.19-13.el8_2
redhat rhel aus < 0:2.24-6.el8_4 0:2.24-6.el8_4
redhat rhel aus < 0:2.24-9.el8_6 0:2.24-9.el8_6
redhat rhel e4s < 0:2.24-9.el8_6 0:2.24-9.el8_6
redhat rhel tus < 0:2.24-9.el8_6 0:2.24-9.el8_6
redhat rhel e4s < 0:2.28-3.el8_8 0:2.28-3.el8_8
redhat enterprise linux < 0:2.28-14.el9_6 0:2.28-14.el9_6
redhat rhel e4s < 0:2.25-12.el9_0 0:2.25-12.el9_0
redhat rhel e4s < 0:2.28-5.el9_2 0:2.28-5.el9_2
redhat rhel eus < 0:2.28-11.el9_4 0:2.28-11.el9_4
ubuntu/libblockdev(Ubuntu:22.04) < 2.26-1ubuntu0.1 2.26-1ubuntu0.1
ubuntu/udisks2(Ubuntu:22.04) < 2.9.4-1ubuntu2.2 2.9.4-1ubuntu2.2
ubuntu/libblockdev(Ubuntu:24.04) < 3.1.1-1ubuntu0.1 3.1.1-1ubuntu0.1
ubuntu/udisks2(Ubuntu:24.04) < 2.10.1-6ubuntu1.2 2.10.1-6ubuntu1.2

References