CVE-2022-50698

ASoC: da7219: Fix an error handling path in da7219_register_dai_clks()

published December 24, 2025

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

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

ASoC: da7219: Fix an error handling path in da7219_register_dai_clks()

If clk_hw_register() fails, the corresponding clk should not be

unregistered.

To handle errors from loops, clean up partial iterations before doing the

goto. So add a clk_hw_unregister().

Then use a while (--i >= 0) loop in the unwind section.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00200 · 9.4th percentile
Published
2025-12-24T10:55Z
EPSS history
Timeline
  • 24 DEC 10:55Z
    ASoC: da7219: Fix an error handling path in da7219_register_dai_clks()
    cvelistv5