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)
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
AI Analysis
Technical Summary
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.
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)
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
Affected software
AI-Powered Analysis
Machine-generated threat intelligence
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.