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.
Problem types
Execution with Unnecessary Privileges
Product status
Any version before 3.3.1
0:3.2.0-4.el10_0 (rpm) before *
0:2.18-5.el7_9.1 (rpm) before *
0:2.28-7.el8_10 (rpm) before *
0:2.19-13.el8_2 (rpm) before *
0:2.24-6.el8_4 (rpm) before *
0:2.24-9.el8_6 (rpm) before *
0:2.24-9.el8_6 (rpm) before *
0:2.24-9.el8_6 (rpm) before *
0:2.28-3.el8_8 (rpm) before *
0:2.28-14.el9_6 (rpm) before *
0:2.25-12.el9_0 (rpm) before *
0:2.28-5.el9_2 (rpm) before *
0:2.28-11.el9_4 (rpm) before *
Timeline
| 2025-06-03: | Reported to Red Hat. |
| 2025-06-17: | Made public. |
References
www.openwall.com/lists/oss-security/2025/06/17/5
www.openwall.com/lists/oss-security/2025/06/17/6
lists.debian.org/debian-lts-announce/2025/06/msg00018.html
www.openwall.com/lists/oss-security/2025/06/18/1
www.bleepingcomputer.com/...get-root-on-major-linux-distros/
news.ycombinator.com/item?id=44325861
access.redhat.com/errata/RHSA-2025:10796 (RHSA-2025:10796)
access.redhat.com/errata/RHSA-2025:9320 (RHSA-2025:9320)
access.redhat.com/errata/RHSA-2025:9321 (RHSA-2025:9321)
access.redhat.com/errata/RHSA-2025:9322 (RHSA-2025:9322)
access.redhat.com/errata/RHSA-2025:9323 (RHSA-2025:9323)
access.redhat.com/errata/RHSA-2025:9324 (RHSA-2025:9324)
access.redhat.com/errata/RHSA-2025:9325 (RHSA-2025:9325)
access.redhat.com/errata/RHSA-2025:9326 (RHSA-2025:9326)
access.redhat.com/errata/RHSA-2025:9327 (RHSA-2025:9327)
access.redhat.com/errata/RHSA-2025:9328 (RHSA-2025:9328)
access.redhat.com/errata/RHSA-2025:9878 (RHSA-2025:9878)
access.redhat.com/security/cve/CVE-2025-6019
bugzilla.redhat.com/show_bug.cgi?id=2370051 (RHBZ#2370051)
cdn2.qualys.com/2025/06/17/suse15-pam-udisks-lpe.txt