CVE-2016-5011
Medium · 4.6CVSS
4.6
EPSS
0.5%
Published
Apr 11, 2017
CISA due date
—
Cloudanix analysis
A flaw in how certain disk tools read partition information can let someone with physical access to a computer make it run out of memory and stop working.
- Exploitation
- Physical Access
- Attacker needs
- Physical Access
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Library
- Class
- Improper Input Validation
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The parse_dos_extended function in libblkid fails to validate the offset of an extended partition boot record in an MSDOS partition table, allowing unbounded memory allocation that leads to denial of service.
Why it matters to the business
Systems may become unresponsive or require reboot when a crafted storage device is attached, interrupting operations that rely on disk enumeration or mounting utilities.
How an attack unfolds
An attacker with physical access prepares a storage device containing an MSDOS partition table that places an extended partition boot record at offset zero. When the device is connected, any process using libblkid to inspect partitions triggers the vulnerable parsing path and exhausts available memory.
How to fix it
Upgrade affected Chainguard packages to the versions that resolve the parsing issue: restic-fips to 0.16.5-r2 and restic-fips-compat-fips to 0.16.5-r2. Rebuild and redeploy any container images that pull in the vulnerable libblkid dependency.
How to confirm the fix worked
Confirm package versions match or exceed the fixed releases, then exercise partition inspection on a test device containing both valid and malformed MSDOS tables while monitoring memory usage and process stability.
Typical attack path
- Craft an MSDOS partition table with an extended partition boot record located at offset zero
- Attach the malicious storage device to the target system
- Trigger partition table parsing through disk utilities or automatic mount operations
- Observe memory consumption leading to service degradation or crash
How to detect it
Review system logs for sudden spikes in memory usage by processes that call libblkid (such as mount, lsblk, or udev workers) coinciding with attachment of external storage; correlate with physical access events when available.
What your security team should do
- Apply the listed package upgrades in all build pipelines and runtime environments
- Restrict physical access to systems that perform automatic storage device discovery
- Include libblkid parsing tests in CI to prevent regression of input validation fixes
The record
The parse_dos_extended function in partitions/dos.c in the libblkid library in util-linux allows physically proximate attackers to cause a denial of service (memory consumption) via a crafted MSDOS partition table with an extended partition boot record at zero offset.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | util-linux | 0 | 2.28.1-1 |
| Debian:12 | util-linux | 0 | 2.28.1-1 |
| Debian:13 | util-linux | 0 | 2.28.1-1 |
| Mageia:5 | util-linux | 0 | 2.25.2-3.4.mga5 |
| Red Hat:enterprise_linux:7::client | libblkid | 0 | 0:2.23.2-33.el7 |
| Red Hat:enterprise_linux:7::client | libblkid-devel | 0 | 0:2.23.2-33.el7 |
| Red Hat:enterprise_linux:7::client | libmount | 0 | 0:2.23.2-33.el7 |
| Red Hat:enterprise_linux:7::client | libmount-devel | 0 | 0:2.23.2-33.el7 |
| Red Hat:enterprise_linux:7::client | libuuid | 0 | 0:2.23.2-33.el7 |
| Red Hat:enterprise_linux:7::client | libuuid-devel | 0 | 0:2.23.2-33.el7 |
| Red Hat:enterprise_linux:7::client | util-linux | 0 | 0:2.23.2-33.el7 |
| Red Hat:enterprise_linux:7::client | util-linux-debuginfo | 0 | 0:2.23.2-33.el7 |
| Red Hat:enterprise_linux:7::client | uuidd | 0 | 0:2.23.2-33.el7 |
| Red Hat:enterprise_linux:7::computenode | libblkid | 0 | 0:2.23.2-33.el7 |
| Red Hat:enterprise_linux:7::computenode | libblkid-devel | 0 | 0:2.23.2-33.el7 |
| Red Hat:enterprise_linux:7::computenode | libmount | 0 | 0:2.23.2-33.el7 |
| Red Hat:enterprise_linux:7::computenode | libmount-devel | 0 | 0:2.23.2-33.el7 |
| Red Hat:enterprise_linux:7::computenode | libuuid | 0 | 0:2.23.2-33.el7 |
| Red Hat:enterprise_linux:7::computenode | libuuid-devel | 0 | 0:2.23.2-33.el7 |
| Red Hat:enterprise_linux:7::computenode | util-linux | 0 | 0:2.23.2-33.el7 |
| Red Hat:enterprise_linux:7::computenode | util-linux-debuginfo | 0 | 0:2.23.2-33.el7 |
| Red Hat:enterprise_linux:7::computenode | uuidd | 0 | 0:2.23.2-33.el7 |
| Red Hat:enterprise_linux:7::server | libblkid | 0 | 0:2.23.2-33.el7 |
| Red Hat:enterprise_linux:7::server | libblkid-devel | 0 | 0:2.23.2-33.el7 |
| Red Hat:enterprise_linux:7::server | libmount | 0 | 0:2.23.2-33.el7 |
| Red Hat:enterprise_linux:7::server | libmount-devel | 0 | 0:2.23.2-33.el7 |
| Red Hat:enterprise_linux:7::server | libuuid | 0 | 0:2.23.2-33.el7 |
| Red Hat:enterprise_linux:7::server | libuuid-devel | 0 | 0:2.23.2-33.el7 |
| Red Hat:enterprise_linux:7::server | util-linux | 0 | 0:2.23.2-33.el7 |
| Red Hat:enterprise_linux:7::server | util-linux-debuginfo | 0 | 0:2.23.2-33.el7 |
| Red Hat:enterprise_linux:7::server | uuidd | 0 | 0:2.23.2-33.el7 |
| Red Hat:enterprise_linux:7::workstation | libblkid | 0 | 0:2.23.2-33.el7 |
| Red Hat:enterprise_linux:7::workstation | libblkid-devel | 0 | 0:2.23.2-33.el7 |
| Red Hat:enterprise_linux:7::workstation | libmount | 0 | 0:2.23.2-33.el7 |
| Red Hat:enterprise_linux:7::workstation | libmount-devel | 0 | 0:2.23.2-33.el7 |
| Red Hat:enterprise_linux:7::workstation | libuuid | 0 | 0:2.23.2-33.el7 |
| Red Hat:enterprise_linux:7::workstation | libuuid-devel | 0 | 0:2.23.2-33.el7 |
| Red Hat:enterprise_linux:7::workstation | util-linux | 0 | 0:2.23.2-33.el7 |
| Red Hat:enterprise_linux:7::workstation | util-linux-debuginfo | 0 | 0:2.23.2-33.el7 |
| Red Hat:enterprise_linux:7::workstation | uuidd | 0 | 0:2.23.2-33.el7 |
| SUSE:Linux Enterprise Desktop 12 SP1 | python-libmount | 0 | 2.25-37.1 |
| SUSE:Linux Enterprise Desktop 12 SP1 | util-linux | 0 | 2.25-37.1 |
| SUSE:Linux Enterprise Desktop 12 SP1 | util-linux-systemd | 0 | 2.25-37.1 |
| SUSE:Linux Enterprise Desktop 12 SP2 | python-libmount | 0 | 2.28-42.4 |
| SUSE:Linux Enterprise Desktop 12 SP2 | util-linux | 0 | 2.28-42.1 |
| SUSE:Linux Enterprise Desktop 12 SP2 | util-linux-systemd | 0 | 2.28-42.3 |
| SUSE:Linux Enterprise Server 12 SP1 | python-libmount | 0 | 2.25-37.1 |
| SUSE:Linux Enterprise Server 12 SP1 | util-linux | 0 | 2.25-37.1 |
| SUSE:Linux Enterprise Server 12 SP1 | util-linux-systemd | 0 | 2.25-37.1 |
| SUSE:Linux Enterprise Server 12 SP2 | python-libmount | 0 | 2.28-42.4 |
| SUSE:Linux Enterprise Server 12 SP2 | util-linux | 0 | 2.28-42.1 |
| SUSE:Linux Enterprise Server 12 SP2 | util-linux-systemd | 0 | 2.28-42.3 |
| SUSE:Linux Enterprise Server 12-LTSS | python-libmount | 0 | 2.25-24.10.3 |
| SUSE:Linux Enterprise Server 12-LTSS | util-linux | 0 | 2.25-24.10.1 |
| SUSE:Linux Enterprise Server 12-LTSS | util-linux-systemd | 0 | 2.25-24.10.1 |
| SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 | python-libmount | 0 | 2.28-42.4 |
| SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 | util-linux | 0 | 2.28-42.1 |
| SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 | util-linux-systemd | 0 | 2.28-42.3 |
| SUSE:Linux Enterprise Server for SAP Applications 12 | python-libmount | 0 | 2.25-24.10.3 |
| SUSE:Linux Enterprise Server for SAP Applications 12 | util-linux | 0 | 2.25-24.10.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 | util-linux-systemd | 0 | 2.25-24.10.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP1 | python-libmount | 0 | 2.25-37.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP1 | util-linux | 0 | 2.25-37.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP1 | util-linux-systemd | 0 | 2.25-37.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP2 | python-libmount | 0 | 2.28-42.4 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP2 | util-linux | 0 | 2.28-42.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP2 | util-linux-systemd | 0 | 2.28-42.3 |
| SUSE:Linux Enterprise Software Development Kit 12 SP1 | util-linux | 0 | 2.25-37.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP2 | util-linux | 0 | 2.28-42.1 |
| SUSE:Linux Enterprise Workstation Extension 12 SP1 | util-linux | 0 | 2.25-37.1 |
| SUSE:Linux Enterprise Workstation Extension 12 SP2 | util-linux | 0 | 2.28-42.1 |
| Ubuntu:14.04:LTS | util-linux | 0 | No fix |
| Ubuntu:18.04:LTS | util-linux | 0 | 2.31.1-0.4ubuntu3.3 |
| Ubuntu:Pro:14.04:LTS | util-linux | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | util-linux | 0 | 2.27.1-6ubuntu3.10+esm2 |
| openSUSE:Tumbleweed | util-linux | 0 | 2.36.2-3.2 |
Related vulnerabilities
- CVE-2024-28085 wall in util-linux through 2.40, often installed with setgid tty permissions, allows… Also affects util-linux
- CVE-2026-27456 util-linux is a random collection of Linux utilities. Also affects util-linux
- CVE-2026-3184 A flaw was found in util-linux. Also affects util-linux
- CVE-2025-14104 A flaw was found in util-linux. Also affects util-linux