CVE-2025-38286 pinctrl: at91: Fix possible out-of-boundary access

High 7.1 Published Updated

A missing check in the Linux kernel pinctrl driver allows out-of-bounds memory access, potentially leading to system crashes 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-38286?

CVE-2025-38286 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 10 Jul 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:

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.

Weakness: CWE-125

Which versions are affected by CVE-2025-38286?

It affects 2 products.

Products include Debian Debian Linux, Linux kernel.

How do I fix CVE-2025-38286?

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-38286 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as BELL-CVE-2025-38286, DEBIAN-CVE-2025-38286, GHSA-h7xp-pvf5-qx4x, ROOT-OS-DEBIAN-11-CVE-2025-38286, ROOT-OS-DEBIAN-12-CVE-2025-38286, ROOT-OS-UBUNTU-2204-CVE-2025-38286 and 2 more.

Is CVE-2025-38286 in your software?

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

Check your SBOMs for free