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 AFA8F145FE4 for ; Sat, 17 Aug 2024 09:24:00 +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=1723886640; cv=none; b=AEr0l8ci6gfj1S+d4ifT+ZSOk1A+t+WDDsbqOL2FCLpJwRqo90wRJFxPoMuyxO1d26d50TLDBF71iFU7UdRIzVTDk+o9Yt/w2zbCSZBRBwz3Sy70lwxWBj2BMFEVYZ5LkhxeKBXqqPyby4MaYor1LOvX8uBt9CQZvC1HzePRzcc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723886640; c=relaxed/simple; bh=4c2X1mdPi+xjK3bENFhCZIpufsSy45AUt40wYNfbia8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=IBlk4Lozi3Qo0vmOeY7UQN8G0wSzsiCuHvtxGvnovHZSVLhI7CPqIKTrkw92/juPp2G3KJTT9/Femj6ww3w8rQdAkLiyQmmLB2xdeJK/aqZHy5C7PPxmtN7xdltXiIfKGAhNo00ilCLl6v779gwTNoOB7nb/04fuBNIXxkqWBJs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=AlaS07Kt; 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="AlaS07Kt" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1CDCEC116B1; Sat, 17 Aug 2024 09:23:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1723886640; bh=4c2X1mdPi+xjK3bENFhCZIpufsSy45AUt40wYNfbia8=; h=From:To:Cc:Subject:Date:Reply-to:From; b=AlaS07Ktu6hqXVQZ7I14VMLu2B/FolQofVcE0/mk7Dzl6DmYG5YWQYjcuR7INy4+C hn+M4nmBk2qwNHs+p1+3q0jmjtiAfblZUy0rCE9Qqk/eTIOlbNuy9dsE9NQHEEdhyq WI+jhgQ7aSXg86GQg1PGUV4aHidOoy1J0/S7BLa4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-43849: soc: qcom: pdr: protect locator_addr with the main mutex Date: Sat, 17 Aug 2024 11:22:53 +0200 Message-ID: <2024081732-CVE-2024-43849-fef0@gregkh> X-Mailer: git-send-email 2.46.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=2195; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=4c2X1mdPi+xjK3bENFhCZIpufsSy45AUt40wYNfbia8=; b=owGbwMvMwCRo6H6F97bub03G02pJDGkHsm8amQe+SWNQvJChWpTalNrw+Fq5ev2Rt2mRMpIH0 k4KzXvcEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABNZ584wV4p9rfYq5qf7VXK3 VvEpCwllh+xPZpjvrLNe72Br8yrxya9WZgi8cjw8z84DAA== 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: soc: qcom: pdr: protect locator_addr with the main mutex If the service locator server is restarted fast enough, the PDR can rewrite locator_addr fields concurrently. Protect them by placing modification of those fields under the main pdr->lock. The Linux kernel CVE team has assigned CVE-2024-43849 to this issue. Affected and fixed versions =========================== Issue introduced in 5.7 with commit fbe639b44a82 and fixed in 6.1.103 with commit 475a77fb3f0e Issue introduced in 5.7 with commit fbe639b44a82 and fixed in 6.6.44 with commit 3e815626d73e Issue introduced in 5.7 with commit fbe639b44a82 and fixed in 6.10.3 with commit 8543269567e2 Issue introduced in 5.7 with commit fbe639b44a82 and fixed in 6.11-rc1 with commit 107924c14e3d 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-2024-43849 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/soc/qcom/pdr_interface.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/475a77fb3f0e1d527f56c60b79f5879661df5b80 https://git.kernel.org/stable/c/3e815626d73e05152a8142f6e44aecc4133e6e08 https://git.kernel.org/stable/c/8543269567e2fb3d976a8255c5e348aed14f98bc https://git.kernel.org/stable/c/107924c14e3ddd85119ca43c26a4ee1056fa9b84