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 CED621D2F50 for ; Tue, 19 Nov 2024 17:24:15 +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=1732037055; cv=none; b=oy3CXlI/sLlVreSJ1L75bzrW94xnD4mE6EyJxb6gZxTiYLXVnoMOEWJNrPXnopdGq4EUdQygw1W6C39CXy9i/Krw4UCli0zdRzIi7DQZ16yNzU7Dn/8mYIu+irRYODxYkovH4TkekzDzDz5XyFAoXBnJ49IdZpVTehs0DGU6rGg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732037055; c=relaxed/simple; bh=WyfTLsEXew29hA0r0/LjZL50c0qFgX3/BYCISDsehB8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=YIU2DU7sytzyPWkigjKyKqowHbC6gTfj5es9idPEwFk5yZ5h1jx2OiwPYNTJ+UlaYoApf4KQaUI1EnHpicHl461t1XLt84+cNu3w761XS2O0FC3djRSycdFv4Fye7byqLkK7PoirfWay2iD+HzN+h7j7Gj6LR6RkYMFZcy7CIKM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=TLAzC8Ux; 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="TLAzC8Ux" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8E23FC4CECF; Tue, 19 Nov 2024 17:24:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1732037055; bh=WyfTLsEXew29hA0r0/LjZL50c0qFgX3/BYCISDsehB8=; h=From:To:Cc:Subject:Date:Reply-to:From; b=TLAzC8Uxjqk/65igS2CtRvW2oT8Ua9qyBGOa4tgndJ96l0qXuSnJSVCYG4mAS0Ecd oL/RXWi4uKOmqYhgMG5m5XYvF46Ut0HLFseftk51+AqjktLSgYcp3ujxXrBDntsZ7u Tp6rXITGdvup+FbJ4Jw3oI2henJPvc3tWvJesBmQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-53069: firmware: qcom: scm: fix a NULL-pointer dereference Date: Tue, 19 Nov 2024 18:22:40 +0100 Message-ID: <2024111933-CVE-2024-53069-2786@gregkh> X-Mailer: git-send-email 2.47.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=1849; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=WyfTLsEXew29hA0r0/LjZL50c0qFgX3/BYCISDsehB8=; b=owGbwMvMwCRo6H6F97bub03G02pJDOk2JyPtUhjClUx+/VTa0Or9h332nsdLpGonXXrwlvWn2 ELPOa5FHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjARhu8M8ywzphxvm/Ba48NN trbwiCzpZbpXdRjme6clbbyWl9T1vP9tYPAx2enZWUv0AQ== 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: firmware: qcom: scm: fix a NULL-pointer dereference Some SCM calls can be invoked with __scm being NULL (the driver may not have been and will not be probed as there's no SCM entry in device-tree). Make sure we don't dereference a NULL pointer. The Linux kernel CVE team has assigned CVE-2024-53069 to this issue. Affected and fixed versions =========================== Issue introduced in 6.11 with commit 449d0d84bcd8 and fixed in 6.11.8 with commit 3d36e2b1d803 Issue introduced in 6.11 with commit 449d0d84bcd8 and fixed in 6.12 with commit ca61d6836e6f 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-53069 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/firmware/qcom/qcom_scm.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/3d36e2b1d803f0d1cc674115d295a8f20ddb9268 https://git.kernel.org/stable/c/ca61d6836e6f4442a77762e1074d2706a2a6e578