CVE-2026-45881
soc: mediatek: svs: Fix memory leak in svs_enable_debug_write()
CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th
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]
| Vendor | linux |
| Product | linux |
| Ecosystems | |
| Industries | Technology |
| Published | May 27, 2026 |
Stay Ahead of the Next One
Get instant alerts for linux linux
Be the first to know when new unknown vulnerabilities affecting linux linux are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
Affected Versions
Linux / Linux
13f1bbcfb5822fcaacfc652017b57b79ffcacefa < 47a3e372f7d68776adb749a27c0ec9058ff1b4fd 13f1bbcfb5822fcaacfc652017b57b79ffcacefa < 06195456c4e4de3826c4ca60eca941c472f991d0 13f1bbcfb5822fcaacfc652017b57b79ffcacefa < a58c97828911c0b6e25d6b556789da974003efda 13f1bbcfb5822fcaacfc652017b57b79ffcacefa < 0f6498077faa9cd89bb787bcc57063494a6f0601 13f1bbcfb5822fcaacfc652017b57b79ffcacefa < 6bb10466e0884b4a68d4a1f3f4bb87eeb471c18a 13f1bbcfb5822fcaacfc652017b57b79ffcacefa < 6259094ee806fb813ca95894c65fb80e2ec98bf1
Linux / Linux
6.0
References
git.kernel.org: https://git.kernel.org/stable/c/47a3e372f7d68776adb749a27c0ec9058ff1b4fd git.kernel.org: https://git.kernel.org/stable/c/06195456c4e4de3826c4ca60eca941c472f991d0 git.kernel.org: https://git.kernel.org/stable/c/a58c97828911c0b6e25d6b556789da974003efda git.kernel.org: https://git.kernel.org/stable/c/0f6498077faa9cd89bb787bcc57063494a6f0601 git.kernel.org: https://git.kernel.org/stable/c/6bb10466e0884b4a68d4a1f3f4bb87eeb471c18a git.kernel.org: https://git.kernel.org/stable/c/6259094ee806fb813ca95894c65fb80e2ec98bf1