CVE-2026-45881

Source
https://cve.org/CVERecord?id=CVE-2026-45881
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-45881.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-45881
Downstream
Published
2026-05-27T12:16:53.677Z
Modified
2026-06-27T11:55:23.315444520Z
Summary
soc: mediatek: svs: Fix memory leak in svs_enable_debug_write()
Details

In the Linux kernel, the following vulnerability has been resolved:

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

In svsenabledebugwrite(), the buf allocated by memdupuser_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]

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45881.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
13f1bbcfb5822fcaacfc652017b57b79ffcacefa
Fixed
47a3e372f7d68776adb749a27c0ec9058ff1b4fd
Fixed
06195456c4e4de3826c4ca60eca941c472f991d0
Fixed
a58c97828911c0b6e25d6b556789da974003efda
Fixed
0f6498077faa9cd89bb787bcc57063494a6f0601
Fixed
6bb10466e0884b4a68d4a1f3f4bb87eeb471c18a
Fixed
6259094ee806fb813ca95894c65fb80e2ec98bf1

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-45881.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.0.0
Fixed
6.1.165
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.128
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.75
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.14
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
6.19.4

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-45881.json"