CVE-2026-45881
MEDIUM 5.5CVSS 3.1In 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]
- Published
- 27 May 2026
- Last modified
- 25 Jun 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Analyzed
- Weakness
- CWE-401
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.0, < 6.1.165 | 6.1.165 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.2, < 6.6.128 | 6.6.128 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.7, < 6.12.75 | 6.12.75 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.13, < 6.18.14 | 6.18.14 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.19, < 6.19.4 | 6.19.4 |
References
- https://git.kernel.org/stable/c/06195456c4e4de3826c4ca60eca941c472f991d0 · Patch
- https://git.kernel.org/stable/c/0f6498077faa9cd89bb787bcc57063494a6f0601 · Patch
- https://git.kernel.org/stable/c/47a3e372f7d68776adb749a27c0ec9058ff1b4fd · Patch
- https://git.kernel.org/stable/c/6259094ee806fb813ca95894c65fb80e2ec98bf1 · Patch
- https://git.kernel.org/stable/c/6bb10466e0884b4a68d4a1f3f4bb87eeb471c18a · Patch
- https://git.kernel.org/stable/c/a58c97828911c0b6e25d6b556789da974003efda · Patch
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 27 May 2026)