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 4E16028D8D9 for ; Tue, 30 Dec 2025 12:10:40 +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=1767096640; cv=none; b=ng2gUTto/hst6EsCNtphqbbCfmtWcQC+V74a9Tbtw51B7Xh0y9dqflJei/PuhY+bG7+a44xCVWajlKnZXuXzKmP0W7WHhSp/jOhZ4vXpVaBFpsiV0EX2j9drF1TV6T0oF5x3o8ZmYspYvUc+mwipWFSt1QiEhqyaCY0bgS8Q3U8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767096640; c=relaxed/simple; bh=BgOZnp2qT7QPHuE1/hrWV+KIYCgCuidKCYZa1mj301U=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=SaKooXiHBPkowHbUm/ygY2wzhk80O848koqGlILT00LFaWOqFiWQx7C6TrP7uBRkcDOtk+1U1wRPRkBfqqP1pbGyM1FIJlEjBAnazglO+MVrxs2f/MSCLofEyGok8jDBPvXxHk/z4EB+d55RtoS5jl0tqNZl/ckPKOab8UWYd7M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=CiD6blaE; 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="CiD6blaE" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CDE7AC4CEFB; Tue, 30 Dec 2025 12:10:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1767096640; bh=BgOZnp2qT7QPHuE1/hrWV+KIYCgCuidKCYZa1mj301U=; h=From:To:Cc:Subject:Date:Reply-To:From; b=CiD6blaEmi5meZXYTfS6HDzZelwM7l44DlZPMLD0IXhT/Xkz3v42TkEb8P1GhSvVb LM+vZw17dj+ZNhNI2hifoEBW/kYa9AIbAv/FZak4DjmHruDC0ysKdV4RD8NY0Fkp4y EjMLohizo9KdG+1939cXhS3EOtjVByySmh5FmWV0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50813: drivers: mcb: fix resource leak in mcb_probe() Date: Tue, 30 Dec 2025 13:09:17 +0100 Message-ID: <2025123013-CVE-2022-50813-7c39@gregkh> X-Mailer: git-send-email 2.52.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3441; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=HCdCAls9gdbsBdELVlBQ9jz520LK64YZpcXqh6FrxDI=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnBB14JF2z6/t9pi8G5XP+sHtll4k15yaF3Lpcdj5N4E ibV0ryrI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACZyTJlhfs2OlB+3tcUvbhFo 0jnxx+9tQP+jqQzzXfetM0o1kzN4cNOu067AcMKPp/fmAwA= 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: drivers: mcb: fix resource leak in mcb_probe() When probe hook function failed in mcb_probe(), it doesn't put the device. Compiled test only. The Linux kernel CVE team has assigned CVE-2022-50813 to this issue. Affected and fixed versions =========================== Issue introduced in 4.7 with commit 7bc364097a89a0a9a5e5e4989d6b3e6fb2027a9e and fixed in 4.9.337 with commit 531ac7b911a962b3b29565dad6ea6b5c3fad3317 Issue introduced in 4.7 with commit 7bc364097a89a0a9a5e5e4989d6b3e6fb2027a9e and fixed in 4.14.303 with commit 6f3467aa5712e6b5550e75a16454b3f17aa1f380 Issue introduced in 4.7 with commit 7bc364097a89a0a9a5e5e4989d6b3e6fb2027a9e and fixed in 4.19.270 with commit e420ca85bf42a684ea729c505c07de6709500ed2 Issue introduced in 4.7 with commit 7bc364097a89a0a9a5e5e4989d6b3e6fb2027a9e and fixed in 5.4.229 with commit 68e54d9ee8222d7805a0b9d3e1c37b8cf3be536a Issue introduced in 4.7 with commit 7bc364097a89a0a9a5e5e4989d6b3e6fb2027a9e and fixed in 5.10.163 with commit 0d1c2c8db28919c4351000d7c1692f1767bdc4f7 Issue introduced in 4.7 with commit 7bc364097a89a0a9a5e5e4989d6b3e6fb2027a9e and fixed in 5.15.86 with commit f3686e5e8de0a03c8e70e3ee0ce3078fed612909 Issue introduced in 4.7 with commit 7bc364097a89a0a9a5e5e4989d6b3e6fb2027a9e and fixed in 6.0.16 with commit 0a23dda78946f604ff752fe223c3c1f4fa6dd7b4 Issue introduced in 4.7 with commit 7bc364097a89a0a9a5e5e4989d6b3e6fb2027a9e and fixed in 6.1.2 with commit 0468a585710bbb807a1b9c31df54bcf564d28b2b Issue introduced in 4.7 with commit 7bc364097a89a0a9a5e5e4989d6b3e6fb2027a9e and fixed in 6.2 with commit d7237462561fcd224fa687c56ccb68629f50fc0d 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-50813 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/mcb/mcb-core.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/531ac7b911a962b3b29565dad6ea6b5c3fad3317 https://git.kernel.org/stable/c/6f3467aa5712e6b5550e75a16454b3f17aa1f380 https://git.kernel.org/stable/c/e420ca85bf42a684ea729c505c07de6709500ed2 https://git.kernel.org/stable/c/68e54d9ee8222d7805a0b9d3e1c37b8cf3be536a https://git.kernel.org/stable/c/0d1c2c8db28919c4351000d7c1692f1767bdc4f7 https://git.kernel.org/stable/c/f3686e5e8de0a03c8e70e3ee0ce3078fed612909 https://git.kernel.org/stable/c/0a23dda78946f604ff752fe223c3c1f4fa6dd7b4 https://git.kernel.org/stable/c/0468a585710bbb807a1b9c31df54bcf564d28b2b https://git.kernel.org/stable/c/d7237462561fcd224fa687c56ccb68629f50fc0d