What’s Vulnerable › Vulnerabilities

CVE-2022-50392: ASoC: mediatek: mt8183: fix refcount leak in mt8183_mt6358_ts3a227_max98357_dev_probe()

Description

In the Linux kernel, the following vulnerability has been resolved: ASoC: mediatek: mt8183: fix refcount leak in mt8183_mt6358_ts3a227_max98357_dev_probe() The node returned by of_parse_phandle() with refcount incremented, of_node_put() needs be called when finish using it. So add it in the error path in mt8183_mt6358_ts3a227_max98357_dev_probe().

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.15.86, 6.0.16, 6.1.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-50392 or the next vulnerability affects your stack