What’s Vulnerable › Vulnerabilities
CVE-2025-6019: Libblockdev: lpe from allow_active to root in libblockdev via udisks
- Severity: high (CVSS 7.0 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-06-19 · updated 2026-06-30
- Weakness: CWE-250
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.
Affected products
- Red Hat Enterprise Linux 10: all versions — fixed in 0:3.2.0-4.el10_0
- Red Hat Enterprise Linux 7 Extended Lifecycle Support: all versions — fixed in 0:2.18-5.el7_9.1
- Red Hat Enterprise Linux 8: all versions — fixed in 0:2.28-7.el8_10
- Red Hat Enterprise Linux 8.2 Advanced Update Support: all versions — fixed in 0:2.19-13.el8_2
- Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support: all versions — fixed in 0:2.24-6.el8_4
- Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support: all versions — fixed in 0:2.24-9.el8_6
- Red Hat Enterprise Linux 8.6 Telecommunications Update Service: all versions — fixed in 0:2.24-9.el8_6
- Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions: all versions — fixed in 0:2.24-9.el8_6
- Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions: all versions — fixed in 0:2.28-3.el8_8
- Red Hat Enterprise Linux 9: all versions — fixed in 0:2.28-14.el9_6
- Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions: all versions — fixed in 0:2.25-12.el9_0
- Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions: all versions — fixed in 0:2.28-5.el9_2
- Red Hat Enterprise Linux 9.4 Extended Update Support: all versions — fixed in 0:2.28-11.el9_4
How to fix
Upgrade to a fixed version: Red Hat Enterprise Linux 10 0:3.2.0-4.el10_0; Red Hat Enterprise Linux 7 Extended Lifecycle Support 0:2.18-5.el7_9.1; Red Hat Enterprise Linux 8 0:2.28-7.el8_10; Red Hat Enterprise Linux 8.2 Advanced Update Support 0:2.19-13.el8_2; Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support 0:2.24-6.el8_4; Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support 0:2.24-9.el8_6; Red Hat Enterprise Linux 8.6 Telecommunications Update Service 0:2.24-9.el8_6; Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions 0:2.24-9.el8_6; Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions 0:2.28-3.el8_8; Red Hat Enterprise Linux 9 0:2.28-14.el9_6; Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions 0:2.25-12.el9_0; Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions 0:2.28-5.el9_2. Check the vendor advisory for mitigations.
References
- https://access.redhat.com/errata/RHSA-2025:10796
- https://access.redhat.com/errata/RHSA-2025:9320
- https://access.redhat.com/errata/RHSA-2025:9321
- https://access.redhat.com/errata/RHSA-2025:9322
- https://access.redhat.com/errata/RHSA-2025:9323
- https://access.redhat.com/errata/RHSA-2025:9324
- https://access.redhat.com/errata/RHSA-2025:9325
- https://access.redhat.com/errata/RHSA-2025:9326
- https://access.redhat.com/errata/RHSA-2025:9327
- https://access.redhat.com/errata/RHSA-2025:9328
- https://access.redhat.com/errata/RHSA-2025:9878
- https://access.redhat.com/security/cve/CVE-2025-6019
Get alerted when CVE-2025-6019 or the next vulnerability affects your stack