CVE-2025-21772 in Linux Kernel and 1 more product
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().
Affects 2 products from 2 vendors. Description from NVD and MITRE.
Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Linux | Linux Kernel | 6.14 < 5.4.291 ≥ 5.5, < 5.10.235 ≥ 5.11, < 5.15.179 ≥ 5.16, < 6.1.129 ≥ 6.2, < 6.6.79+2 more≥ 6.7, < 6.12.16 ≥ 6.13, < 6.13.4 |
| Linux | Linux | 4.4 ≥ 3.2.75, < 3.3 ≥ 3.4.113, < 3.5 ≥ 3.10.99, < 3.11 ≥ 3.12.56, < 3.13 ≥ 3.14.63, < 3.15 |
| Siemens | — | — |
| Siemens | Simatic S7-1500 Tm Mfp Firmware | All versions |
Fix and vendor advisory
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Record details
| CVE ID | CVE-2025-21772 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-237559-H |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2025-02-27 |
| Last modified | 2026-10-15 |
| Weakness (CWE) | |
| Source | NVD |
Compensating controls AI-drafted, review before use
Implement strict input validation for partition table data and monitor system logs for any signs of abnormal behavior or crashes.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Check devices from your own code or AI agent: free 14-day trial
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-15.