CVE-2025-6019
Publication date 17 June 2025
Last updated 25 June 2025
Ubuntu priority
Cvss 3 Severity Score
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.
Read the notes from the security team
Why is this CVE high priority?
Allows local privilege escalation
Status
| Package | Ubuntu Release | Status |
|---|---|---|
| libblockdev | 25.10 questing |
Not affected
|
| 25.04 plucky |
Fixed 3.3.0-2ubuntu0.1
|
|
| 24.04 LTS noble |
Fixed 3.1.1-1ubuntu0.1
|
|
| 22.04 LTS jammy |
Fixed 2.26-1ubuntu0.1
|
|
| 20.04 LTS focal |
Fixed 2.23-2ubuntu3+esm1
|
|
| 18.04 LTS bionic |
Fixed 2.16-2ubuntu0.1~esm1
|
|
| udisks2 | 25.10 questing |
Fixed 2.10.1-12.1ubuntu1
|
| 25.04 plucky |
Fixed 2.10.1-11ubuntu2.2
|
|
| 24.04 LTS noble |
Fixed 2.10.1-6ubuntu1.2
|
|
| 22.04 LTS jammy |
Fixed 2.9.4-1ubuntu2.2
|
|
| 20.04 LTS focal |
Fixed 2.8.4-1ubuntu2+esm1
|
|
| 18.04 LTS bionic |
Fixed 2.7.6-3ubuntu0.2+esm1
|
|
| 16.04 LTS xenial |
Needs evaluation
|
|
| 14.04 LTS trusty |
Needs evaluation
|
Get expanded security coverage with Ubuntu Pro
Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.
Get Ubuntu Pro 30-day free trialNotes
mdeslaur
The actual CVE is in libblockdev, the udisks2 fix is considered to be a hardening measure as a precaution.
Severity score breakdown
| Parameter | Value |
|---|---|
| Base score |
|
| Attack vector | Local |
| Attack complexity | High |
| Privileges required | Low |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality | High |
| Integrity impact | High |
| Availability impact | High |
| Vector | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
References
Related Ubuntu Security Notices (USN)
- USN-7578-2
- UDisks vulnerability
- 18 June 2025
- USN-7578-1
- UDisks vulnerability
- 18 June 2025
- USN-7577-1
- libblockdev vulnerability
- 18 June 2025
- USN-7577-2
- libblockdev vulnerability
- 18 June 2025