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 4370516C866 for ; Tue, 25 Jun 2024 14:25: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=1719325540; cv=none; b=QtQliDrBV94QU7WT++HHXEC8dZchq7xlsLlTgzCHNER0ZFiJ9p8T2PXyTATnzxnQS+VrXyFP2A9rse9SofYYjUOkjXW5J164N/i+osRjHikCyVT15lm9pNZKxa8Auro8YHP0+Bm2IVs4otbojUTrRVJA3n6So7zAVRKf3IW3e6Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719325540; c=relaxed/simple; bh=/Yv+XnveUzoi2YHOzzur4/jxB0EsRFsWUA2rszW2Q7c=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=BcvJKy4pIDgcjeh0a+deH6r+Y7+yNZN4c14RsH/z5WlfblpxvtsveyXkZyBuanwrRTVNEDXlV6KBoBFzcacQ+gKmm893gp2JTLPI/R74Hf2aoYDazHd3QCTQZvB9WHT5O9nca/Q7INN/kfgDlrwZodV3sBfAPHarMceYPrRFY5g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=DpJ+jZ0n; 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="DpJ+jZ0n" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C07D0C4AF0B; Tue, 25 Jun 2024 14:25:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1719325540; bh=/Yv+XnveUzoi2YHOzzur4/jxB0EsRFsWUA2rszW2Q7c=; h=From:To:Cc:Subject:Date:Reply-to:From; b=DpJ+jZ0nl8bbsxydKjk0BnXtCfEq/OAGxAp1CSCJy8zriHa6YcqmsY3kDcYF5FC6A fRnDVbMHzkK8qmVyyWws0pCc2+NeEKY1PEad7EYe5G57yadj13VgJyntUbhP+8xUXu NR0mHWErdhX0cgmijllPEMqfhvdRUcb4sPMq85Yw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-39466: thermal/drivers/qcom/lmh: Check for SCM availability at probe Date: Tue, 25 Jun 2024 16:25:18 +0200 Message-ID: <2024062514-CVE-2024-39466-3da4@gregkh> X-Mailer: git-send-email 2.45.2 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=2349; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=/Yv+XnveUzoi2YHOzzur4/jxB0EsRFsWUA2rszW2Q7c=; b=owGbwMvMwCRo6H6F97bub03G02pJDGlVl70+tnXxnLastn175Xwtl/ikrzmXPq8NvSv4lDO2j S3wzJMrHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCR3zoM89SaffQapgrwX7bL bv8acSPrDOPVnQwLZl2U3WG0QvCr67NpW6N6FLRfHjFzAQA= 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: thermal/drivers/qcom/lmh: Check for SCM availability at probe Up until now, the necessary scm availability check has not been performed, leading to possible null pointer dereferences (which did happen for me on RB1). Fix that. The Linux kernel CVE team has assigned CVE-2024-39466 to this issue. Affected and fixed versions =========================== Issue introduced in 5.15 with commit 53bca371cdf7 and fixed in 5.15.161 with commit 2226b145afa5 Issue introduced in 5.15 with commit 53bca371cdf7 and fixed in 6.1.94 with commit 560d69c97507 Issue introduced in 5.15 with commit 53bca371cdf7 and fixed in 6.6.34 with commit 0a47ba94ec3d Issue introduced in 5.15 with commit 53bca371cdf7 and fixed in 6.9.5 with commit aa1a0807b4a7 Issue introduced in 5.15 with commit 53bca371cdf7 and fixed in 6.10-rc1 with commit d9d3490c48df 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-39466 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/thermal/qcom/lmh.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/2226b145afa5e13cb60dbe77fb20fb0666a1caf3 https://git.kernel.org/stable/c/560d69c975072974c11434ca6953891e74c1a665 https://git.kernel.org/stable/c/0a47ba94ec3d8f782b33e3d970cfcb769b962464 https://git.kernel.org/stable/c/aa1a0807b4a76b44fb6b58a7e9087cd4b18ab41b https://git.kernel.org/stable/c/d9d3490c48df572edefc0b64655259eefdcbb9be