CVE-2022-49835
published 2025-05-01CVE-2022-49835: 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…
PriorityP417medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.19%
8.8th percentile
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
22 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 6.0.10-1 (bookworm) | linux 6.0.10-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= 3256be6537751f65c76b3ecfbb4e667f87525a2f < b688a3ec235222d9a84e43a48a6f31acb95baf2d | b688a3ec235222d9a84e43a48a6f31acb95baf2d |
| linux | linux | >= 3256be6537751f65c76b3ecfbb4e667f87525a2f < bb0ac8d5e541224f599bc8e8f31a313faa4bf7b7 | bb0ac8d5e541224f599bc8e8f31a313faa4bf7b7 |
| linux | linux | >= 3256be6537751f65c76b3ecfbb4e667f87525a2f < 90b7d055e2b5f39429f9a9e3815b48a48530ef28 | 90b7d055e2b5f39429f9a9e3815b48a48530ef28 |
| linux | linux | >= 3256be6537751f65c76b3ecfbb4e667f87525a2f < 02dea987ec1cac712c78e75d224ceb9bb73519ed | 02dea987ec1cac712c78e75d224ceb9bb73519ed |
| linux | linux | >= 3256be6537751f65c76b3ecfbb4e667f87525a2f < 3a79f9568de08657fcdbc41d6fc4c0ca145a7a2b | 3a79f9568de08657fcdbc41d6fc4c0ca145a7a2b |
| linux | linux | >= 3256be6537751f65c76b3ecfbb4e667f87525a2f < 7140d7aaf93da6a665b454f91bb4dc6b1de218bd | 7140d7aaf93da6a665b454f91bb4dc6b1de218bd |
| linux | linux | >= 3256be6537751f65c76b3ecfbb4e667f87525a2f < 455d99bd6baf19688048b6d42d9fa74eae27f93b | 455d99bd6baf19688048b6d42d9fa74eae27f93b |
| linux | linux | >= 3256be6537751f65c76b3ecfbb4e667f87525a2f < 9a5523f72bd2b0d66eef3d58810c6eb7b5ffc143 | 9a5523f72bd2b0d66eef3d58810c6eb7b5ffc143 |
| linux | linux_kernel | < 4.9.334 | 4.9.334 |
| linux | linux_kernel | — | — |
| linux | linux_kernel | >= 0 < 5.10.158-1 | 5.10.158-1 |
| linux | linux_kernel | >= 0 < 6.0.10-1 | 6.0.10-1 |
| linux | linux_kernel | >= 0 < 6.0.10-1 | 6.0.10-1 |
| linux | linux_kernel | >= 0 < 6.0.10-1 | 6.0.10-1 |
| linux | linux_kernel | >= 4.10 < 4.14.300 | 4.14.300 |
| linux | linux_kernel | >= 4.15 < 4.19.267 | 4.19.267 |
| linux | linux_kernel | >= 4.20 < 5.4.225 | 5.4.225 |
| linux | linux_kernel | >= 5.11 < 5.15.79 | 5.15.79 |
| linux | linux_kernel | >= 5.16 < 6.0.9 | 6.0.9 |
| linux | linux_kernel | >= 5.5 < 5.10.155 | 5.10.155 |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-vv75-456q-6j78: In the Linux kernel, the following vulnerability has been resolved:
ALSA: hda: fix potential memleak in 'add_widget_node'
As 'kobject_add' may alloc
ghsa_unreviewed·2025-05-01
CVE-2022-49835 [MEDIUM] CWE-401 GHSA-vv75-456q-6j78: In the Linux kernel, the following vulnerability has been resolved:
ALSA: hda: fix potential memleak in 'add_widget_node'
As 'kobject_add' may alloc
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.
OSV
CVE-2022-49835: In the Linux kernel, the following vulnerability has been resolved: ALSA: hda: fix potential memleak in 'add_widget_node' As 'kobject_add' may allocat
osv·2025-05-01·CVSS 5.5
CVE-2022-49835 [MEDIUM] CVE-2022-49835: In the Linux kernel, the following vulnerability has been resolved: ALSA: hda: fix potential memleak in 'add_widget_node' As 'kobject_add' may allocat
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.
Red Hat
kernel: ALSA: hda: fix potential memleak in 'add_widget_node'
vendor_redhat·2025-05-01·CVSS 5.5
CVE-2022-49835 [MEDIUM] kernel: ALSA: hda: fix potential memleak in 'add_widget_node'
kernel: ALSA: hda: fix potential memleak in 'add_widget_node'
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.
Statement: The vulnerability in add_widget_node() arises from a missing kobject_put() call when kobject_add() fails. This can result in a memory leak, as dynamically allocated memory for the kobject’s name may not be released. While the issue does not lead to privilege escalation or memory corruption, it could result in resource exhaustion over time if triggered repeatedly.
Package: kernel (Red Hat Enterprise Linux
Debian
CVE-2022-49835: linux - In the Linux kernel, the following vulnerability has been resolved: ALSA: hda: ...
vendor_debian·2022·CVSS 5.5
CVE-2022-49835 [MEDIUM] CVE-2022-49835: linux - In the Linux kernel, the following vulnerability has been resolved: ALSA: hda: ...
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.
Scope: local
bookworm: resolved (fixed in 6.0.10-1)
bullseye: resolved (fixed in 5.10.158-1)
forky: resolved (fixed in 6.0.10-1)
sid: resolved (fixed in 6.0.10-1)
trixie: resolved (fixed in 6.0.10-1)
No detection rules found.
No public exploits indexed.
https://git.kernel.org/stable/c/02dea987ec1cac712c78e75d224ceb9bb73519edhttps://git.kernel.org/stable/c/3a79f9568de08657fcdbc41d6fc4c0ca145a7a2bhttps://git.kernel.org/stable/c/455d99bd6baf19688048b6d42d9fa74eae27f93bhttps://git.kernel.org/stable/c/7140d7aaf93da6a665b454f91bb4dc6b1de218bdhttps://git.kernel.org/stable/c/90b7d055e2b5f39429f9a9e3815b48a48530ef28https://git.kernel.org/stable/c/9a5523f72bd2b0d66eef3d58810c6eb7b5ffc143https://git.kernel.org/stable/c/b688a3ec235222d9a84e43a48a6f31acb95baf2dhttps://git.kernel.org/stable/c/bb0ac8d5e541224f599bc8e8f31a313faa4bf7b7
2025-05-01
Published