# CVE-2025-38081: spi-rockchip: Fix register out of bounds access

- Severity: High 7.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 8% of CVEs (2026-12-01)
- Published: 2025-06-18T09:33:54.564Z
- Modified: 2026-10-30T13:18:00.750Z
- Weaknesses: CWE-125
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 736b81e075172f1e6cd7a8bc1a1374a2dee9e4dc before 7a27d8dd9354f00e823dfb557b690ea44b4a146f; from 736b81e075172f1e6cd7a8bc1a1374a2dee9e4dc before 4a120221661fcecb253448d7b041a52d47f1d91f; from 736b81e075172f1e6cd7a8bc1a1374a2dee9e4dc before ace57bd1fb49d193edec5f6a1f255f48dd5fca90; from 736b81e075172f1e6cd7a8bc1a1374a2dee9e4dc before 254e04ec799c1ff8c1e2bd08a57c6a849895d6ff; from 736b81e075172f1e6cd7a8bc1a1374a2dee9e4dc before 7a874e8b54ea21094f7fd2d428b164394c6cb316; 5.14 (not affected: before 5.14; from 6.1.191 up to 6.1.*; from 6.6.93 up to 6.6.*; from 6.12.31 up to 6.12.*; from 6.14.9 up to 6.14.*; from 6.15 up to *)
- linux linux_kernel: from 5.14 before 6.6.93; from 6.7 before 6.12.31; from 6.13 before 6.14.9

## References

- <https://git.kernel.org/stable/c/7a27d8dd9354f00e823dfb557b690ea44b4a146f>
- <https://git.kernel.org/stable/c/4a120221661fcecb253448d7b041a52d47f1d91f> (patch)
- <https://git.kernel.org/stable/c/ace57bd1fb49d193edec5f6a1f255f48dd5fca90> (patch)
- <https://git.kernel.org/stable/c/254e04ec799c1ff8c1e2bd08a57c6a849895d6ff> (patch)
- <https://git.kernel.org/stable/c/7a874e8b54ea21094f7fd2d428b164394c6cb316> (patch)

## Sources

- CVE List: [CVE-2025-38081](https://www.cve.org/CVERecord?id=CVE-2025-38081), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2025-38081](https://nvd.nist.gov/vuln/detail/CVE-2025-38081), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2025-38081 · Whole record: https://cve.day/CVE-2025-38081.json · Rebuilt by cve.day 2026-11-25T22:58:59.375Z
