clk: sunxi-ng: h616: Reparent GPU clock during frequency changes
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
clk: sunxi-ng: h616: Reparent GPU clock during frequency changes
The H616 manual does not state that the GPU PLL supports dynamic frequency configuration, so we must take extra care when changing the frequency. Currently any attempt to do device DVFS on the GPU lead to panfrost various ooops, and GPU hangs.
The manual describes the algorithm for changing the PLL frequency, which the CPU PLL notifier code already support, so we reuse that to reparent the GPU clock to GPU1 clock during frequency changes.
From the CVE record · Linux
The Linux kernel’s H616 GPU clock handling does not safely change the GPU PLL frequency during device DVFS. GPU frequency changes can trigger panfrost errors and GPU hangs; the input does not establish an attacker path or authentication requirement.
Engineers running the Linux kernel on H616 systems with GPU device DVFS should check their kernel builds; affected versions are not specified.