CVE-2025-21880: Linux kernel · drm/xe/userptr: fix EFAULT handling
Source GCVE Database
Not known to be exploited · CVSS 5.5 Medium.
Data as of 29 Oct 2026, 23:15 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 27 Mar 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 per commit 6b93cb98910c826c2e2004942f8b060311e43618. Users and administrators should update their Linux kernel to a version that includes this fix. No additional mitigation is required beyond applying the official patch.
Description
CVE-2025-21880 is a medium-severity vulnerability in the Linux kernel's drm/xe driver related to improper handling of EFAULT errors in user pointer memory pinning. The flaw involves treating EFAULT from hmm_range_fault() as non-fatal in certain conditions, which can lead to a use-after-free scenario causing a null pointer dereference (NPD) and kernel warning. This issue has been fixed in the Linux kernel by correcting the error handling logic to avoid marking the virtual memory area (VMA) for rebind incorrectly.
References
- nvd.nist.gov/vuln/detail/CVE-2025-21880 (opens in a new tab)
- git.kernel.org/stable/c/51cc278f8ffacd5f9dc7d13191b81b912829db59 (opens in a new tab)
- git.kernel.org/stable/c/a9f4fa3a7efa65615ff7db13023ac84516e99e21 (opens in a new tab)
- git.kernel.org/stable/c/daad16d0a538fa938e344fd83927bbcfcd8a66ec (opens in a new tab)