CVE-2025-6019
Libblockdev: lpe from allow_active to root in libblockdev via udisks
Reported by redhat · Published June 19, 2025
libblockdev is fixed in 3.3.1 (GitHub Packages)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| libblockdev | GitHub Packages | 3.3.1 |
| udisks2 | Amazon Linux | 2.10.1-6.amzn2023.0.2, 2.7.3-9.amzn2.0.3 |
| libblockdev-crypto | Amazon Linux | 3.2.1-1.amzn2023.0.3, 2.18-4.amzn2.0.2 |
| libblockdev-plugins-all | Amazon Linux | 3.2.1-1.amzn2023.0.3, 2.18-4.amzn2.0.2 |
| libblockdev-part | Amazon Linux | 3.2.1-1.amzn2023.0.3, 2.18-4.amzn2.0.2 |
| libudisks2 | Amazon Linux | 2.10.1-6.amzn2023.0.2, 2.7.3-9.amzn2.0.3 |
| libblockdev-btrfs | Amazon Linux | 2.18-4.amzn2.0.2 |
| libblockdev-smart | Amazon Linux | 3.2.1-1.amzn2023.0.3 |
| libblockdev-utils-devel | Amazon Linux | 3.2.1-1.amzn2023.0.3, 2.18-4.amzn2.0.2 |
| libblockdev-smart-devel | Amazon Linux | 3.2.1-1.amzn2023.0.3 |
| libblockdev-nvdimm-devel | Amazon Linux | 3.2.1-1.amzn2023.0.3, 2.18-4.amzn2.0.2 |
| libblockdev-swap-devel | Amazon Linux | 3.2.1-1.amzn2023.0.3, 2.18-4.amzn2.0.2 |
36 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| 0 | ||
| Red Hat | Red Hat Enterprise Linux 10 | 0:3.2.0-4.el10_0 |
| Red Hat | Red Hat Enterprise Linux 7 Extended Lifecycle Support | 0:2.18-5.el7_9.1 |
| Red Hat | Red Hat Enterprise Linux 8 | 0:2.28-7.el8_10 |
| Red Hat | Red Hat Enterprise Linux 8.2 Advanced Update Support | 0:2.19-13.el8_2 |
| Red Hat | Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | 0:2.24-6.el8_4 |
| Red Hat | Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | 0:2.24-9.el8_6 |
| Red Hat | Red Hat Enterprise Linux 8.6 Telecommunications Update Service | 0:2.24-9.el8_6 |
| Red Hat | Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions | 0:2.24-9.el8_6 |
| Red Hat | Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions | 0:2.28-3.el8_8 |
| Red Hat | Red Hat Enterprise Linux 9 | 0:2.28-14.el9_6 |
| Red Hat | Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions | 0:2.25-12.el9_0 |
| Red Hat | Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions | 0:2.28-5.el9_2 |
| Red Hat | Red Hat Enterprise Linux 9.4 Extended Update Support | 0:2.28-11.el9_4 |
| amazon:2 | udisks2 | 0 |
| amazon:2023 | libblockdev-crypto | 0 |
| Red Hat | Red Hat Enterprise Linux 9.4 Extended Update Support | 0:2.28-11.el9_4 |
| amazon:2 | libblockdev-plugins-all | 0 |
| amazon:2 | libblockdev-part | 0 |
| amazon:2023 | udisks2 | 0 |
…and 86 more
Timeline
- Jun 17, 2025 PoC Published (89 in total, the first dated here)
- Jun 17, 2025 CVE Published
- Jun 19, 2025 EPSS Score (30 in total, the first dated here)
- Jun 19, 2025 VulnCheck XDB Entry (21 in total, the first dated here)
- Oct 9, 2025 VulnCheck KEV Exploitation
- Mar 11, 2026 Distribution Patch (12 in total, the first dated here)
- Mar 11, 2026 Security Advisory (15 in total, the first dated here)
- Mar 26, 2026 Coalition ESS Score (2 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-6019
vulnetix vdb fixes CVE-2025-6019
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-6019/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- RHSA-2025:10796 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:9320 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:9321 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:9322 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:9323 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:9324 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:9325 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:9326 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:9327 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:9328 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:9878 vendor-advisoryx_refsource_REDHAT
- vdb-entryx_refsource_REDHAT
- RHBZ#2370051 issue-trackingx_refsource_REDHAT
- http://www.openwall.com/lists/oss-security/2025/06/17/6 url
- http://www.openwall.com/lists/oss-security/2025/06/17/5 url
- http://www.openwall.com/lists/oss-security/2025/06/18/1 url
- https://news.ycombinator.com/item?id=44325861 url
- https://lists.debian.org/debian-lts-announce/2025/06/msg00018.html advisory
- https://www.bleepingcomputer.com/news/linux/new-linux-udisks-flaw-lets-attackers-get-root-on-major-linux-distros/ url