ASoC: hdac_hda: Fix hlink refcount leak on component registration failure
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 6bae5ea9498926440ffc883f3dbceb0adc65e492 · < 6ad4892c4f5cb437a928a02f5b7d37d496aa9268| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's hdac_hda probe leaks an HDA link reference if ASoC component registration fails. The input does not describe an attacker action or specify network access, authentication, or user-interaction requirements.
Engineers running Linux kernels with the ASoC hdac_hda component should check their kernel version; affected versions are not specified.