HIGH · CVSS 7.8 Published: 2025-02-27

CVE-2025-21772 — Technical Security Advisory & CVSS Profile

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

Technical Metadata

IdentifierCVE-2025-21772
Base Severity / ScoreHIGH (7.8 / 10.0)
CVSS VectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness ClassificationCWE-787
Archive CategoriesHIGH Advisories · 2025 Index

Operational Mitigation Guidance

Prioritize remediation in the next maintenance cycle. Validate affected dependency versions in SBOM manifests and review inbound access controls. For architectural isolation principles, review per-process namespace isolation.

Upstream References

Related Security Advisories

CVE-2025-21771 MEDIUM 5.5
CVE-2025-21773 MEDIUM 5.5
CVE-2025-2177 HIGH 7.3