CVE-2025-6019 Details
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.
A local privilege escalation vulnerability has been identified in libblockdev, a library for managing block devices. This vulnerability allows an 'allow_active' user to escalate privileges to root by exploiting the udisks daemon. Typically, udisks mounts user-supplied filesystem images with security flags that prevent privilege escalation. However, an attacker can create a malicious XFS image with a SUID-root shell and manipulate udisks into resizing it. This process mounts the harmful filesystem with root privileges, enabling the execution of the SUID-root shell and full control over the system.
Users can upgrade to libblockdev version 2.25-2+deb11u1, which is available in the Debian 11 bullseye repository. Additionally, updated udisks2 packages are being released to ensure that private mounts are mounted with 'nodev,nosuid'.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 19, 2025CISA-ADP
Assessed Jun 24, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-250 | Execution with Unnecessary Privileges | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| libblockdev | All versions |
CPE
Remediation
| |
| udisks | All versions |
CPE
Remediation
| |
| Debian | All versions |
CPE
Remediation
| |
| Ubuntu | All versions |
CPE
Remediation
| |
Change History
11 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 30, 2026 | CVE Modified | [email protected] |
| Jun 25, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jul 10, 2025 | CVE Modified | [email protected] |
| Jun 30, 2025 | CVE Modified | [email protected] |
| Jun 23, 2025 | CVE Modified | CVE |
| Jun 23, 2025 | CVE Modified | [email protected] |
| Jun 21, 2025 | CVE Modified | [email protected] |
| Jun 19, 2025 | New CVE Received | [email protected] |
| Jun 19, 2025 | CVE Modified | CVE |
Volerion