Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: ASoC: hdac_hda: Fix hlink refcount leak on component registration failure hdac_hda_dev_probe() gets the HDA link with snd_hdac_ext_bus_link_get() before registering the ASoC component. If component registration fails, the function returns without dropping the link reference. Always call snd_hdac_ext_bus_link_put() after the registration attempt so the reference taken during probe is balanced on both success and failure.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 6bae5ea9498926440ffc883f3dbceb0adc65e492 before 60b5824ae259ad15f7878e4e763ec31ba4db55f2; affected 6bae5ea9498926440ffc883f3dbceb0adc65e492 before 7eef9ae3b4ef782557526dd8ba0c206f028d8c2f; affected 6bae5ea9498926440ffc883f3dbceb0adc65e492 before e8ea01a0457080b0cc7c69c430c0ab65d84dc377; affected 6bae5ea9498926440ffc883f3dbceb0adc65e492 before cb6b0b1a9d5a61ef841739d42c6211094e9c8e2c; affected 6bae5ea9498926440ffc883f3dbceb0adc65e492 before 6ad4892c4f5cb437a928a02f5b7d37d496aa9268 |
| Linux / Linux | affected 4.20; unaffected 0 before 4.20; unaffected 6.6.160 through 6.6.*; unaffected 6.12.110 through 6.12.*; unaffected 6.18.51 through 6.18.*; unaffected 7.2.5 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/60b5824ae259ad15f7878e4e763ec31ba4db55f2
- https://git.kernel.org/stable/c/7eef9ae3b4ef782557526dd8ba0c206f028d8c2f
- https://git.kernel.org/stable/c/e8ea01a0457080b0cc7c69c430c0ab65d84dc377
- https://git.kernel.org/stable/c/cb6b0b1a9d5a61ef841739d42c6211094e9c8e2c
- https://git.kernel.org/stable/c/6ad4892c4f5cb437a928a02f5b7d37d496aa9268