PatchSiren cyber security CVE debrief
CVE-2026-45881 Linux CVE debrief
A memory leak vulnerability exists in the Linux kernel's MediaTek SVS (Smart Voltage Scaling) driver. The flaw occurs in the svs_enable_debug_write() function where memory allocated via memdup_user_nul() is not freed if kstrtoint() fails during integer parsing. The fix implements automatic memory cleanup using the __free(kfree) attribute, eliminating manual kfree() calls and preventing resource leaks. This vulnerability affects kernel debug functionality and could lead to gradual memory exhaustion under specific error conditions.
- Vendor
- Linux
- Product
- Unknown
- CVSS
- MEDIUM 5.5
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-05-27
- Original CVE updated
- 2026-06-25
- Advisory published
- 2026-05-27
- Advisory updated
- 2026-06-25
Who should care
Organizations running Linux systems with MediaTek SoCs utilizing the SVS (Smart Voltage Scaling) driver, particularly those with debug interfaces exposed. Kernel maintainers and embedded Linux developers working with MediaTek platforms should prioritize this fix.
Technical summary
The svs_enable_debug_write() function in drivers/soc/mediatek/mtk-svs.c allocates memory using memdup_user_nul() to copy user-provided debug data. If the subsequent kstrtoint() call fails to parse an integer from this buffer, the function returns early without freeing the allocated memory, resulting in a leak. The resolution adds the __free(kfree) attribute to the buffer declaration, enabling automatic cleanup when the variable goes out of scope regardless of exit path. This pattern eliminates explicit kfree() calls and prevents similar leaks from future code modifications. The fix also required adding cleanup.h header inclusion.
Defensive priority
low
Recommended defensive actions
- Review kernel version and confirm if MediaTek SVS driver is enabled
- Apply kernel updates containing the referenced stable commits when available
- Monitor for kernel memory usage anomalies on affected systems
- Consider disabling SVS debug interfaces if not required for operations
Evidence notes
The vulnerability description indicates a memory leak in svs_enable_debug_write() within the MediaTek SVS driver. The fix uses __free(kfree) for automatic cleanup. Multiple stable kernel commits are referenced, suggesting backports to various kernel versions. No CVSS score or severity rating is currently assigned by NVD (status: Awaiting Analysis).
Sources and references
Verified primary and authoritative sources
-
CVE-2026-45881 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-45881
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-45881 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-45881
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://git.kernel.org/stable/c/06195456c4e4de3826c4ca60eca941c472f991d0
416baaa9-dc9f-4396-8d5f-8c081fb06d67
-
Source reference
Unverified legacy reference
URL: https://git.kernel.org/stable/c/0f6498077faa9cd89bb787bcc57063494a6f0601
416baaa9-dc9f-4396-8d5f-8c081fb06d67
-
Source reference
Unverified legacy reference
URL: https://git.kernel.org/stable/c/47a3e372f7d68776adb749a27c0ec9058ff1b4fd
416baaa9-dc9f-4396-8d5f-8c081fb06d67
-
Source reference
Unverified legacy reference
URL: https://git.kernel.org/stable/c/6259094ee806fb813ca95894c65fb80e2ec98bf1
416baaa9-dc9f-4396-8d5f-8c081fb06d67
-
Source reference
Unverified legacy reference
URL: https://git.kernel.org/stable/c/6bb10466e0884b4a68d4a1f3f4bb87eeb471c18a
416baaa9-dc9f-4396-8d5f-8c081fb06d67
-
Source reference
Unverified legacy reference
URL: https://git.kernel.org/stable/c/a58c97828911c0b6e25d6b556789da974003efda
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.