Skip to main content
← All vulnerabilities
CVE-2025-6019

Libblockdev: lpe from allow_active to root in libblockdev via udisks

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.3.1
11 proofs of concept on GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • libblockdev

    fixed in 3.3.1

  • libblockdev

    Version range not reported

  • libblockdev

    Version range not reported

  • libblockdev

    Version range not reported

  • libblockdev

    Version range not reported

  • libblockdev

    Version range not reported

  • libblockdev

    Version range not reported

  • libblockdev

    Version range not reported

  • libblockdev

    Version range not reported

  • libblockdev

    Version range not reported

  • libblockdev

    Version range not reported

  • libblockdev

    Version range not reported

  • libblockdev

    Version range not reported

  • libblockdev

    Version range not reported

References 25

access.redhat.com

bugzilla.redhat.com

cdn2.qualys.com

GitHub · 0x5chltz/CVE-2025-6019

GitHub · And-oss/CVE-2025-6019-exploit

GitHub · JM00NJ/CVE-2025-6019-udisks2-XFS-Resize-TOCTOU-Privilege-Escalation

GitHub · JustThinkingHard/HID-Attack

GitHub · guinea-offensive-security/CVE-2025-6019

GitHub · harshitvarma05/CVE-2025-6019

GitHub · neko205-mx/CVE-2025-6019_Exploit

GitHub · phamdinhquy2512/CVE-2025-6019-Exploitation

GitHub · robbin0919/CVE-2025-6019

GitHub · symphony2colour/CVE-2025-6019-udisks-lpe-no-image

GitHub · tr3m0x/CVE-2025-6019