CVE-2022-50698
Error Handling Flaw in Linux ASoC da7219 clk Registration
Publication date: 2025-12-24
Last updated on: 2025-12-24
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
What immediate steps should I take to mitigate this vulnerability?
Apply the patch or update to the Linux kernel version that includes the fix for the da7219_register_dai_clks() error handling path. This involves ensuring that the clk_hw_unregister() is properly called on failure to prevent improper clock unregistration. Since this is a kernel-level fix, updating the kernel to the fixed version is the recommended mitigation.
Can you explain this vulnerability to me?
This vulnerability is related to the Linux kernel's ASoC da7219 driver. Specifically, it involves an error handling issue in the function da7219_register_dai_clks(). If the function clk_hw_register() fails, the code incorrectly attempts to unregister the corresponding clock, which should not happen. The fix involves properly cleaning up partial iterations in error loops and correctly unregistering clocks using a while loop to avoid improper handling.
How can this vulnerability impact me? :
If this vulnerability is exploited or triggered, it could lead to improper error handling in the Linux kernel's audio subsystem, potentially causing instability or crashes related to clock registration in the da7219 driver. This could affect system reliability or audio functionality on affected devices.