Kernel memory corruption via undersized GPIO array
Published Jul 25, 2025 · Updated Aug 5, 2026
Out-of-bounds access in affected Linux kernel releases allows local users to corrupt kernel memory through a multi-GPIO regulator. The gpio_regulator_probe function allocates drvdata::gpiods for one pointer but later indexes it as config::ngpios pointers. A regulator configuration with config::ngpios greater than one is required; subsequent accesses can corrupt memory or crash the kernel.
Summary
What happened
Out-of-bounds access in affected Linux kernel releases allows local users to corrupt kernel memory through a multi-GPIO regulator. The gpio_regulator_probe function allocates drvdata::gpiods for one pointer but later indexes it as config::ngpios pointers. A regulator configuration with config::ngpios greater than one is required; subsequent accesses can corrupt memory or crash the kernel.
The record
- CVE
- CVE-2025-38395
- Published
- Jul 25, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- Unavailable
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jul 25, 2025CVE publishedPublication date reported by the CVE source.
- Aug 5, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=5.1
- Affected versionversion=d6cd33ad71029a3f77ba1686caf55d4dea58d916 <24418bc77a66cb5be9f5a837431ba3674ed8b52f
- Affected versionversion=d6cd33ad71029a3f77ba1686caf55d4dea58d916 <3830ab97cda9599872625cc0dc7b00160193634f
- Affected versionversion=d6cd33ad71029a3f77ba1686caf55d4dea58d916 <56738cbac3bbb1d39a71a07f57484dec1db8b239
- Affected versionversion=d6cd33ad71029a3f77ba1686caf55d4dea58d916 <9fe71972869faed1f8f9b3beb9040f9c1b300c79
- Affected versionversion=d6cd33ad71029a3f77ba1686caf55d4dea58d916 <a1e12fac214d4f49fcb186dbdf9c5592e7fa0a7a
- Affected versionversion=d6cd33ad71029a3f77ba1686caf55d4dea58d916 <a3cd5ae7befbac849e0e0529c94ca04e8093cfd2
- Affected versionversion=d6cd33ad71029a3f77ba1686caf55d4dea58d916 <c9764fd88bc744592b0604ccb6b6fc1a5f76b4e3
- Affected versionversion=d6cd33ad71029a3f77ba1686caf55d4dea58d916 <e4d19e5d71b217940e33f2ef6c6962b7b68c5606
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
No sourced classifications are available.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo