CVE-2026-45881

published 27 May 2026 · updated 27 May 2026

soc: mediatek: svs: Fix memory leak in svs_enable_debug_write()

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 06195456c4e4de3826c4ca60eca941c472f991d0, Kernel 0f6498077faa9cd89bb787bcc57063494a6f0601, Kernel 47a3e372f7d68776adb749a27c0ec9058ff1b4fd and 3 more.

In the Linux kernel, the following vulnerability has been resolved: soc: mediatek: svs: Fix memory leak in svs_enable_debug_write() In svs_enable_debug_write(), the buf allocated by memdup_user_nul() is leaked if kstrtoint() fails. Fix this by using __free(kfree) to automatically free buf, eliminating the need for explicit kfree() calls and preventing leaks. [Angelo: Added missing cleanup.h inclusion]

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.0, >=13f1bbcfb5822fcaacfc652017b57b79ffcacefa <06195456c4e4de3826c4ca60eca941c472f991d0, >=13f1bbcfb5822fcaacfc652017b57b79ffcacefa <0f6498077faa9cd89bb787bcc57063494a6f0601, >=13f1bbcfb5822fcaacfc652017b57b79ffcacefa <47a3e372f7d68776adb749a27c0ec9058ff1b4fd, >=13f1bbcfb5822fcaacfc652017b57b79ffcacefa <6259094ee806fb813ca95894c65fb80e2ec98bf1, >=13f1bbcfb5822fcaacfc652017b57b79ffcacefa <6bb10466e0884b4a68d4a1f3f4bb87eeb471c18a, >=13f1bbcfb5822fcaacfc652017b57b79ffcacefa <a58c97828911c0b6e25d6b556789da974003efda06195456c4e4de3826c4ca60eca941c472f991d0, 0f6498077faa9cd89bb787bcc57063494a6f0601, 47a3e372f7d68776adb749a27c0ec9058ff1b4fd, 6259094ee806fb813ca95894c65fb80e2ec98bf1, 6bb10466e0884b4a68d4a1f3f4bb87eeb471c18a, a58c97828911c0b6e25d6b556789da974003efda

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-45881 severity on Zeptric[![CVE-2026-45881](https://zeptric.io/badge/cve/CVE-2026-45881.svg)](https://zeptric.io/cve/CVE-2026-45881)