drm/vc4: hdmi: Avoid hang with debug registers when suspended
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
1da00a63f0e798f0fd0dcf623b16c16e13f93615| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
drm/vc4: hdmi: Avoid hang with debug registers when suspended
Trying to read /sys/kernel/debug/dri/1/hdmi1_regs when the hdmi is disconnected results in a fatal system hang.
This is due to the pm suspend code disabling the dvp clock. That is just a gate of the 108MHz clock in DVP_HT_RPI_MISC_CONFIG, which results in accesses hanging AXI bus.
Protect against this.
From the CVE record · Linux
Reading the VC4 HDMI debug registers through /sys/kernel/debug/dri/1/hdmi1_regs can fatally hang the system when HDMI is disconnected. This requires local access to the debug-register file; the input does not specify an authentication requirement.
Operators running the Linux kernel with VC4 HDMI should check their systems; affected versions are not specified.