Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B72FE285073 for ; Wed, 18 Jun 2025 11:02:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750244536; cv=none; b=UryPwZrkVaU5WTDmWBx7X57dV73lqOJXOTVQC4bVe8hhRn178F1rj1ebP+7qoeVJ0iVEtreGEASENDrZ9XJvBS02OP9BUzKDxJijfHZacdjpl3oU67ZSxpJS9o5BeJy9O7xwZeIUJQFTEHc9t6XLaBADGQgO4dXm+lzUl1EQUls= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750244536; c=relaxed/simple; bh=88gPHijIz9LIKs1N9WpqbdN/Pi4LZK13AZGemLTSD0g=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Mo/ljv6rK6YtypBQ2RLZhI8QE3JUf2fdWn9eUPteU/8KCI0c3W3fZY5LCqftnTVUynIPVs0nvgmK+SnMvp8E+hPHsDN1tiBVt6W+XdFUgOXVgNsuI3MG2F8qC0wRhRThR9aLdeFKSRej8aHJIJtcb+lq1I9SISqKF9gd7rMau7w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=YjfZ5VES; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="YjfZ5VES" Received: by smtp.kernel.org (Postfix) with ESMTPSA id EF72BC4CEE7; Wed, 18 Jun 2025 11:02:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1750244536; bh=88gPHijIz9LIKs1N9WpqbdN/Pi4LZK13AZGemLTSD0g=; h=From:To:Cc:Subject:Date:Reply-to:From; b=YjfZ5VESCdyRcqPkT2PYVs0GFaRqKroamgOfXD7IdXb1jZu+kYsHjQjAofDsZQqGi XcUPWywy1R1cSaYMgaQA0M3UlUyYFludHm3ywvE33S7rMNpPt0az11wnFHaWWwvsFR HZQkyaC0DHnVAx0yUw+m1uFvQrYOhyU6wreJrxsw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49953: iio: light: cm3605: Fix an error handling path in cm3605_probe() Date: Wed, 18 Jun 2025 13:00:18 +0200 Message-ID: <2025061811-CVE-2022-49953-caea@gregkh> X-Mailer: git-send-email 2.49.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=1919; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=4Qx+6x8gsC6oO85/i1dKa/2lhe9/hbLK6A88jhZ5oXU=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlBc6xtBf90vt2dnsRw1KaawbZ+6uRniR2tBQnX3txbp R7kutOwI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACaiys8wm6Vm06bz7ndfLorr ePx/86vDx+X7jRjm56ld+pcQ4q0YNFFdsIzHkpfnTqsJAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: iio: light: cm3605: Fix an error handling path in cm3605_probe() The commit in Fixes also introduced a new error handling path which should goto the existing error handling path. Otherwise some resources leak. The Linux kernel CVE team has assigned CVE-2022-49953 to this issue. Affected and fixed versions =========================== Issue introduced in 5.16 with commit 0d31d91e614505803a0788b92f9f1a83178d8a9a and fixed in 5.19.8 with commit 3f7f49d8135cfe137c81316af64678f4dca1b82b Issue introduced in 5.16 with commit 0d31d91e614505803a0788b92f9f1a83178d8a9a and fixed in 6.0 with commit 160905549e663019e26395ed9d66c24ee2cf5187 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-49953 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: drivers/iio/light/cm3605.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/3f7f49d8135cfe137c81316af64678f4dca1b82b https://git.kernel.org/stable/c/160905549e663019e26395ed9d66c24ee2cf5187