Skip to main content

Linux EUVDEUVD-2026-18776

| CVE-2026-31397 HIGH
NULL Pointer Dereference (CWE-476)
2026-04-03 Linux
7.8
CVSS 3.1 · Vendor: Linux
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Null pointer safety, defensive checks
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Impact

Without CVSS score or vector data, risk assessment relies on technical analysis and exploitation indicators. No KEV status indicates confirmed active exploitation, and no CVE severity designation was provided. However, the vulnerability has clear high-risk characteristics: it affects core memory management in all Linux kernels, can cause either memory corruption (NULL dereference crashes) or silent data corruption (PMD pointing to invalid memory), and is exploitable through unprivileged userspace UFFDIO_MOVE operations if CONFIG_USERFAULTFD is enabled. The availability of three upstream fix commits (f3caaee0f9e, e3133d0986dc, fae654083bfa) indicates this was addressed as a critical correctness issue by kernel maintainers. The tags indicate information disclosure potential, though the technical mechanism suggests memory corruption and denial of service as more direct impacts. Given the scope (all affected Linux versions), exploitability (userspace exposure), and memory corruption potential, this warrants high-priority patching despite lack of public exploit or KEV status.

Exploit ScenarioDerived

An unprivileged local user with access to userfaultfd (on systems with CONFIG_USERFAULTFD enabled) can trigger the vulnerability by calling UFFDIO_MOVE operations to migrate a huge zero page mapping. On SPARSEMEM_VMEMMAP systems, this installs a valid-appearing PMD that references non-existent physical memory, potentially allowing subsequent memory corruption or information disclosure when the kernel or other processes attempt to access that memory. On other memory models, the NULL dereference in folio_pfn() causes an immediate kernel crash (denial of service). The attack requires no special privileges beyond basic process creation and memory allocation capabilities available to unprivileged users on most distributions.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 03, 2026

Linux kernel memory management allows installation of PMD entries pointing to non-existent physical memory or causes NULL pointer dereferences in move_pages_huge_pmd() when handling huge zero page migrations via UFFDIO_MOVE. The vulnerability occurs because the function incorrectly handles NULL folio pointers for huge zero pages, either producing bogus page frame numbers on SPARSEMEM_VMEMMAP systems or dereferencing NULL on other memory models. Additionally, destination PMD entries lose special mapping metadata (pmd_special flag), causing subsequent page reference counting corruption. No CVSS score is available; no active exploitation reported.

RemediationAI

Apply the upstream kernel fixes available at git.kernel.org/stable/c/f3caaee0f9e489fd2282d4ce45791dc8aed2da62, git.kernel.org/stable/c/e3133d0986dc5a231d5419167dbac65312b28b41, and git.kernel.org/stable/c/fae654083bfa409bb2244f390232e2be47f05bfc. These commits address the vulnerability by using page_folio(src_page) to correctly obtain the huge zero folio instead of passing NULL through folio operations, and by deriving the destination PMD from src_pmdval to preserve special mapping metadata. Users should update to a stable kernel release that includes these commits, or apply them directly to their kernel source. For systems where kernel updates cannot be immediately deployed, disabling CONFIG_USERFAULTFD at compile time or via kernel command-line parameters will eliminate the attack surface, though this may impact applications relying on userfaultfd functionality.

Affected VersionsENISA

Linux e3981db444a0a18d350d9f92e3f2e8d489b54211 <e3133d0986dc5a231d5419167dbac65312b28b41
Linux e3981db444a0a18d350d9f92e3f2e8d489b54211 <f3caaee0f9e489fd2282d4ce45791dc8aed2da62
Linux patch: 0
Linux patch: 6.19.10
Linux 6.16
Linux patch: 6.18.20
Linux e3981db444a0a18d350d9f92e3f2e8d489b54211 <fae654083bfa409bb2244f390232e2be47f05bfc
Linux patch: 7.0-rc5

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability resides in the Linux kernel's huge_memory subsystem, specifically in the move_pages_huge_pmd() function which facilitates userspace-driven page movement via UFFDIO_MOVE operations. The function must handle two distinct paths: normal transparent huge pages (THPs) and huge zero pages (special sentinel pages used for zero-filled memory regions). For huge zero pages, src_folio is intentionally set to NULL as a sentinel to skip certain folio operations (locking, rmap updates). However, the code then passes this NULL folio to folio_mk_pmd(NULL, pgprot), which chains through folio_pfn() and page_to_pfn() functions. On systems using SPARSEMEM_VMEMMAP memory model, NULL pointer arithmetic silently computes an invalid physical frame number, installing a PMD pointing to non-existent memory. On other memory models, this causes direct NULL pointer dereference. Additionally, when reconstructing the destination PMD from the folio in the huge zero page branch, the code loses PMD metadata flags such as pmd_special(), which is essential after commit d82d09e48219. This causes vm_normal_page_pmd() to misclassify the migrated huge zero PMD as a normal page, leading to reference count corruption. The underlying root causes are improper NULL handling in folio operations and incorrect PMD metadata preservation during migration.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Linux) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
SUSE HIGH

Primary rating from Vendor (Linux).

CVSS VectorVendor: Linux

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
CVSS changed
Apr 27, 2026 - 14:22 NVD
7.8 (HIGH)
CVE Published
Apr 03, 2026 - 15:16 nvd
N/A

DescriptionCVE.org

In the Linux kernel, the following vulnerability has been resolved:

mm/huge_memory: fix use of NULL folio in move_pages_huge_pmd()

move_pages_huge_pmd() handles UFFDIO_MOVE for both normal THPs and huge zero pages. For the huge zero page path, src_folio is explicitly set to NULL, and is used as a sentinel to skip folio operations like lock and rmap.

In the huge zero page branch, src_folio is NULL, so folio_mk_pmd(NULL, pgprot) passes NULL through folio_pfn() and page_to_pfn(). With SPARSEMEM_VMEMMAP this silently produces a bogus PFN, installing a PMD pointing to non-existent physical memory. On other memory models it is a NULL dereference.

Use page_folio(src_page) to obtain the valid huge zero folio from the page, which was obtained from pmd_page() and remains valid throughout.

After commit d82d09e48219 ("mm/huge_memory: mark PMD mappings of the huge zero folio special"), moved huge zero PMDs must remain special so vm_normal_page_pmd() continues to treat them as special mappings.

move_pages_huge_pmd() currently reconstructs the destination PMD in the huge zero page branch, which drops PMD state such as pmd_special() on architectures with CONFIG_ARCH_HAS_PTE_SPECIAL. As a result, vm_normal_page_pmd() can treat the moved huge zero PMD as a normal page and corrupt its refcount.

Instead of reconstructing the PMD from the folio, derive the destination entry from src_pmdval after pmdp_huge_clear_flush(), then handle the PMD metadata the same way move_huge_pmd() does for moved entries by marking it soft-dirty and clearing uffd-wp.

Threat Intelligence Overview

EPSS Score
0.0%
Top 96% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A null pointer dereference occurs when a program attempts to access memory through a pointer that has been set to NULL (address 0x0).

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

SUSE

Severity: High
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy