Memory Access Vulnerability in Linux Kernel's max20086 Regulator Package
Summary
CVE-2025-38027: In the Linux kernel, the following vulnerability has been resolved: regulator: max20086: fix invalid memory access max20086_parse_regulators_dt() calls of_regulator_match() using an array of struct of_regulator_match all... Affects linux versions < 6.1.140-1. Fixed in 6.1.140-1. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The Linux kernel is the core component of many operating systems, providing essential services for hardware and software interaction. The max20086 regulator is a specific driver within the kernel that manages power regulation for devices. This driver is crucial for ensuring stable power supply to various components, and any vulnerabilities can lead to significant system instability or security risks.
Vulnerability Detail
In the Linux kernel, a vulnerability has been identified in the max20086 regulator driver. The issue arises from the function max20086_parse_regulators_dt(), which improperly uses a stack-allocated array for regulator matches. When the device fails to probe, the cleanup function devm_of_regulator_put_matches() attempts to access this stack memory, leading to invalid memory access. This can result in system crashes and undefined behavior, as the stack pointer may no longer be valid, causing potential exploitation or data corruption.
How To Fix
Minimum fixed version
6.1.140-1
This is the first release that contains the fix.
sudo apt-get install --only-upgrade linux
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
Currently, there are no specific workarounds mentioned for this vulnerability. The best course of action is to apply the available patches as soon as possible.
Conclusion
The CVE-2025-38027 vulnerability in the Linux kernel's max20086 regulator driver poses significant risks due to improper memory access. Users are strongly advised to update their systems to the latest patched versions to ensure stability and security. Utilizing tools like Vulert can help monitor and manage vulnerabilities effectively.
See every vulnerability recorded for linux →
FAQ
CVE-2025-38027 is a vulnerability in the Linux kernel's max20086 regulator driver, which can lead to invalid memory access and potential system instability.
You can use Vulert, a tool that monitors open-source vulnerabilities in your software. By simply providing a manifest file like package-lock.json, Vulert can alert you in real-time. Visit Vulert Scanner to check your application without any signup.
Exploiting this vulnerability can lead to system crashes, undefined behavior, and potential data corruption, affecting the stability and security of the system.
Yes, patches are available for Debian 12 and 13. Users should upgrade to version 6.1.140-1 for Debian 12 and 6.12.30-1 for Debian 13.
While there are no specific workarounds, it is crucial to prioritize updating your kernel to mitigate the risks associated with this vulnerability.
Related vulnerabilities
Recent vulnerabilities recorded for linux.