Skip to main content
EPSS 0.1%top 96%

Linux hwe edge: In the Linux kernel, the following vulnerability has been resolved: page_pool: Fix PP_MAGIC_MASK to avoid crashing on some 32-bit arches Helge… (CVE-2025-40199)

0
Medium
Published: 11/12/2025 (11/12/2025, 22:15:00 UTC)
Source: GCVE Database
Product: linux-hwe-edge

Description

In the Linux kernel, the following vulnerability has been resolved: page_pool: Fix PP_MAGIC_MASK to avoid crashing on some 32-bit arches Helge reported that the introduction of PP_MAGIC_MASK let to crashes on boot on his 32-bit parisc machine. The cause of this is the mask is set too wide, so the page_pool_page_is_pp() incurs false positives which crashes the machine. Just disabling the check in page_pool_is_pp() will lead to the page_pool code itself malfunctioning; so instead of doing this, this patch changes the define for PP_DMA_INDEX_BITS to avoid mistaking arbitrary kernel pointers for page_pool-tagged pages. The fix relies on the kernel pointers that alias with the pp_magic field always being above PAGE_OFFSET. With this assumption, we can use the lowest bit of the value of PAGE_OFFSET as the upper bound of the PP_DMA_INDEX_MASK, which should avoid the false positives. Because we cannot rely on PAGE_OFFSET always being a compile-time constant, nor on it always being >0, we fall back to disabling the dma_index storage when there are not enough bits available. This leaves us in the situation we were in before the patch in the Fixes tag, but only on a subset of architecture configurations. This seems to be the best we can do until the transition to page types in complete for page_pool pages. v2: - Make sure there's at least 8 bits available and that the PAGE_OFFSET bit calculation doesn't wrap

CVSS v3.1

Score 7.8high

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected software

Affected versions
<6.17.0-1007.7~24.04.1<6.17.0-1008.8~24.04.1<6.17.0-1008.8<6.17.0-1011.11

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/30/2026, 16:54:13 UTC

Technical Analysis

CVE-2025-40199 addresses a Linux kernel vulnerability where the PP_MAGIC_MASK was set too wide, causing false positives in the page_pool_page_is_pp() function on certain 32-bit architectures (notably parisc). This led to system crashes during boot. The patch modifies PP_DMA_INDEX_BITS and the PP_DMA_INDEX_MASK to rely on kernel pointer assumptions relative to PAGE_OFFSET, reducing false positives. Where assumptions cannot hold, dma_index storage is disabled for affected architectures, reverting to prior behavior but avoiding crashes. The fix ensures stable page_pool operation until a full transition to page types is completed.

Potential Impact

The vulnerability causes system crashes on boot for some 32-bit architectures due to incorrect page identification in the Linux kernel's page_pool code. This results in denial of service (system unavailability) with high confidentiality, integrity, and availability impact as per the CVSS vector.

Mitigation Recommendations

A fix has been implemented in the Linux kernel source to correct the PP_MAGIC_MASK and related definitions. Users should apply the official kernel updates containing this patch to affected 32-bit architectures. Since this is a kernel-level issue, updating to the fixed kernel version is the recommended remediation. Patch status is confirmed by the vendor's fix description.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-79fg-r6v6-prp7
Osv Schema Version
1.4.0
Aliases
["CVE-2025-40199"]
Database Specific Severity
HIGH
Cvss Version
3.1

Threat ID: 6a6b72d69c2644c7f847a57b

Added to database: 07/30/2026, 15:50:46 UTC

Last enriched: 07/30/2026, 16:54:13 UTC

Last updated: 09/10/2026, 19:24:56 UTC

Views: 11

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses