В ядре Linux была устранена следующая уязвимость: ASoC: hdac_hda: Fix hlink refcount leak on component registration failure hdac_hda_dev_probe() получает ссылку HDA с snd_hdac_ext_bus_link_get() перед регистрацией компонента ASoC. Если регистрация компонента не удалась, функция возвращается, не опуская ссылку. Всегда вызывайте snd_hdac_ext_bus_link_put () после попытки регистрации, чтобы ссылка, взятая во время исследования, была сбалансирована как на успех, так и на неудачу.
Показать оригинальное описание (EN)
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.