Reference page — cumulative record through Wednesday, August 19, 2026 UTC. Reference pages update as the archive grows; only dated daily editions are immutable pages of record.
Linux Linux — regulator: gpio: Fix the out-of-bounds access to drvdata::gpiods
AV AC PR UI S C I A CVSS EPSS %ile KEV
L L L N U H N H 7.1 .0018 7.5 —
AFFECTED
Product Versions Fixed
Linux d6cd33ad71029a3f77ba1686caf55d4dea58d916 – —
Linux 5.1 – 5.4.296
TIMELINE
Apr 16 Reserved by Linux
Jul 25 Published (CNA: Linux)
Jul 30 RESCORED — CVE-2025-38395 (Linux). CVSS 8.4 → 7.1 (NVD).
Description
In the Linux kernel, the following vulnerability has been resolved:
regulator: gpio: Fix the out-of-bounds access to drvdata::gpiods
drvdata::gpiods is supposed to hold an array of 'gpio_desc' pointers. But
the memory is allocated for only one pointer. This will lead to
out-of-bounds access later in the code if 'config::ngpios' is > 1. So
fix the code to allocate enough memory to hold 'config::ngpios' of GPIO
descriptors.
While at it, also move the check for memory allocation failure to be below
the allocation to make it more readable.
Lifecycle
Complete event history — 3 events, chronological
| Date | Event | Detail |
| April 16, 2025 | Reserved | Reserved by Linux |
| July 25, 2025 | Published | Published (CNA: Linux) |
| July 30, 2026 | RESCORED | RESCORED — CVE-2025-38395 (Linux). CVSS 8.4 → 7.1 (NVD). |
Affected
Affected products and packages — 2 rows
| Vendor | Product / Package | Ecosystem | Version introduced | Fixed |
| Linux | Linux | — | d6cd33ad71029a3f77ba1686caf55d4dea58d916 | — |
| Linux | Linux | — | 5.1 | 5.4.296 |
About this page
This is a reference page, not a dated page of record. It assembles the complete lifecycle of CVE-2025-38395 from the CVE Program record, NVD enrichment, the CISA KEV catalog, EPSS, and OSV advisories. The box score's numbers (CVSS, EPSS, KEV status) are current as of Wednesday, August 19, 2026 UTC and are re-derived as the archive grows; only dated daily editions are immutable pages of record. The authoritative source for this identifier is cve.org.