drm/xe/ufence: Prefetch ufence addr to catch bogus address
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/ufence: Prefetch ufence addr to catch bogus address
access_ok() only checks for addr overflow so also try to read the addr to catch invalid addr sent from userspace.
(cherry picked from commit 9408c4508483ffc60811e910a93d6425b8e63928)
From the CVE record · Linux
The Linux kernel’s drm/xe/ufence code may fail to catch an invalid address supplied from userspace because access_ok() checks only for address overflow. The issue is classified as an out-of-bounds write. The input does not specify authentication requirements or whether other user interaction is needed.
Engineers running Linux kernels with drm/xe/ufence should check their deployments; affected versions were not provided.