CVE-2025-21772: partitions: mac: fix handling of bogus partition table
Noroxi assessment
Priority: Monitor (action score 31/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.24% (FIRST EPSS).
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: Linux Linux 213ba5bd81b7e97ac6e6190b8f3bc6ba76123625, 27a39d006f85e869be68c1d5d2ce05e5d6445bf5, 3.11.
Low priority for now. Upgrade to Linux Linux 213ba5bd81b7e97ac6e6190b8f3bc6ba76123625, 27a39d006f85e869be68c1d5d2ce05e5d6445bf5, 3.11 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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().
- BDU:2025-11879
- SUSE-SU-2025:02385-1
- SUSE-SU-2025:02387-1
- SUSE-SU-2025:02388-1
- SUSE-SU-2025:02389-1
- SUSE-SU-2025:02390-1
- SUSE-SU-2025:02391-1
- SUSE-SU-2025:02392-1
- SUSE-SU-2025:02393-1
- SUSE-SU-2025:02394-1
- SUSE-SU-2025:02396-1
- SUSE-SU-2025:02398-1
- SUSE-SU-2025:02399-1
- SUSE-SU-2025:02400-1
- SUSE-SU-2025:02401-1
- SUSE-SU-2025:02402-1
- SUSE-SU-2025:02403-1
- SUSE-SU-2025:02405-1
- SUSE-SU-2025:02410-1
- SUSE-SU-2025:02411-1
- Published
- Feb 27, 2025
- Updated
- Oct 15, 2026
- EPSS
- 0.2% · 15th percentile
- CWE
- CWE-787
Report tools
Action score
31
Monitor
Low priority for now.
- CVSS
- 31 / 40 · 7.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.2%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- 7.8
- CNA · Linux
- 7.8
- agree
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- linux linux kernelbefore 5.4.291
- linux linux kernel5.5 and later · before 5.10.235
- linux linux kernel5.11 and later · before 5.15.179
- linux linux kernel5.16 and later · before 6.1.129
- linux linux kernel6.2 and later · before 6.6.79
- linux linux kernel6.7 and later · before 6.12.16
- linux linux kernel6.13 and later · before 6.13.4
- linux linux kernel6.14
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.
Linux Linux
- 81a319c5c29913a23947f3d28513974682f3af03, 34a906cd9f6445d9510841667eff0d980279ebf3, 2a27f61bd411e564eb4651c18d225f6e9e1de534, 69aad7e01c8e883e9d2f8dc5523bd419bd02d2aa, 7f4f03c4a1e9a4b9679feafe7625a780864a4e76, 4.4affected
- 02e2a5bfebe99edcf9d694575a75032d53fe1b73 and later · before a3e77da9f843e4ab93917d30c314f0283e28c124affected · git
- 02e2a5bfebe99edcf9d694575a75032d53fe1b73 and later · before 213ba5bd81b7e97ac6e6190b8f3bc6ba76123625affected · git
- 02e2a5bfebe99edcf9d694575a75032d53fe1b73 and later · before 40a35d14f3c0dc72b689061ec72fc9b193f37d1faffected · git
- 02e2a5bfebe99edcf9d694575a75032d53fe1b73 and later · before 27a39d006f85e869be68c1d5d2ce05e5d6445bf5affected · git
- 02e2a5bfebe99edcf9d694575a75032d53fe1b73 and later · before 92527100be38ede924768f4277450dfe8a40e16baffected · git
- 02e2a5bfebe99edcf9d694575a75032d53fe1b73 and later · before 6578717ebca91678131d2b1f4ba4258e60536e9faffected · git
- 02e2a5bfebe99edcf9d694575a75032d53fe1b73 and later · before 7fa9706722882f634090bfc9af642bf9ed719e27affected · git
- 02e2a5bfebe99edcf9d694575a75032d53fe1b73 and later · before 80e648042e512d5a767da251d44132553fe04ae0affected · git
- 3.2.75 and later · before 3.3affected · semver
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | linux | before 6.1.129-1 | 6.1.129-1 |
| Debian:13 | linux | before 6.12.16-1 | 6.12.16-1 |
| SUSE:Linux Enterprise Live Patching 12 SP5 | kgraft-patch-SLE12-SP5_Update_57 | before 16-2.1 | 16-2.1 |
| SUSE:Linux Enterprise Live Patching 12 SP5 | kgraft-patch-SLE12-SP5_Update_58 | before 14-2.1 | 14-2.1 |
| SUSE:Linux Enterprise Live Patching 12 SP5 | kgraft-patch-SLE12-SP5_Update_59 | before 13-2.1 | 13-2.1 |
| SUSE:Linux Enterprise Live Patching 12 SP5 | kgraft-patch-SLE12-SP5_Update_60 | before 12-2.1 | 12-2.1 |
| SUSE:Linux Enterprise Live Patching 12 SP5 | kgraft-patch-SLE12-SP5_Update_61 | before 11-2.1 | 11-2.1 |
| SUSE:Linux Enterprise Live Patching 12 SP5 | kgraft-patch-SLE12-SP5_Update_63 | before 7-2.1 | 7-2.1 |
| SUSE:Linux Enterprise Live Patching 12 SP5 | kgraft-patch-SLE12-SP5_Update_64 | before 6-2.1 | 6-2.1 |
| SUSE:Linux Enterprise Live Patching 12 SP5 | kgraft-patch-SLE12-SP5_Update_65 | before 4-2.1 | 4-2.1 |
| SUSE:Linux Enterprise Live Patching 15 SP3 | kernel-livepatch-SLE15-SP3_Update_45 | before 17-150300.2.1 | 17-150300.2.1 |
| SUSE:Linux Enterprise Live Patching 15 SP3 | kernel-livepatch-SLE15-SP3_Update_46 | before 16-150300.2.1 | 16-150300.2.1 |
| SUSE:Linux Enterprise Live Patching 15 SP3 | kernel-livepatch-SLE15-SP3_Update_48 | before 13-150300.2.1 | 13-150300.2.1 |
| SUSE:Linux Enterprise Live Patching 15 SP3 | kernel-livepatch-SLE15-SP3_Update_49 | before 12-150300.2.1 | 12-150300.2.1 |
| SUSE:Linux Enterprise Live Patching 15 SP3 | kernel-livepatch-SLE15-SP3_Update_51 | before 8-150300.2.1 | 8-150300.2.1 |
| SUSE:Linux Enterprise Live Patching 15 SP3 | kernel-livepatch-SLE15-SP3_Update_52 | before 7-150300.2.1 | 7-150300.2.1 |
| SUSE:Linux Enterprise Live Patching 15 SP3 | kernel-livepatch-SLE15-SP3_Update_54 | before 4-150300.2.1 | 4-150300.2.1 |
| SUSE:Linux Enterprise Live Patching 15 SP3 | kernel-livepatch-SLE15-SP3_Update_55 | before 4-150300.2.1 | 4-150300.2.1 |
| SUSE:Linux Enterprise Live Patching 15 SP4 | kernel-livepatch-SLE15-SP4_Update_27 | before 18-150400.2.1 | 18-150400.2.1 |
| SUSE:Linux Enterprise Live Patching 15 SP4 | kernel-livepatch-SLE15-SP4_Update_28 | before 15-150400.2.1 | 15-150400.2.1 |
| SUSE:Linux Enterprise Live Patching 15 SP4 | kernel-livepatch-SLE15-SP4_Update_29 | before 13-150400.2.1 | 13-150400.2.1 |
| SUSE:Linux Enterprise Live Patching 15 SP4 | kernel-livepatch-SLE15-SP4_Update_31 | before 11-150400.2.1 | 11-150400.2.1 |
| SUSE:Linux Enterprise Live Patching 15 SP4 | kernel-livepatch-SLE15-SP4_Update_32 | before 11-150400.2.1 | 11-150400.2.1 |
| SUSE:Linux Enterprise Live Patching 15 SP4 | kernel-livepatch-SLE15-SP4_Update_33 | before 10-150400.2.1 | 10-150400.2.1 |
+40
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV90Now
- CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe KEV89Now
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Now
Published before and after this one in the same product
- ← EarlierCVE-2025-21767Feb 27, 2025 · clocksource: Use migrate_disable() to avoid calling get_random_u32() in atomic context22Monitor
- ← EarlierCVE-2025-21768Feb 27, 2025 · net: ipv6: fix dst ref loops in rpl, seg6 and ioam6 lwtunnels22Monitor
- Later →CVE-2025-21776Feb 27, 2025 · USB: hub: Ignore non-compliant devices with too many configs or interfaces22Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 213ba5bd81b7e97ac6e6190b8f3bc6ba76123625 | Vendor (CNA) |
| Linux Linux | 27a39d006f85e869be68c1d5d2ce05e5d6445bf5 | Vendor (CNA) |
| Linux Linux | 3.11 | Vendor (CNA) |
| Linux Linux | 3.13 | Vendor (CNA) |
| Linux Linux | 3.15 | Vendor (CNA) |
| Linux Linux | 3.3 | Vendor (CNA) |
| Linux Linux | 3.5 | Vendor (CNA) |
| Linux Linux | 40a35d14f3c0dc72b689061ec72fc9b193f37d1f | Vendor (CNA) |
| Linux Linux | 6578717ebca91678131d2b1f4ba4258e60536e9f | Vendor (CNA) |
| Linux Linux | 7fa9706722882f634090bfc9af642bf9ed719e27 | Vendor (CNA) |
| Linux Linux | 80e648042e512d5a767da251d44132553fe04ae0 | Vendor (CNA) |
| Linux Linux | 92527100be38ede924768f4277450dfe8a40e16b | Vendor (CNA) |
| Linux Linux | a3e77da9f843e4ab93917d30c314f0283e28c124 | Vendor (CNA) |
| debian:linux | 6.1.129-1 · Debian:12 | Package registry (OSV) |
| suse:kernel-livepatch-SLE15-SP3_Update_46 | 16-150300.2.1 · SUSE:Linux Enterprise Live Patching 15 SP3 | Package registry (OSV) |
| suse:kernel-livepatch-SLE15-SP3_Update_52 | 7-150300.2.1 · SUSE:Linux Enterprise Live Patching 15 SP3 | Package registry (OSV) |
| suse:kernel-livepatch-SLE15-SP5_Update_23 | 3-150500.2.1 · SUSE:Linux Enterprise Live Patching 15 SP5 | Package registry (OSV) |
| suse:kernel-livepatch-SLE15-SP6-RT_Update_0 | 18-150600.3.1 · SUSE:Linux Enterprise Live Patching 15 SP6 | Package registry (OSV) |
| suse:kernel-livepatch-SLE15-SP6-RT_Update_1 | 17-150600.2.1 · SUSE:Linux Enterprise Live Patching 15 SP6 | Package registry (OSV) |
| suse:kernel-livepatch-SLE15-SP6-RT_Update_3 | 13-150600.2.1 · SUSE:Linux Enterprise Live Patching 15 SP6 | Package registry (OSV) |
| suse:kernel-livepatch-SLE15-SP6-RT_Update_6 | 8-150600.2.1 · SUSE:Linux Enterprise Live Patching 15 SP6 | Package registry (OSV) |
| suse:kernel-livepatch-SLE15-SP6-RT_Update_8 | 3-150600.2.1 · SUSE:Linux Enterprise Live Patching 15 SP6 | Package registry (OSV) |
| suse:kgraft-patch-SLE12-SP5_Update_58 | 14-2.1 · SUSE:Linux Enterprise Live Patching 12 SP5 | Package registry (OSV) |
| suse:kgraft-patch-SLE12-SP5_Update_59 | 13-2.1 · SUSE:Linux Enterprise Live Patching 12 SP5 | Package registry (OSV) |
| suse:kgraft-patch-SLE12-SP5_Update_61 | 11-2.1 · SUSE:Linux Enterprise Live Patching 12 SP5 | Package registry (OSV) |
| suse:kgraft-patch-SLE12-SP5_Update_65 | 4-2.1 · SUSE:Linux Enterprise Live Patching 12 SP5 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
No history yet (it accumulates with the daily EPSS job).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-787 · Out-of-bounds WriteCVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log
- SSVC exploitation— → none
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (10 more)Show less
- git.kernel.org/stable/c/27a39d006f85e869be68c1d5d2ce05e5d6445bf5
- git.kernel.org/stable/c/40a35d14f3c0dc72b689061ec72fc9b193f37d1f
- git.kernel.org/stable/c/6578717ebca91678131d2b1f4ba4258e60536e9f
- git.kernel.org/stable/c/7fa9706722882f634090bfc9af642bf9ed719e27
- git.kernel.org/stable/c/80e648042e512d5a767da251d44132553fe04ae0
- git.kernel.org/stable/c/92527100be38ede924768f4277450dfe8a40e16b
- git.kernel.org/stable/c/a3e77da9f843e4ab93917d30c314f0283e28c124
- lists.debian.org/debian-lts-announce/2025/03/msg00028.html
- lists.debian.org/debian-lts-announce/2025/05/msg00030.html
- cert-portal.siemens.com/productcert/html/ssa-265688.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.