drm/nouveau: don't attempt to schedule hpd_work on headless cards
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/nouveau: don't attempt to schedule hpd_work on headless cards
If the card doesn't have display hardware, hpd_work and hpd_lock are left uninitialized which causes BUG when attempting to schedule hpd_work on runtime PM resume.
Fix it by adding headless flag to DRM and skip any hpd if it's set.
From the CVE record · Linux
On headless cards without display hardware, drm/nouveau leaves hpd_work and hpd_lock uninitialized. Attempting to schedule hpd_work during runtime PM resume then causes a kernel BUG. The input does not establish whether an attacker can trigger this or what access would be required.
Engineers running the Linux kernel with drm/nouveau on headless cards should check their installations; affected versions were not provided.