CVE-2025-21772
27.02.2025, 03:15
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().Enginsight
| Vendor | Product | Version |
|---|---|---|
| linux | linux_kernel | 𝑥 < 5.4.291 |
| linux | linux_kernel | 5.5 ≤ 𝑥 < 5.10.235 |
| linux | linux_kernel | 5.11 ≤ 𝑥 < 5.15.179 |
| linux | linux_kernel | 5.16 ≤ 𝑥 < 6.1.129 |
| linux | linux_kernel | 6.2 ≤ 𝑥 < 6.6.79 |
| linux | linux_kernel | 6.7 ≤ 𝑥 < 6.12.16 |
| linux | linux_kernel | 6.13 ≤ 𝑥 < 6.13.4 |
| linux | linux_kernel | 6.14:rc1 |
| linux | linux_kernel | 6.14:rc2 |
𝑥
= Vulnerable software versions
Debian Releases
Common Weakness Enumeration
References