pmdomain: bcm: bcm2835-power: Increase ASB control timeout
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 670c672608a1ffcbc7ac0f872734843593bb8b15 · < 18605b1b936b66b1f34dcf8e9ad4f1fbcf7a7c13| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
pmdomain: bcm: bcm2835-power: Increase ASB control timeout
The bcm2835_asb_control() function uses a tight polling loop to wait for the ASB bridge to acknowledge a request. During intensive workloads, this handshake intermittently fails for V3D's master ASB on BCM2711, resulting in "Failed to disable ASB master for v3d" errors during runtime PM suspend. As a consequence, the failed power-off leaves V3D in a broken state, leading to bus faults or system hangs on later accesses.
As the timeout is insufficient in some scenarios, increase the polling timeout from 1us to 5us, which is still negligible in the context of a power domain transition. Also, replace the open-coded ktime_get_ns()/ cpu_relax() polling loop with readl_poll_timeout_atomic().
From the CVE record · Linux
On BCM2711, the Linux kernel's bcm2835 ASB control timeout can be too short during intensive workloads. A failed V3D power-off can leave V3D in a broken state, causing bus faults or system hangs on later accesses. The input does not describe an attacker or specify access or user-interaction requirements.
Engineers running Linux on BCM2711 systems should check whether their kernel includes the BCM2835 power-domain fix; affected versions are not specified.