CVE-2025-21939: Linux kernel · NULL Pointer Dereference
Source GCVE Database
Not known to be exploited · CVSS 5.5 Medium.
Data as of 29 Oct 2026, 23:17 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 1 Apr 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
AI-suggested
A fix for this vulnerability has been implemented in the Linux kernel as described in the referenced commit. Users should apply the official kernel updates that include this patch to remediate the issue. Since this is a kernel-level vulnerability, upgrading to a fixed kernel version is the recommended mitigation. No alternative mitigations or workarounds are indicated.
Description
CVE-2025-21939 is a medium severity vulnerability in the Linux kernel's drm/xe/hmm subsystem. It involves dereferencing struct page pointers without holding the required notifier lock, which can lead to invalid memory access and potential system instability or denial of service. The issue arises because pages obtained from hmm_range_fault() lack proper reference guarantees unless the notifier lock is held with a validated sequence number. The vulnerability has been addressed by changing how scatter-gather tables are built to avoid dereferencing pages without ownership and marking pages dirty only when safe.
References
- nvd.nist.gov/vuln/detail/CVE-2025-21939 (opens in a new tab)
- git.kernel.org/stable/c/0a98219bcc961edd3388960576e4353e123b4a51 (opens in a new tab)
- git.kernel.org/stable/c/2a24c98f0e4cc994334598d4f3a851972064809d (opens in a new tab)
- git.kernel.org/stable/c/f9326f529da7298a95643c3267f1c0fdb0db55eb (opens in a new tab)