What’s Vulnerable › Vulnerabilities
CVE-2022-49835: ALSA: hda: fix potential memleak in 'add_widget_node'
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-05-01 · updated 2026-06-17
- Weakness: CWE-401
Description
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.
Affected products
- Linux kernel: before 4.9.334; from 4.10 before 4.14.300; from 4.15 before 4.19.267; from 4.20 before 5.4.225; from 5.5 before 5.10.155; from 5.11 before 5.15.79 — fixed in 4.14.300, 4.19.267, 4.9.334, 5.10.155, 5.15.79, 5.4.225
How to fix
Upgrade to a fixed version: Linux kernel 4.14.300, 4.19.267, 4.9.334, 5.10.155. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/02dea987ec1cac712c78e75d224ceb9bb73519ed
- https://git.kernel.org/stable/c/3a79f9568de08657fcdbc41d6fc4c0ca145a7a2b
- https://git.kernel.org/stable/c/455d99bd6baf19688048b6d42d9fa74eae27f93b
- https://git.kernel.org/stable/c/7140d7aaf93da6a665b454f91bb4dc6b1de218bd
- https://git.kernel.org/stable/c/90b7d055e2b5f39429f9a9e3815b48a48530ef28
- https://git.kernel.org/stable/c/9a5523f72bd2b0d66eef3d58810c6eb7b5ffc143
- https://git.kernel.org/stable/c/b688a3ec235222d9a84e43a48a6f31acb95baf2d
- https://git.kernel.org/stable/c/bb0ac8d5e541224f599bc8e8f31a313faa4bf7b7
Get alerted when CVE-2022-49835 or the next vulnerability affects your stack