CVE-2025-21772: partitions: mac: fix handling of bogus partition table
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().
Security readout for executives and security teams
Plain-English summary
This is a Linux kernel bug in Mac partition table parsing. A malformed disk or disk image could make the kernel handle partition metadata incorrectly, including out-of-bounds memory access. The sources do not provide CVSS, confirmed business impact, or evidence of active exploitation.
Executive priority
Track and patch through normal kernel maintenance, escalating for environments that process third-party media or disk images. Current public evidence does not support emergency response, but incomplete severity data limits certainty.
Technical view
The resolved kernel issue corrects bad bailout handling after read_part_sector(), rejects implausible partition entry sizes that straddle sectors, and replaces unbounded string handling with bounded checks. Evidence points to malformed Mac partition tables during partition probing.
Likely exposure
Exposure is most plausible on Linux systems that parse untrusted or removable storage, disk images, virtual media, or appliance update media. Ordinary servers may have limited exposure if they never attach or inspect attacker-controlled block devices.
Exploitation context
CISA KEV status is false in the provided bundle. The cited sources do not state active exploitation, public exploit availability, or a complete impact chain. Treat this as malformed-media risk until vendor guidance clarifies severity.
Researcher notes
Focus validation on partition probing paths for Apple/Mac partition maps. The source text names out-of-bounds memory access risk and unsafe string assumptions, but does not specify privilege boundary, crashability, confidentiality impact, or exploitability.
Mitigation direction
Update Linux kernels using vendor-supported packages or stable branch fixes.
Prioritize systems that mount or inspect untrusted disks, images, or removable media.
Review Debian LTS and other distribution advisories for packaged kernel availability.
Restrict access to workflows that attach attacker-controlled block devices.
Check affected appliance vendor advisories before changing embedded systems.
Validation and detection
Inventory Linux kernel versions across servers, endpoints, appliances, and build workers.
Identify systems processing untrusted disk images or removable media.
Confirm whether distribution kernels include the referenced stable fixes.
Check Debian LTS advisories if running Debian-based systems.
Document compensating controls where patching is delayed.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2025-21772 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
0CVSS vectors
3Timeline events
2ADP providers
12Source links
Vulnerability timeline
Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.
CVE reservedCVE Program
The CVE ID was reserved by the assigning CNA.
CVE publishedCVE Program
The CVE record was published.
Feb 27, 2025, 02:18 UTC (UTC+00:00)
CVE updatedCVE Program
The CVE record metadata indicates this as the latest update time.