CVE-2025-6019

High

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.

SeverityHigh
CVSS7.0
Exploit probability—
ProductLibblockdev
PublishedJun 19, 2025
First seenJun 19, 2025
Weakness typeCWE-250CWE-250

How to fix

Affected products

ProductAffected versionsFixed in
libblockdevv < 3.3.13.3.1
Red Hat Red Hat Enterprise Linux 10No range specified—
Red Hat Red Hat Enterprise Linux 7 Extended Lifecycle SupportNo range specified—
enterprise_linux 8No range specified—
rhel_aus 8.2No range specified—
rhel_aus 8.4No range specified—
rhel_aus 8.6No range specified—
rhel_e4s 8.8No range specified—
enterprise_linux 9No range specified—
rhel_e4s 9.0No range specified—
rhel_e4s 9.2No range specified—
rhel_eus 9.4No range specified—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.