Vulnerabilities

Vulnerability · CVE-2025-38395

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

Published Jul 25, 2025 · catalog updated Aug 5, 2026 · Linux Linux

Check if you run it

No confirmed exploitation is on record for CVE-2025-38395. EPSS is 0.19%. Act only if a listed version of Linux Linux is installed.

Gaps on this record

  • No vendor fix or required action is stored. Compare the linked advisory before you change production.
Severity
High8.4
Known exploitation
Not in CISA/VulnCheck KEV
EPSS
0.19%
Remediation
Version ranges on file
Affected products
vendor Linux Linux d6cd33ad71029a3f77ba1686caf55d4dea58d916 <9fe71972869faed1f8f9b3beb9040f9c1b300c79

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.

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • vendor Linux Linux d6cd33ad71029a3f77ba1686caf55d4dea58d916 <9fe71972869faed1f8f9b3beb9040f9c1b300c79d6cd33ad71029a3f77ba1686caf55d4dea58d916 <9fe71972869faed1f8f9b3beb9040f9c1b300c79

How to fix CVE-2025-38395

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

No confirmed exploitation is on record for CVE-2025-38395. EPSS is 0.19%. Act only if a listed version of Linux Linux is installed.

Which versions are affected?

Compare what you have installed with Linux Linux d6cd33ad71029a3f77ba1686caf55d4dea58d916 <9fe71972869faed1f8f9b3beb9040f9c1b300c79 d6cd33ad71029a3f77ba1686caf55d4dea58d916 <9fe71972869faed1f8f9b3beb9040f9c1b300c79. Compare the installed version with the linked vendor advisory before you change production.

What should an analyst verify?

No weakness class is stored. EPSS 0.19%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.

Code

The project this record applies to. Exploit listings stay in References.

Timeline

Detection, updates, and resolution for this record.

  1. Jul 25, 2025 · EUVD

    Detected

    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::ngp

  2. Aug 5, 2026 · EUVD

    Updated

    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::ngp

Sources

  • CVE.orgVulnerability recordCVE-2025-38395

    Official CVE identifier

    cve.org
  • FIRST EPSSExploitation probabilityCVE-2025-38395

    30-day exploitation probability 0.19%

    first.org
  • EUVDVulnerability recordEUVD-2025-22608

    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-bo

    euvd.enisa.europa.eu

References

Freshness

Last verified in this catalog Oct 21, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.