Bug 2424979 (CVE-2022-50698) - CVE-2022-50698 kernel: ASoC: da7219: Fix an error handling path in da7219_register_dai_clks()
Summary: CVE-2022-50698 kernel: ASoC: da7219: Fix an error handling path in da7219_reg...
Keywords:
Status: NEW
Alias: CVE-2022-50698
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-12-24 12:05 UTC by OSIDB Bzimport
Modified: 2025-12-25 11:26 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-12-24 12:05:32 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.