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 8422915B0F1 for ; Mon, 25 Mar 2024 09:08:34 +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=1711357714; cv=none; b=GgG45xiinPhyn4I42kvd0OrWM1U1yyQmfKVr6NN72MGRr78/+a4jPorOPM/mzsQim+6QhF39SX/ibTcVyWKf91yuGRWp5sOr9YylmHZhwpo17REV0r7/M4VGo51reyQ71g4YlzOTTRblzOYh/rKWYF7eA8riUMTOl+kKq/JmWb8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711357714; c=relaxed/simple; bh=PyvxHNdG3chAQZDrz/K9BBRASUxawE/tNC+0k9cMwCQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=UP8zSzisGvuyESk8mZnlFOp8c71BFrC6otwcQgSgZRRPYzfnCLUR7pO1qOoZptDJ2M2HgEbKb4RqcpvVkdyf4hHzLbv6vNudioQHF175vFicGcApEj1Vlwd1R8CDF9KdVWNiSXD384BR4FFa6g29inQQe3oU3Q35HZfeHhRP6mc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=P3QGhCfl; 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="P3QGhCfl" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C1F91C433F1; Mon, 25 Mar 2024 09:08:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1711357714; bh=PyvxHNdG3chAQZDrz/K9BBRASUxawE/tNC+0k9cMwCQ=; h=From:To:Cc:Subject:Date:Reply-to:From; b=P3QGhCflbPOQTlGf0W8+cHqIH7cr+3h60jBLcpgd0ZCud9VKHyTKXas+veTc7D8Yx H1N3/6AUGB/OhP6AllokpWl79xruO6BWr46gQB4rBYcTlKRmiY2Z+lIE6oJ9U+dn4L v5mgCcQDO30+8JCY6tRWNfmawf//xXT56N/WHoRU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2021-47151: interconnect: qcom: bcm-voter: add a missing of_node_put() Date: Mon, 25 Mar 2024 10:08:08 +0100 Message-ID: <2024032500-CVE-2021-47151-2551@gregkh> X-Mailer: git-send-email 2.44.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=1916; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=PyvxHNdG3chAQZDrz/K9BBRASUxawE/tNC+0k9cMwCQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDGmMdh9mbFA6NldF9cb0Nif3sto79x8e6jfJuzZvWY3uw 16fF7k3OmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAi05YyLNh1+a6kwvQvD9fm 1E6cYuzN63JpQxLDgsVn+vounTJ211fe3Wu77M3vIv8prAA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: interconnect: qcom: bcm-voter: add a missing of_node_put() Add a missing of_node_put() in of_bcm_voter_get() to avoid the reference leak. The Linux kernel CVE team has assigned CVE-2021-47151 to this issue. Affected and fixed versions =========================== Issue introduced in 5.7 with commit 976daac4a1c5 and fixed in 5.10.42 with commit 4e3cea8035b6 Issue introduced in 5.7 with commit 976daac4a1c5 and fixed in 5.12.9 with commit 93d1dbe7043b Issue introduced in 5.7 with commit 976daac4a1c5 and fixed in 5.13 with commit a00593737f8b 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-2021-47151 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/interconnect/qcom/bcm-voter.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/4e3cea8035b6f1b9055e69cc6ebf9fa4e50763ae https://git.kernel.org/stable/c/93d1dbe7043b3c9492bdf396b2e98a008435b55b https://git.kernel.org/stable/c/a00593737f8bac2c9e97b696e7ff84a4446653e8