Util-linux
util-linux libblkid DOS extended-partition overflow produces invalid partition metadata
util-linux is a random collection of Linux utilities. Before util-linux 2.41.4, `parse_dos_extended()` in `libblkid/src/partitions/dos.c` computes an extended-partition start sector with 32-bit addition and does not apply the extended-area bounds checks to the first two EBR entries. A local attacker who causes a crafted DOS extended-partition disk image or removable medium to be probed can wrap `cur_start + start` to sector zero and cause libblkid to report a false partition overlapping the MBR. This directly compromises the integrity of the reported partition metadata; disk modification or availability loss requires a separate downstream consumer to act on that metadata. This issue is fixed in 2.41.4.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 2.41.4
Fixed in 2.41.4
Mitigation
Upgrade util-linux to 2.41.4 or later.
References
- Vendor advisory github.com/util-linux/util-linux/security/advi…
- Patch github.com/util-linux/util-linux/commit/05c2db…
- Patch github.com/util-linux/util-linux/commit/a2d858…
2 more
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.