CVE-2025-6019
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.
How to fix
- libblockdev3.3.1 or later
- access.redhat.com/errata/RHSA-2025:10796
- access.redhat.com/errata/RHSA-2025:9320
- access.redhat.com/errata/RHSA-2025:9321
- access.redhat.com/errata/RHSA-2025:9322
- access.redhat.com/errata/RHSA-2025:9323
- access.redhat.com/errata/RHSA-2025:9324
- access.redhat.com/errata/RHSA-2025:9325
- access.redhat.com/errata/RHSA-2025:9326
- access.redhat.com/errata/RHSA-2025:9327
- access.redhat.com/errata/RHSA-2025:9328
- access.redhat.com/errata/RHSA-2025:9878
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| libblockdev | v < 3.3.1 | 3.3.1 |
| Red Hat Red Hat Enterprise Linux 10 | No range specified | — |
| Red Hat Red Hat Enterprise Linux 7 Extended Lifecycle Support | No range specified | — |
| enterprise_linux 8 | No range specified | — |
| rhel_aus 8.2 | No range specified | — |
| rhel_aus 8.4 | No range specified | — |
| rhel_aus 8.6 | No range specified | — |
| rhel_e4s 8.8 | No range specified | — |
| enterprise_linux 9 | No range specified | — |
| rhel_e4s 9.0 | No range specified | — |
| rhel_e4s 9.2 | No range specified | — |
| rhel_eus 9.4 | No range specified | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.