7.8
High
CVE-2025-21772 In the Linux kernel, the following vulnerability has been resolved: partitions: mac: fix handling of bogus partition…
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().
Affected products and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Linux 6.14 | earliest → < 6.14 | 6.14 |
| Linux 6.13 | earliest → < 6.13.4 | 6.13.4 |
| Linux 6.12 | earliest → < 6.12.16 | 6.12.16 |
| Linux 6.6 | earliest → < 6.6.79 | 6.6.79 |
| Linux 6.1 | earliest → < 6.1.129 | 6.1.129 |
| Linux 5.15 | earliest → < 5.15.179 | 5.15.179 |
| Linux 5.10 | earliest → < 5.10.235 | 5.10.235 |
| Linux 5.4 | earliest → < 5.4.291 | 5.4.291 |
| Linux | 4.4 | No fix stated |
Show the other branch Hide the other branch
| Product | Affected versions | Fixed in |
|---|---|---|
| SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | Versions not published |
Other CVEs of Linux
The 18300 CVEs of Linux →
CVE-2026-99284
net: skbuff: propagate shared-frag marker in skb_zerocopy()
Not rated
CVE-2026-99283
netfilter: conntrack: tcp: use UNACK timeout for non-closing RST packets
Not rated
CVE-2026-99282
net/sched: sch_teql: fix use-after-free on lower qdisc drop
Not rated
CVE-2026-99281
tun: Require CAP_NET_ADMIN to attach to an ownerless device
Not rated