Bug 2395405 (CVE-2022-50278) - CVE-2022-50278 kernel: PNP: fix name memory leak in pnp_alloc_dev()
Summary: CVE-2022-50278 kernel: PNP: fix name memory leak in pnp_alloc_dev()
Keywords:
Status: NEW
Alias: CVE-2022-50278
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-09-15 15:12 UTC by OSIDB Bzimport
Modified: 2025-09-22 13:23 UTC (History)
0 users

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-09-15 15:12:08 UTC
In the Linux kernel, the following vulnerability has been resolved:

PNP: fix name memory leak in pnp_alloc_dev()

After commit 1fa5ae857bb1 ("driver core: get rid of struct device's
bus_id string array"), the name of device is allocated dynamically,
move dev_set_name() after pnp_add_id() to avoid memory leak.

Comment 1 Mauro Matteo Cascella 2025-09-22 13:20:04 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025091506-CVE-2022-50278-fcc9@gregkh/T


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