boxscore/security
CVE · referencelatest edition

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.

CVE-2025-38395HIGH
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).
CWE-125 · CNA: Linux · CVSS v3.1 · 10 references · NVD status: Modified

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
DateEventDetail
April 16, 2025ReservedReserved by Linux
July 25, 2025PublishedPublished (CNA: Linux)
July 30, 2026RESCOREDRESCORED — CVE-2025-38395 (Linux). CVSS 8.4 → 7.1 (NVD).

Affected

Affected products and packages — 2 rows
VendorProduct / PackageEcosystemVersion introducedFixed
LinuxLinuxd6cd33ad71029a3f77ba1686caf55d4dea58d916
LinuxLinux5.15.4.296

Weaknesses

CWE-125

References (10)

Related

Authoritative record: CVE-2025-38395 at cve.org

Vendors: linux

Weaknesses: CWE-125

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.