pinctrl: at91: Fix possible out-of-boundary access
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 6732ae5cb47c4f9a72727585956f2a5e069d1637 · < e02e12d6a7ab76c83849a4122785650dc7edef65| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
pinctrl: at91: Fix possible out-of-boundary access
at91_gpio_probe() doesn't check that given OF alias is not available or something went wrong when trying to get it. This might have consequences when accessing gpio_chips array with that value as an index. Note, that BUG() can be compiled out and hence won't actually perform the required checks.
From the CVE record · Linux
The Linux kernel’s at91 GPIO probe may use an invalid OF alias to index the gpio_chips array. This can cause out-of-bounds access if the alias is unavailable or retrieving it fails; a BUG() check may be compiled out. The input does not specify attacker capabilities, authentication requirements, or user interaction.
Engineers running the Linux kernel with the at91 pinctrl component should check their deployments; affected versions are not specified.