CVE-2025-21939NULL Pointer Dereference in Linux

Severity
5.5MEDIUMNVD
OSV5.9
EPSS
0.0%
top 84.95%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedApr 1
Latest updateJul 8

Description

In the Linux kernel, the following vulnerability has been resolved: drm/xe/hmm: Don't dereference struct page pointers without notifier lock The pnfs that we obtain from hmm_range_fault() point to pages that we don't have a reference on, and the guarantee that they are still in the cpu page-tables is that the notifier lock must be held and the notifier seqno is still valid. So while building the sg table and marking the pages accesses / dirty we need to hold this lock with a validated seqno.

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitability: 1.8 | Impact: 3.6

Affected Packages4 packages

NVDlinux/linux_kernel6.106.12.19+2
Debianlinux/linux_kernel< 6.12.19-1+1
CVEListV5linux/linux81e058a3e7fd8593d076b4f26f7b8bb49f1d61e32a24c98f0e4cc994334598d4f3a851972064809d+3
debiandebian/linux< linux 6.12.19-1 (forky)

Patches

🔴Vulnerability Details

6
OSV
linux-azure, linux-azure-6.11 vulnerabilities2025-07-08
OSV
linux-lowlatency, linux-lowlatency-hwe-6.11 vulnerabilities2025-07-04
OSV
linux-oem-6.11 vulnerabilities2025-06-30
OSV
linux, linux-aws, linux-gcp, linux-gcp-6.11, linux-hwe-6.11, linux-oracle, linux-raspi, linux-realtime vulnerabilities2025-06-30
OSV
CVE-2025-21939: In the Linux kernel, the following vulnerability has been resolved: drm/xe/hmm: Don't dereference struct page pointers without notifier lock The pnfs2025-04-01

📋Vendor Advisories

6
Ubuntu
Linux kernel (Azure) vulnerabilities2025-07-08
Ubuntu
Linux kernel (Low Latency) vulnerabilities2025-07-04
Ubuntu
Linux kernel vulnerabilities2025-06-30
Ubuntu
Linux kernel (OEM) vulnerabilities2025-06-30
Red Hat
kernel: drm/xe/hmm: Don't dereference struct page pointers without notifier lock2025-04-01
CVE-2025-21939 — NULL Pointer Dereference in Linux | cvebase