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
- Unknown
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-05-27
- Original CVE updated
- 2026-05-27
- Advisory published
- 2026-05-27
- Advisory updated
- 2026-05-27
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).
Official resources
-
CVE-2026-45881 CVE record
CVE.org
-
CVE-2026-45881 NVD detail
NVD
-
Source item URL
nvd_modified
-
Source reference
416baaa9-dc9f-4396-8d5f-8c081fb06d67
-
Source reference
416baaa9-dc9f-4396-8d5f-8c081fb06d67
-
Source reference
416baaa9-dc9f-4396-8d5f-8c081fb06d67
-
Source reference
416baaa9-dc9f-4396-8d5f-8c081fb06d67
-
Source reference
416baaa9-dc9f-4396-8d5f-8c081fb06d67
-
Source reference
416baaa9-dc9f-4396-8d5f-8c081fb06d67
2026-05-27