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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.30% (percentile 15, 2026-11-26)
- **CWE:** CWE-125
- **Published:** 2025-07-10T07:42:03.409Z
- **Modified:** 2026-06-17T09:16:33.180Z

## Who should check

- Anyone running Linux \>= 6732ae5cb47c4f9a72727585956f2a5e069d1637, \< 264a5cf0c422e65c94447a1ebebfac7c92690670; \>= 6732ae5cb47c4f9a72727585956f2a5e069d1637, \< db5665cbfd766db7d8cd0e5fd6e3c0b412916774; \>= 6732ae5cb47c4f9a72727585956f2a5e069d1637, \< 2ecafe59668d2506a68459a9d169ebe41a147a41; \>= 6732ae5cb47c4f9a72727585956f2a5e069d1637, \< f1c1fdc41fbf7e308ced9c86f3f66345a3f6f478; \>= 6732ae5cb47c4f9a72727585956f2a5e069d1637, \< eb435bc4c74acbb286cec773deac13d117d3ef39; \>= 6732ae5cb47c4f9a72727585956f2a5e069d1637, \< e02e12d6a7ab76c83849a4122785650dc7edef65; \>= 6732ae5cb47c4f9a72727585956f2a5e069d1637, \< 288c39286f759314ee8fb3a80a858179b4f306da; \>= 6732ae5cb47c4f9a72727585956f2a5e069d1637, \< 762ef7d1e6eefad9896560bfcb9bcf7f1b6df9c1
- Anyone running Linux 3.8

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

## Affected and fixed versions

- Linux: \>= 6732ae5cb47c4f9a72727585956f2a5e069d1637, \< 264a5cf0c422e65c94447a1ebebfac7c92690670; \>= 6732ae5cb47c4f9a72727585956f2a5e069d1637, \< db5665cbfd766db7d8cd0e5fd6e3c0b412916774; \>= 6732ae5cb47c4f9a72727585956f2a5e069d1637, \< 2ecafe59668d2506a68459a9d169ebe41a147a41; \>= 6732ae5cb47c4f9a72727585956f2a5e069d1637, \< f1c1fdc41fbf7e308ced9c86f3f66345a3f6f478; \>= 6732ae5cb47c4f9a72727585956f2a5e069d1637, \< eb435bc4c74acbb286cec773deac13d117d3ef39; \>= 6732ae5cb47c4f9a72727585956f2a5e069d1637, \< e02e12d6a7ab76c83849a4122785650dc7edef65; \>= 6732ae5cb47c4f9a72727585956f2a5e069d1637, \< 288c39286f759314ee8fb3a80a858179b4f306da; \>= 6732ae5cb47c4f9a72727585956f2a5e069d1637, \< 762ef7d1e6eefad9896560bfcb9bcf7f1b6df9c1 (cvelist)
- Linux: 3.8 (cvelist)

## Mitigation

- Upgrade Linux to 762ef7d1e6eefad9896560bfcb9bcf7f1b6df9c1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-38286. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38286.md
Affected: Linux >= 6732ae5cb47c4f9a72727585956f2a5e069d1637, < 264a5cf0c422e65c94447a1ebebfac7c92690670; >= 6732ae5cb47c4f9a72727585956f2a5e069d1637, < db5665cbfd766db7d8cd0e5fd6e3c0b412916774; >= 6732ae5cb47c4f9a72727585956f2a5e069d1637, < 2ecafe59668d2506a68459a9d169ebe41a147a41; >= 6732ae5cb47c4f9a7272758…
Fixed in: Linux 264a5cf0c422e65c94447a1ebebfac7c92690670, Linux 2ecafe59668d2506a68459a9d169ebe41a147a41, Linux 288c39286f759314ee8fb3a80a858179b4f306da, Linux 762ef7d1e6eefad9896560bfcb9bcf7f1b6df9c1

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-38286 being exploited?

There is no confirmed exploitation: CVE-2025-38286 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-38286?

High: CVSS 7.1 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-38286?

Linux \>= 6732ae5cb47c4f9a72727585956f2a5e069d1637, \< 264a5cf0c422e65c94447a1ebebfac7c92690670; \>= 6732ae5cb47c4f9a72727585956f2a5e069d1637, \< db5665cbfd766db7d8cd0e5fd6e3c0b412916774; \>= 6732ae5cb47c4f9a72727585956f2a5e069d1637, \< 2ecafe59668d2506a68459a9d169ebe41a147a41; \>= 6732ae5cb47c4f9a72727585956f2a5e069d1637, \< f1c1fdc41fbf7e308ced9c86f3f66345a3f6f478; \>= 6732ae5cb47c4f9a72727585956f2a5e069d1637, \< eb435bc4c74acbb286cec773deac13d117d3ef39; \>= 6732ae5cb47c4f9a72727585956f2a5e069d1637, \< e02e12d6a7ab76c83849a4122785650dc7edef65; \>= 6732ae5cb47c4f9a72727585956f2a5e069d1637, \< 288c39286f759314ee8fb3a80a858179b4f306da; \>= 6732ae5cb47c4f9a72727585956f2a5e069d1637, \< 762ef7d1e6eefad9896560bfcb9bcf7f1b6df9c1; Linux 3.8.

### Is there a fix for CVE-2025-38286?

Yes. Fixed in Linux 264a5cf0c422e65c94447a1ebebfac7c92690670, Linux 2ecafe59668d2506a68459a9d169ebe41a147a41, Linux 288c39286f759314ee8fb3a80a858179b4f306da, Linux 762ef7d1e6eefad9896560bfcb9bcf7f1b6df9c1. Upgrade Linux to 762ef7d1e6eefad9896560bfcb9bcf7f1b6df9c1 or later.

### How do I check if I'm affected by CVE-2025-38286?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/264a5cf0c422e65c94447a1ebebfac7c92690670>
- patch: <https://git.kernel.org/stable/c/db5665cbfd766db7d8cd0e5fd6e3c0b412916774>
- patch: <https://git.kernel.org/stable/c/2ecafe59668d2506a68459a9d169ebe41a147a41>
- patch: <https://git.kernel.org/stable/c/f1c1fdc41fbf7e308ced9c86f3f66345a3f6f478>
- patch: <https://git.kernel.org/stable/c/eb435bc4c74acbb286cec773deac13d117d3ef39>
- patch: <https://git.kernel.org/stable/c/e02e12d6a7ab76c83849a4122785650dc7edef65>
- patch: <https://git.kernel.org/stable/c/288c39286f759314ee8fb3a80a858179b4f306da>
- patch: <https://git.kernel.org/stable/c/762ef7d1e6eefad9896560bfcb9bcf7f1b6df9c1>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-38286>

HTML: <https://flawdb.com/CVE-2025-38286> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-38286>
