CVE-2022-49835Published May 1, 2025 · May 1Updated Nov 7
ALSA: hda: fix potential memleak in 'add_widget_node'
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 3256be6537751f65c76b3ecfbb4e667f87525a2f · < 7140d7aaf93da6a665b454f91bb4dc6b1de218bd| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's ALSA HDA add_widget_node function can leak memory if kobject_add fails. The input does not describe how an attacker could trigger the failure or specify access or interaction requirements.
Engineers running Linux kernels with the affected ALSA HDA code should check their versions; affected versions are not specified.