CVE-2025-6019 Libblockdev: lpe from allow_active to root in libblockdev via udisks
- 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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- Debian Security Tracker CVE-2025-6019 vendor-advisory
- RHSA-2025:10796 vendor-advisory
- RHSA-2025:9320 vendor-advisory
- RHSA-2025:9321 vendor-advisory
- RHSA-2025:9322 vendor-advisory
- RHSA-2025:9323 vendor-advisory
- RHSA-2025:9324 vendor-advisory
- RHSA-2025:9325 vendor-advisory
- RHSA-2025:9326 vendor-advisory
- RHSA-2025:9327 vendor-advisory
- RHSA-2025:9328 vendor-advisory
- RHSA-2025:9878 vendor-advisory
- access.redhat.com vdb-entry
- RHBZ#2370051 issue-tracking
- cdn2.qualys.com
- www.openwall.com
- www.openwall.com
- lists.debian.org
- www.openwall.com
- www.bleepingcomputer.com
- news.ycombinator.com
- Ubuntu CVE tracker vendor-advisory
- USN-7577-1 vendor-advisory
- USN-7578-1 vendor-advisory
- USN-7577-2 vendor-advisory
- USN-7578-2 vendor-advisory
- www.cve.org