CVE-2025-6019
Libblockdev: lpe from allow_active to root in libblockdev via udisks
- State
- Published
- Severity
- 7.0 High
- Published
- Jun 19, 2025
- Updated
- Jun 30, 2026
- Reserved
- Jun 11, 2025
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.0 High | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H | redhat |
Weaknesses
- CWE-250 Execution with Unnecessary Privileges
Affected Products
| Product | Versions |
|---|---|
libblockdev |
|
Red Hat Enterprise Linux 10Red Hat |
|
Red Hat Enterprise Linux 7 Extended Lifecycle SupportRed Hat |
|
Red Hat Enterprise Linux 8Red Hat |
|
Red Hat Enterprise Linux 8.2 Advanced Update SupportRed Hat |
|
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update SupportRed Hat |
|
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update SupportRed Hat |
|
Red Hat Enterprise Linux 8.6 Telecommunications Update ServiceRed Hat |
|
Red Hat Enterprise Linux 8.6 Update Services for SAP SolutionsRed Hat |
|
Red Hat Enterprise Linux 8.8 Update Services for SAP SolutionsRed Hat |
|
Red Hat Enterprise Linux 9Red Hat |
|
Red Hat Enterprise Linux 9.0 Update Services for SAP SolutionsRed Hat |
|
Red Hat Enterprise Linux 9.2 Update Services for SAP SolutionsRed Hat |
|
Red Hat Enterprise Linux 9.4 Extended Update SupportRed Hat |
|
References
- RHSA-2025:10796vendor-advisory
- RHSA-2025:9320vendor-advisory
- RHSA-2025:9321vendor-advisory
- RHSA-2025:9322vendor-advisory
- RHSA-2025:9323vendor-advisory
- RHSA-2025:9324vendor-advisory
- RHSA-2025:9325vendor-advisory
- RHSA-2025:9326vendor-advisory
- RHSA-2025:9327vendor-advisory
- RHSA-2025:9328vendor-advisory
- RHSA-2025:9878vendor-advisory
- https://access.redhat.com/security/cve/CVE-2025-6019vdb-entry
- RHBZ#2370051issue-tracking
- https://cdn2.qualys.com/2025/06/17/suse15-pam-udisks-lpe.txt
- http://www.openwall.com/lists/oss-security/2025/06/17/5
- http://www.openwall.com/lists/oss-security/2025/06/17/6
- https://lists.debian.org/debian-lts-announce/2025/06/msg00018.html
- http://www.openwall.com/lists/oss-security/2025/06/18/1
- https://www.bleepingcomputer.com/news/linux/new-linux-udisks-flaw-lets-attackers-get-root-on-major-linux-distros/
- https://news.ycombinator.com/item?id=44325861
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.