CVE-2022-50698

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

State
Published
Severity
Not scored
Published
Dec 24, 2025
Updated
May 11, 2026
Reserved
Dec 24, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 78013a1cf2971684775f6956d5666237ac53a1aa to before 4993c1511d66326f1037bc5156b024a6a96d23efAffected
  • 78013a1cf2971684775f6956d5666237ac53a1aa to before f5f1f5ee5048cfa7bd07f496b33bd2cfc198a176Affected
  • 78013a1cf2971684775f6956d5666237ac53a1aa to before ec692f0b51006de1138cd1f82cae625f0d2888d1Affected
  • 78013a1cf2971684775f6956d5666237ac53a1aa to before cefce8bee0e988f9a005fe40705b98a25cfb7f9dAffected
  • 78013a1cf2971684775f6956d5666237ac53a1aa to before abb4e4349afe7eecdb0499582f1c777031e3a7c8Affected
LinuxLinux
  • 5.10Affected
  • before 5.10Not affected
  • 5.10.150 through 5.10.*Not affected
  • 5.15.75 through 5.15.*Not affected
  • 5.19.17 through 5.19.*Not affected
  • 6.0.3 through 6.0.*Not affected
  • 6.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.