Skip to main content
Network Thinking Solutions Logo

CVE-2025-21772

Linux kernel: partitions: mac: fix handling of bogus partition table

All CVEs
CVE-2025-21772Published 2/27/2025

Linux kernel: partitions: mac: fix handling of bogus partition table

Vendor advisory
CVSS7.8High

Overview

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().

Published
2/27/2025
Last modified
10/15/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
< 5.4.291

Verify advisory

Source
linux kernel
linux
≥ 5.5, < 5.10.235

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.179

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 6.1.129

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.6.79

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.12.16

Verify advisory

Source
linux kernel
linux
≥ 6.13, < 6.13.4

Verify advisory

Source
linux kernel
linux
6.14

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
Linux
Linux
≥ 02e2a5bfebe99edcf9d694575a75032d53fe1b73, < a3e77da9f843e4ab93917d30c314f0283e28c124

Verify advisory

Source
Linux
Linux
≥ 02e2a5bfebe99edcf9d694575a75032d53fe1b73, < 213ba5bd81b7e97ac6e6190b8f3bc6ba76123625

Verify advisory

Source
Linux
Linux
≥ 02e2a5bfebe99edcf9d694575a75032d53fe1b73, < 40a35d14f3c0dc72b689061ec72fc9b193f37d1f

Verify advisory

Source
Linux
Linux
≥ 02e2a5bfebe99edcf9d694575a75032d53fe1b73, < 27a39d006f85e869be68c1d5d2ce05e5d6445bf5

Verify advisory

Source
Linux
Linux
≥ 02e2a5bfebe99edcf9d694575a75032d53fe1b73, < 92527100be38ede924768f4277450dfe8a40e16b

Verify advisory

Source
Linux
Linux
≥ 02e2a5bfebe99edcf9d694575a75032d53fe1b73, < 6578717ebca91678131d2b1f4ba4258e60536e9f

Verify advisory

Source
Linux
Linux
≥ 02e2a5bfebe99edcf9d694575a75032d53fe1b73, < 7fa9706722882f634090bfc9af642bf9ed719e27

Verify advisory

Source
Linux
Linux
≥ 02e2a5bfebe99edcf9d694575a75032d53fe1b73, < 80e648042e512d5a767da251d44132553fe04ae0

Verify advisory

Source
Linux
Linux
81a319c5c29913a23947f3d28513974682f3af03

Verify advisory

Source
Linux
Linux
34a906cd9f6445d9510841667eff0d980279ebf3

Verify advisory

Source
Linux
Linux
2a27f61bd411e564eb4651c18d225f6e9e1de534

Verify advisory

Source
Linux
Linux
69aad7e01c8e883e9d2f8dc5523bd419bd02d2aa

Verify advisory

Source
Linux
Linux
7f4f03c4a1e9a4b9679feafe7625a780864a4e76

Verify advisory

Source
Linux
Linux
≥ 3.2.75, < 3.3

Verify advisory

Source
Linux
Linux
≥ 3.4.113, < 3.5

Verify advisory

Source
Linux
Linux
≥ 3.10.99, < 3.11

Verify advisory

Source
Linux
Linux
≥ 3.12.56, < 3.13

Verify advisory

Source
Linux
Linux
≥ 3.14.63, < 3.15

Verify advisory

Source
Linux
Linux
4.4

Verify advisory

Source
SIMATIC S7-1500 TM MFP - GNU/Linux subsystem
Siemens
< *

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.