Bug 2451275 (CVE-2026-23337) - CVE-2026-23337 kernel: pinctrl: pinconf-generic: Fix memory leak in pinconf_generic_parse_dt_config()
Summary: CVE-2026-23337 kernel: pinctrl: pinconf-generic: Fix memory leak in pinconf_g...
Keywords:
Status: NEW
Alias: CVE-2026-23337
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-03-25 11:08 UTC by OSIDB Bzimport
Modified: 2026-03-25 11:38 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-03-25 11:08:21 UTC
In the Linux kernel, the following vulnerability has been resolved:

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

In pinconf_generic_parse_dt_config(), if parse_dt_cfg() 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.


Note You need to log in before you can comment on or make changes to this bug.