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

High 7.1 Published Updated

A local attacker can trigger an out-of-bounds write in the Rockchip SPI driver, potentially causing a system crash or arbitrary code execution.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-38081?

CVE-2025-38081 is a high-severity memory corruption vulnerability in Linux kernel, published on 18 Jun 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-125

Which versions are affected by CVE-2025-38081?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2025-38081?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2025-38081 being exploited?

There is no known exploitation of CVE-2025-38081 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as AZL-63944, AZL-70307, BELL-CVE-2025-38081, DEBIAN-CVE-2025-38081, GHSA-6q7m-pj7q-7w8f, ROOT-OS-DEBIAN-12-CVE-2025-38081 and 3 more.

Is CVE-2025-38081 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free