CVE-2022-49161

ASoC: mediatek: Fix error handling in mt8183_da7219_max98357_dev_probe

published February 26, 2025

CVSS
—
EPSS
0%
Percentile
12.1
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

ASoC: mediatek: Fix error handling in mt8183_da7219_max98357_dev_probe

The device_node pointer is returned by of_parse_phandle() with refcount

incremented. We should use of_node_put() on it when done.

This function only calls of_node_put() in the regular path.

And it will cause refcount leak in error paths.

Fix this by calling of_node_put() in error handling too.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00222 · 12.1th percentile
Published
2025-02-26T01:55Z
EPSS history
Timeline
  • 26 FEB 01:55Z
    ASoC: mediatek: Fix error handling in mt8183_da7219_max98357_dev_probe
    cvelistv5