CVE-2026-23337

Source
https://cve.org/CVERecord?id=CVE-2026-23337
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23337.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-23337
Downstream
Published
2026-03-25T10:27:26.720Z
Modified
2026-04-02T13:12:21.750642Z
Summary
pinctrl: pinconf-generic: Fix memory leak in pinconf_generic_parse_dt_config()
Details

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

pinctrl: pinconf-generic: Fix memory leak in pinconfgenericparsedtconfig()

In pinconfgenericparsedtconfig(), if parsedtcfg() fails, it returns directly. This bypasses the cleanup logic and results in a memory leak of the cfg buffer.

Fix this by jumping to the out label on failure, ensuring kfree(cfg) is called before returning.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23337.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
90a18c512884adb49ddc2fb30e94594169aae808
Fixed
63ee429780a5d43b5b4406c6128109b0f47cf2f1
Fixed
7a648d598cb8e8c62af3f0e020a25820a3f3a9a7

Database specific

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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
6.19.7

Database specific

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