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]
References
Configurations
Configuration 1 (hide)
|
History
No history.
Information
Published : 2026-05-27 14:17
Updated : 2026-06-25 21:12
NVD link : CVE-2026-45881
Mitre link : CVE-2026-45881
CVE.ORG link : CVE-2026-45881
JSON object : View
Products Affected
linux
- linux_kernel
CWE
CWE-401
Missing Release of Memory after Effective Lifetime
