CVEvulnerability
CVE-2022-49835
5.5 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2025-05-01
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- 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 configurations
• linux linux kernel (< 4.9.334)
• linux linux kernel (>= 4.10 < 4.14.300)
• linux linux kernel (>= 4.15 < 4.19.267)
• linux linux kernel (>= 4.20 < 5.4.225)
• linux linux kernel (>= 5.5 < 5.10.155)
• linux linux kernel (>= 5.11 < 5.15.79)
• linux linux kernel (>= 5.16 < 6.0.9)
• linux linux kernel 6.1
Related
Weakness · CWE (1)
- CWE-401 Missing Release of Memory after Effective Lifetime weakness
References
- https://git.kernel.org/stable/c/02dea987ec1cac712c78e75d224ceb9bb73519ed Patch
- https://git.kernel.org/stable/c/3a79f9568de08657fcdbc41d6fc4c0ca145a7a2b Patch
- https://git.kernel.org/stable/c/455d99bd6baf19688048b6d42d9fa74eae27f93b Patch
- https://git.kernel.org/stable/c/7140d7aaf93da6a665b454f91bb4dc6b1de218bd Patch
- https://git.kernel.org/stable/c/90b7d055e2b5f39429f9a9e3815b48a48530ef28 Patch
- https://git.kernel.org/stable/c/9a5523f72bd2b0d66eef3d58810c6eb7b5ffc143 Patch
- https://git.kernel.org/stable/c/b688a3ec235222d9a84e43a48a6f31acb95baf2d Patch
- https://git.kernel.org/stable/c/bb0ac8d5e541224f599bc8e8f31a313faa4bf7b7 Patch