drm/ttm: Avoid NULL pointer deref for evicted BOs
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 09ac4fcb3f255e9225967c75f5893325c116cdbe · < 491adc6a0f9903c32b05f284df1148de39e8e644| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
drm/ttm: Avoid NULL pointer deref for evicted BOs
It is possible for a BO to exist that is not currently associated with a resource, e.g. because it has been evicted.
When devcoredump tries to read the contents of all BOs for dumping, we need to expect this as well -- in this case, ENODATA is recorded instead of the buffer contents.
From the CVE record · Linux
The Linux kernel's drm/ttm code can dereference a NULL pointer when devcoredump reads a buffer object that has no associated resource, such as an evicted object. The input does not specify how an attacker could trigger this condition or whether access or user interaction is required.
Engineers running the Linux kernel should check their versions; affected versions are not specified.