Bug 2363439 (CVE-2022-49835) - CVE-2022-49835 kernel: ALSA: hda: fix potential memleak in 'add_widget_node'
Summary: CVE-2022-49835 kernel: ALSA: hda: fix potential memleak in 'add_widget_node'
Keywords:
Status: NEW
Alias: CVE-2022-49835
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-05-01 15:04 UTC by OSIDB Bzimport
Modified: 2025-06-20 23:32 UTC (History)
4 users (show)

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-05-01 15:04:42 UTC
In the Linux kernel, the following vulnerability has been resolved:

ALSA: hda: fix potential memleak in 'add_widget_node'

As 'kobject_add' may allocated memory for 'kobject->name' when return error.
And in this function, if call 'kobject_add' failed didn't free kobject.
So call 'kobject_put' to recycling resources.

Comment 1 Avinash Hanwate 2025-05-02 04:33:12 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025050138-CVE-2022-49835-ea42@gregkh/T


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