CVE-2025-21772
Linux kernel Partition Table Handling Buffer Overflow
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().
INFO
Published Date :
Feb. 27, 2025, 3:15 a.m.
Last Modified :
March 13, 2025, 1:15 p.m.
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Remotely Exploitable :
No
Impact Score :
Exploitability Score :
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-21772
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-21772
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-21772
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Mar. 13, 2025
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/213ba5bd81b7e97ac6e6190b8f3bc6ba76123625 Added Reference https://git.kernel.org/stable/c/40a35d14f3c0dc72b689061ec72fc9b193f37d1f Added Reference https://git.kernel.org/stable/c/a3e77da9f843e4ab93917d30c314f0283e28c124 -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Feb. 27, 2025
Action Type Old Value New Value Added 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(). Added Reference https://git.kernel.org/stable/c/27a39d006f85e869be68c1d5d2ce05e5d6445bf5 Added Reference https://git.kernel.org/stable/c/6578717ebca91678131d2b1f4ba4258e60536e9f Added Reference https://git.kernel.org/stable/c/7fa9706722882f634090bfc9af642bf9ed719e27 Added Reference https://git.kernel.org/stable/c/80e648042e512d5a767da251d44132553fe04ae0 Added Reference https://git.kernel.org/stable/c/92527100be38ede924768f4277450dfe8a40e16b
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-21772
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-21772
weaknesses.