CVE-2025-38395: linux kernel vulnerability

CVE-2025-38395: high vulnerability affecting linux kernel. Check CVSS, KEV status, business impact and recommended administrator actions.
CVE-2025-38395CVSS 8.4Linux

CVE-2025-38395: linux kernel vulnerability

CVE-2025-38395: high vulnerability affecting linux kernel. Check CVSS, KEV status, business impact and recommended administrator actions.

CVSS
8.4 HIGH
EPSS
7.52%
Known exploited
not in KEV
Product
linux kernel

What is known

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.

Business impact

Successful exploitation of CVE-2025-38395, a high vulnerability (CVSS 8.4) affecting linux kernel, may affect the confidentiality, integrity or availability of the vulnerable environment. The exact impact depends on the installed version, exposed interfaces and deployment configuration.

Recommended administrator action

Confirm whether linux kernel is present and compare installed versions with the vendor advisory and NVD record. Apply the vendor patch or documented mitigation; until remediation is complete, reduce exposure of affected interfaces, review relevant logs and monitor for indicators of exploitation. DataHouse can support version verification, managed patching, network exposure reduction, log review and backup validation for dedicated, cloud and colocated environments.

Sources

Security newsletter

Get new CVE alerts before they become an incident

We send selected infrastructure threats in English, with practical notes for DataHouse environments.

  • DataHouse: server administration and secure cloud
  • Hostilla.pl: hosting and mail services
  • SecDNS.pl: free DNS security layer