lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025122417-CVE-2022-50698-0d67@gregkh>
Date: Wed, 24 Dec 2025 11:56:15 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2022-50698: ASoC: da7219: Fix an error handling path in da7219_register_dai_clks()

From: Greg Kroah-Hartman <gregkh@...nel.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.

The Linux kernel CVE team has assigned CVE-2022-50698 to this issue.


Affected and fixed versions
===========================

	Issue introduced in 5.10 with commit 78013a1cf2971684775f6956d5666237ac53a1aa and fixed in 5.10.150 with commit 4993c1511d66326f1037bc5156b024a6a96d23ef
	Issue introduced in 5.10 with commit 78013a1cf2971684775f6956d5666237ac53a1aa and fixed in 5.15.75 with commit f5f1f5ee5048cfa7bd07f496b33bd2cfc198a176
	Issue introduced in 5.10 with commit 78013a1cf2971684775f6956d5666237ac53a1aa and fixed in 5.19.17 with commit ec692f0b51006de1138cd1f82cae625f0d2888d1
	Issue introduced in 5.10 with commit 78013a1cf2971684775f6956d5666237ac53a1aa and fixed in 6.0.3 with commit cefce8bee0e988f9a005fe40705b98a25cfb7f9d
	Issue introduced in 5.10 with commit 78013a1cf2971684775f6956d5666237ac53a1aa and fixed in 6.1 with commit abb4e4349afe7eecdb0499582f1c777031e3a7c8

Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to
older supported kernel versions.  The official CVE entry at
	https://cve.org/CVERecord/?id=CVE-2022-50698
will be updated if fixes are backported, please check that for the most
up to date information about this issue.


Affected files
==============

The file(s) affected by this issue are:
	sound/soc/codecs/da7219.c


Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes.  Individual
changes are never tested alone, but rather are part of a larger kernel
release.  Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all.  If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
	https://git.kernel.org/stable/c/4993c1511d66326f1037bc5156b024a6a96d23ef
	https://git.kernel.org/stable/c/f5f1f5ee5048cfa7bd07f496b33bd2cfc198a176
	https://git.kernel.org/stable/c/ec692f0b51006de1138cd1f82cae625f0d2888d1
	https://git.kernel.org/stable/c/cefce8bee0e988f9a005fe40705b98a25cfb7f9d
	https://git.kernel.org/stable/c/abb4e4349afe7eecdb0499582f1c777031e3a7c8

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ