Affected versions
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
Exploitation
Description
In the Linux kernel, the following vulnerability has been resolved: partitions: mac: fix handling of bogus partition table Fix several issues in partition probing:
The bailout for a bad partoffset must use put_dev_sector(), since the preceding read_part_sector() succeeded.
If the partition table claims a silly sector size like 0xfff bytes (which results in partition table entries straddling sector boundaries), bail out instead of accessing out-of-bounds memory.
We must not assume that the partition table contains proper NUL termination - use strnlen() and strncmp() instead of strlen() and strcmp().
A flaw was found in the Linux kernel's Macintosh partition handling subsystem. When probing a partition table, the kernel fails to properly validate sector sizes and string boundaries, which can result in an out-of-bounds memory read. A local attacker with physical access or the privileges to attach block devices could exploit this vulnerability by connecting a maliciously crafted storage medium. Successful exploitation may lead to a system crash resulting in a Denial of Service (DoS) or the potential disclosure of sensitive kernel memory.

