CVE-2025-38081Published Jun 18, 2025 · Jun 18Updated Nov 1
spi-rockchip: Fix register out of bounds access
Linux
High7.1Fix available
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:
spi-rockchip: Fix register out of bounds access
Do not write native chip select stuff for GPIO chip selects. GPIOs can be numbered much higher than native CS. Also, it makes no sense.
From the CVE record · Linux
The Linux kernel's spi-rockchip driver can access registers out of bounds when it writes native chip-select settings for a GPIO chip select numbered higher than a native chip select. The input does not specify how an attacker could trigger this, or whether network access, authentication, or user interaction is required.
Engineers running Linux kernels with the spi-rockchip driver should check their deployments; affected versions are not specified.