← CVE Intelligence

CVE-2022-50113

ASoc: audio-graph-card2: Fix refcount leak bug in __graph_get_type() PUBLISHED

Description (CNA)

In the Linux kernel, the following vulnerability has been resolved: ASoc: audio-graph-card2: Fix refcount leak bug in __graph_get_type() We should call of_node_put() for the reference before its replacement as it returned by of_get_parent() which has increased the refcount. Besides, we should also call of_node_put() before return.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected c8c74939f791ccbbfff988aec5f929374dbef2a6 before 3bb0c0b5f0f866fc3785380e0860dc37ceacf342; affected c8c74939f791ccbbfff988aec5f929374dbef2a6 before 7a63a8c253bf57dfd9fa3ee2a7f1a3727505f947; affected c8c74939f791ccbbfff988aec5f929374dbef2a6 before eda26893dabfc6da7a1e1ff5f8628ed9faab3ab9
Linux / Linuxaffected 5.16; unaffected 0 before 5.16; unaffected 5.18.18 through 5.18.*; unaffected 5.19.2 through 5.19.*; unaffected 6.0 through *

CWE

No CWE identifiers supplied.

References