ASoC: hdac_hda: Fix hlink refcount leak on component registration failure
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.6.160, 6.12.110, 6.18.51, 7.2.5
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 6bae5ea9498926440ffc883f3dbceb0adc65e492 · fixed in 60b5824ae259ad15f7878e4e763ec31ba4db55f2; From 6bae5ea9498926440ffc883f3dbceb0adc65e492 · fixed in 7eef9ae3b4ef782557526dd8ba0c206f028d8c2f; From 6bae5ea9498926440ffc883f3dbceb0adc65e492 · fixed in e8ea01a0457080b0cc7c69c430c0ab65d84dc377; From 6bae5ea9498926440ffc883f3dbceb0adc65e492 · fixed in cb6b0b1a9d5a61ef841739d42c6211094e9c8e2c; From 6bae5ea9498926440ffc883f3dbceb0adc65e492 · fixed in 6ad4892c4f5cb437a928a02f5b7d37d496aa9268
- Linux Linux
4.20
- KernelLinux
From 4.20.0 · fixed in 6.6.160; From 6.7.0 · fixed in 6.12.110; From 6.13.0 · fixed in 6.18.51; From 6.19.0 · fixed in 7.2.5