{"id":"CVE-2022-50698","summary":"ASoC: da7219: Fix an error handling path in da7219_register_dai_clks()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: da7219: Fix an error handling path in da7219_register_dai_clks()\n\nIf clk_hw_register() fails, the corresponding clk should not be\nunregistered.\n\nTo handle errors from loops, clean up partial iterations before doing the\ngoto.  So add a clk_hw_unregister().\nThen use a while (--i \u003e= 0) loop in the unwind section.","modified":"2026-04-02T08:28:42.157160Z","published":"2025-12-24T10:55:14.740Z","related":["SUSE-SU-2026:0263-1","SUSE-SU-2026:0317-1","SUSE-SU-2026:0411-1","SUSE-SU-2026:0617-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50698.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/4993c1511d66326f1037bc5156b024a6a96d23ef"},{"type":"WEB","url":"https://git.kernel.org/stable/c/abb4e4349afe7eecdb0499582f1c777031e3a7c8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cefce8bee0e988f9a005fe40705b98a25cfb7f9d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ec692f0b51006de1138cd1f82cae625f0d2888d1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f5f1f5ee5048cfa7bd07f496b33bd2cfc198a176"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50698.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50698"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"78013a1cf2971684775f6956d5666237ac53a1aa"},{"fixed":"4993c1511d66326f1037bc5156b024a6a96d23ef"},{"fixed":"f5f1f5ee5048cfa7bd07f496b33bd2cfc198a176"},{"fixed":"ec692f0b51006de1138cd1f82cae625f0d2888d1"},{"fixed":"cefce8bee0e988f9a005fe40705b98a25cfb7f9d"},{"fixed":"abb4e4349afe7eecdb0499582f1c777031e3a7c8"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50698.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.10.0"},{"fixed":"5.10.150"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.75"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"5.19.17"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.20.0"},{"fixed":"6.0.3"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50698.json"}}],"schema_version":"1.7.5"}