medium5.5
CVE-2022-49477
In the Linux kernel, the following vulnerability has been resolved: ASoC: samsung: Fix refcount leak in aries_audio_probe of_parse_phandle() returns a node poi…
Impact
In the Linux kernel, the following vulnerability has been resolved: ASoC: samsung: Fix refcount leak in aries_audio_probe of_parse_phandle() returns a node pointer with refcount incremented, we should use of_node_put() on it when done. If extcon_find_edev_by_node() fails, it doesn't call of_node_put() Calling of_node_put() after extcon_find_edev_by_node() to fix this.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Linux | Linux Kernel | from 5.9 before 5.10.121 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/46d1b310a2d571811c4e08041ce287babb60b86a
- https://git.kernel.org/stable/c/70130bde3457d28c02c76b6cacc5d40a72dd6e17
- https://git.kernel.org/stable/c/85d899f396622d3034643bf89615a78f9be7c91a
- https://git.kernel.org/stable/c/bf4a9b2467b775717d0e9034ad916888e19713a3
- https://git.kernel.org/stable/c/cacea459f95be22b3750f3b25b7a1c5897a68206