REDHAT-BUG-2552551: High severity util-linux util-linux vulnerability
util-linux is a random collection of Linux utilities. Before util-linux 2.41.4, parsedosextended() 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 curstart + 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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
util-linuxto a version that resolves this vulnerability.Fixed in 2.41.4
Event History
Frequently Asked Questions
Who is realistically exposed to this issue?
Systems that use a vulnerable libblkid version to probe crafted DOS extended-partition disk images or removable media are exposed. Exploitation requires local influence over media or an image that will be probed; the issue is not described as remotely exploitable.
What does an attacker need to do to exploit it?
An attacker needs to cause a crafted DOS extended-partition image or removable medium to be examined by libblkid. The crafted partition layout triggers a 32-bit addition wraparound, causing a false partition overlapping the MBR to be reported.
Does exploitation directly modify disks or cause a denial of service?
No. The direct effect is incorrect partition metadata reported by libblkid; disk modification or availability impact requires a separate downstream consumer to act on that metadata.
What is the remediation?
Update util-linux to version 2.41.4 or later, where the issue is fixed. If updating cannot happen immediately, avoid probing untrusted disk images and removable media with affected systems.