CVE-2022-50698 Details
Description
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.
An error handling vulnerability has been identified in the Linux kernel's ASoC DA7219 codec driver. The issue arises in the 'da7219_register_dai_clks' function, where the 'clk_hw_register' function's failure is not properly managed. Specifically, if 'clk_hw_register' fails, the corresponding clock should not be unregistered. To address this, the error handling has been revised to include a clock unregistration step and to use a 'while' loop for cleaning up partial iterations before exiting the function. This vulnerability affects the Linux kernel stable tree.
The vulnerability has been addressed in the Linux kernel. Users can upgrade to the latest version of the stable kernel to apply the fix.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Dec 24, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/4993c1511d66326f1037bc5156b024a6a96d23ef | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/abb4e4349afe7eecdb0499582f1c777031e3a7c8 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/cefce8bee0e988f9a005fe40705b98a25cfb7f9d | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/ec692f0b51006de1138cd1f82cae625f0d2888d1 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/f5f1f5ee5048cfa7bd07f496b33bd2cfc198a176 | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
| ASoC da7219 | All versions |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 24, 2025 | New CVE Received | kernel.org |
Volerion