CVE-2022-50698
kernel: ASoC: da7219: Fix an error handling path in da7219_register_dai_clks()
Severity
LowRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · December 24, 2025
Updated · June 30, 2026
Description
A flaw was found in the Linux kernel's ASoC da7219 audio codec driver. An error handling path in da7219_register_dai_clks() incorrectly attempts to unregister a clock that was never successfully registered. This could lead to incorrect resource cleanup during driver probe failure, potentially causing system instability.
Statement
This is an error handling path bug that only manifests during driver probe failures for the da7219 audio codec. The issue requires specific hardware (Dialog Semiconductor DA7219) and a failure condition during clock registration. Normal operation is unaffected, and the practical exploit scenario is very limited.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 3.3CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
CWE not specified