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

drm/xe/xe_pagefault: Disallow writes to read-only VMAs

The page fault handler should reject write/atomic access to read only
VMAs. Add code to handle this in xe_pagefault_service after the VMA
lookup.

v2:
- Apply max line length (Matthew)

(cherry picked from commit 714ee6754ac5fa3dc078856a196a6b124cd797a0)
Published: 2026-05-01
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A flaw in the Linux DRM Xe kernel module’s page fault handler allows write or atomic accesses to virtual memory areas that are marked read‑only. If an attacker can trigger a page fault on such an area, the kernel will attempt to write to memory that should be protected, potentially corrupting kernel data structures. This could enable a local attacker to gain elevated privileges or execute arbitrary code at privileged kernel level. The weakness arises from missing access control during VMA handling.

Affected Systems

Linux kernel versions that have not incorporated the patch adding a write‑guard in xe_pagefault_service are affected. The vulnerability is present in any kernel build compiled before the change referenced in the commit log. The affected builds include the generic Linux kernel, with the fix available in later releases such as those that include commit 714ee6754ac5fa3dc078856a196a6b124cd797a0.

Risk and Exploitability

The CVSS base score of 5.5 indicates moderate severity. The EPSS score is reported as less than 1 %, implying a low probability of exploitation. The vulnerability is not listed in CISA’s KEV catalog, so no active exploits are known. Based on the description, the attack requires a local attacker who has access to the DRM Xe device to provoke a page fault on a read‑only VMA, making the attack vector local rather than remote. With this attack vector, a successful exploit could corrupt kernel memory and lead to privilege escalation.

Generated by OpenCVE AI on May 13, 2026 at 00:09 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes the xe_pagefault patch or apply the upstream commit that introduces the write guard in drm/xe
  • If a kernel upgrade is not immediately possible, disable the DRM Xe device or block its access to reduce the risk of triggering the vulnerable page fault handling
  • Manually cherry‑pick the commit that adds the VMA write check into your local kernel source, rebuild the kernel, and install the patched module

Generated by OpenCVE AI on May 13, 2026 at 00:09 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 13 May 2026 00:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-284

Tue, 12 May 2026 22:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-284

Tue, 12 May 2026 19:30:00 +0000

Type Values Removed Values Added
Weaknesses NVD-CWE-noinfo
CPEs cpe:2.3:o:linux:linux_kernel:6.19:-:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}


Sat, 02 May 2026 12:15:00 +0000


Fri, 01 May 2026 23:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-284

Fri, 01 May 2026 14:45:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: drm/xe/xe_pagefault: Disallow writes to read-only VMAs The page fault handler should reject write/atomic access to read only VMAs. Add code to handle this in xe_pagefault_service after the VMA lookup. v2: - Apply max line length (Matthew) (cherry picked from commit 714ee6754ac5fa3dc078856a196a6b124cd797a0)
Title drm/xe/xe_pagefault: Disallow writes to read-only VMAs
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-05-11T22:15:45.926Z

Reserved: 2026-03-09T15:48:24.141Z

Link: CVE-2026-31785

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2026-05-01T15:16:42.033

Modified: 2026-05-12T19:26:31.830

Link: CVE-2026-31785

cve-icon Redhat

Severity :

Publid Date: 2026-05-01T00:00:00Z

Links: CVE-2026-31785 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-05-13T00:15:27Z

Weaknesses