irqchip/gic-v3: Fix GICR_CTLR.RWP polling
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 021f653791ad17e03f98aaa7fb933816ae16f161 · < 6fef3e3179e6ed8fecdd004ede541674ffa7749d| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
irqchip/gic-v3: Fix GICR_CTLR.RWP polling
It turns out that our polling of RWP is totally wrong when checking for it in the redistributors, as we test the *distributor* bit index, whereas it is a different bit number in the RDs... Oopsie boo.
This is embarassing. Not only because it is wrong, but also because it took *8 years* to notice the blunder...
Just fix the damn thing.
From the CVE record · Linux
The Linux kernel’s GICv3 interrupt-controller code checks the wrong bit when polling the redistributor’s GICR_CTLR.RWP register. The input does not describe an attacker outcome or specify whether exploitation requires network or local access, authentication, or user interaction.
Engineers running Linux kernels with the affected GICv3 interrupt-controller code should check their kernel versions; affected versions are not specified.