# CVE-2022-49835: ALSA: hda: fix potential memleak in 'add_widget_node'

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2025-05-01T14:09:52.700Z
- Modified: 2026-11-05T20:17:15.530Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 3256be6537751f65c76b3ecfbb4e667f87525a2f before b688a3ec235222d9a84e43a48a6f31acb95baf2d; from 3256be6537751f65c76b3ecfbb4e667f87525a2f before bb0ac8d5e541224f599bc8e8f31a313faa4bf7b7; from 3256be6537751f65c76b3ecfbb4e667f87525a2f before 90b7d055e2b5f39429f9a9e3815b48a48530ef28; from 3256be6537751f65c76b3ecfbb4e667f87525a2f before 02dea987ec1cac712c78e75d224ceb9bb73519ed; from 3256be6537751f65c76b3ecfbb4e667f87525a2f before 3a79f9568de08657fcdbc41d6fc4c0ca145a7a2b; from 3256be6537751f65c76b3ecfbb4e667f87525a2f before 7140d7aaf93da6a665b454f91bb4dc6b1de218bd; from 3256be6537751f65c76b3ecfbb4e667f87525a2f before 455d99bd6baf19688048b6d42d9fa74eae27f93b; from 3256be6537751f65c76b3ecfbb4e667f87525a2f before 9a5523f72bd2b0d66eef3d58810c6eb7b5ffc143; 4.1 (not affected: before 4.1; from 4.9.334 up to 4.9.*; from 4.14.300 up to 4.14.*; from 4.19.267 up to 4.19.*; from 5.4.225 up to 5.4.*; from 5.10.155 up to 5.10.*; from 5.15.79 up to 5.15.*; from 6.0.9 up to 6.0.*; from 6.1 up to *)
- linux 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; from 5.16 before 6.0.9; 6.1

## References

- <https://git.kernel.org/stable/c/b688a3ec235222d9a84e43a48a6f31acb95baf2d> (patch)
- <https://git.kernel.org/stable/c/bb0ac8d5e541224f599bc8e8f31a313faa4bf7b7> (patch)
- <https://git.kernel.org/stable/c/90b7d055e2b5f39429f9a9e3815b48a48530ef28> (patch)
- <https://git.kernel.org/stable/c/02dea987ec1cac712c78e75d224ceb9bb73519ed> (patch)
- <https://git.kernel.org/stable/c/3a79f9568de08657fcdbc41d6fc4c0ca145a7a2b> (patch)
- <https://git.kernel.org/stable/c/7140d7aaf93da6a665b454f91bb4dc6b1de218bd> (patch)
- <https://git.kernel.org/stable/c/455d99bd6baf19688048b6d42d9fa74eae27f93b> (patch)
- <https://git.kernel.org/stable/c/9a5523f72bd2b0d66eef3d58810c6eb7b5ffc143> (patch)

## Sources

- CVE List: [CVE-2022-49835](https://www.cve.org/CVERecord?id=CVE-2022-49835), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2022-49835](https://nvd.nist.gov/vuln/detail/CVE-2022-49835), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2022-49835 · Whole record: https://cve.day/CVE-2022-49835.json · Rebuilt by cve.day 2026-11-25T22:58:20.892Z
