medium5.5
CVE-2022-49480
In the Linux kernel, the following vulnerability has been resolved: ASoC: imx-hdmi: Fix refcount leak in imx_hdmi_probe of_find_device_by_node() takes referenc…
Impact
In the Linux kernel, the following vulnerability has been resolved: ASoC: imx-hdmi: Fix refcount leak in imx_hdmi_probe of_find_device_by_node() takes reference, we should use put_device() to release it. when devm_kzalloc() fails, it doesn't have a put_device(), it will cause refcount leak. Add missing put_device() to fix this.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Linux | Linux Kernel | from 5.11 before 5.15.46 from 5.16 before 5.17.14 from 5.18 before 5.18.3 |
References
- NVD record
- CVE.org record
- https://git.kernel.org/stable/c/81b7edaabd44ba133006ad72056914eb36828d60
- https://git.kernel.org/stable/c/8205a0114db10ec41bd2b748cdd7528632082eca
- https://git.kernel.org/stable/c/cf760e494ee5fa6bc2dc222f0098c741ad460801
- https://git.kernel.org/stable/c/ed46731d8e86c8d65f5fc717671e1f1f6c3146d2