Advisory

USN-7577-1

Also known as: CVE-2025-6019

Summary

libblockdev vulnerability

Details

It was discovered that libblockdev incorrectly handled mount options when
resizing certain filesystems. A local attacker with an active session on
the console can use this issue to escalate their privileges to root.

Severity

Not rated by the source.

Dates

Published
2025-06-18 11:15 UTC
Modified
2026-04-22 10:59 UTC

Affected packages and fixes

libblockdev

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 2.26-1ubuntu0.1 (ecosystem)

Fixed versions

2.26-1ubuntu0.1

Fix

  • Fixed version 2.26-1ubuntu0.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libblockdev

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 3.1.1-1ubuntu0.1 (ecosystem)

Fixed versions

3.1.1-1ubuntu0.1

Fix

  • Fixed version 3.1.1-1ubuntu0.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences