Back to CVE records
High 7.8Published Feb 27, 2025

CVE-2025-21772partitions: mac: fix handling of bogus partition table

Updated under an hour ago ()

Does this affect you?

It affects Linux and 2 other products. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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

CVSS
7.8 HIGH (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness (CWE)
Not given
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
Linux
NVD analysis
Modified
Record last updated
Oct 15, 2026
First seen by InfoSec Signals
Oct 15, 2026

Affected products

Affected products
Linux Linux
linux:linux (from the name)
from 02e2a5bfebe99edcf9d694575a75032d53fe1b73 before a3e77da9f843e4ab93917d30c314f0283e28c124; from 02e2a5bfebe99edcf9d694575a75032d53fe1b73 before 213ba5bd81b7e97ac6e6190b8f3bc6ba76123625; from 02e2a5bfebe99edcf9d694575a75032d53fe1b73 before 40a35d14f3c0dc72b689061ec72fc9b193f37d1f; from 02e2a5bfebe99edcf9d694575a75032d53fe1b73 before 27a39d006f85e869be68c1d5d2ce05e5d6445bf5; from 02e2a5bfebe99edcf9d694575a75032d53fe1b73 before 92527100be38ede924768f4277450dfe8a40e16b; from 02e2a5bfebe99edcf9d694575a75032d53fe1b73 before 6578717ebca91678131d2b1f4ba4258e60536e9f; from 02e2a5bfebe99edcf9d694575a75032d53fe1b73 before 7fa9706722882f634090bfc9af642bf9ed719e27; from 02e2a5bfebe99edcf9d694575a75032d53fe1b73 before 80e648042e512d5a767da251d44132553fe04ae0; and 10 more ranges
CNA record
Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem
siemens:simatic_s7_1500_tm_mfp_gnu_linux_subsystem (from the name)
all versions
CISA ADP
linux linux_kernel
linux:linux_kernel
before 5.4.291; from 5.5 before 5.10.235; from 5.11 before 5.15.179; from 5.16 before 6.1.129; from 6.2 before 6.6.79; from 6.7 before 6.12.16; from 6.13 before 6.13.4; 6.14; and 1 more ranges
NVD

References

  • patch
  • patch
  • patch
  • patch
  • patch
  • patch
  • patch
  • patch

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.