drm/xe/xe_pagefault: Disallow writes to read-only VMAs
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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)
From the CVE record · Linux
The Linux kernel’s drm/xe page fault handler does not reject write or atomic access to read-only VMAs after looking up the VMA. This may allow writes to memory marked read-only; the input does not specify attacker access requirements or user interaction.
Engineers running Linux kernels with the drm/xe driver should check their kernel version; affected versions are not specified.