← CVE Intelligence

CVE-2022-49477

ASoC: samsung: Fix refcount leak in aries_audio_probe PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected 7a3a7671fa6c7e90aff5f4242add2a40587b85ef before cacea459f95be22b3750f3b25b7a1c5897a68206; affected 7a3a7671fa6c7e90aff5f4242add2a40587b85ef before 85d899f396622d3034643bf89615a78f9be7c91a; affected 7a3a7671fa6c7e90aff5f4242add2a40587b85ef before 70130bde3457d28c02c76b6cacc5d40a72dd6e17; affected 7a3a7671fa6c7e90aff5f4242add2a40587b85ef before 46d1b310a2d571811c4e08041ce287babb60b86a; affected 7a3a7671fa6c7e90aff5f4242add2a40587b85ef before bf4a9b2467b775717d0e9034ad916888e19713a3
Linux / Linuxaffected 5.9; unaffected 0 before 5.9; unaffected 5.10.121 through 5.10.*; unaffected 5.15.46 through 5.15.*; unaffected 5.17.14 through 5.17.*; unaffected 5.18.3 through 5.18.*; unaffected 5.19 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.