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 755AA39852 for ; Sun, 19 May 2024 10:12:42 +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=1716113562; cv=none; b=gJ8b85YW0S9DZ1CF2d5oTts4VlY7XlimygLmTAOjBX1RLpHUw18Ds/1m8CT9VZQcZvodWr1C2DTYHJRrNFCFxGDGRPKaOpFWpi6y0WF8p//YFNVbhbsbsd3Ryf5tL2GiLGcg896e0AfOMvpRwroKVvUY/woUH4Ni83TRpf3xs2g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716113562; c=relaxed/simple; bh=tKH/sAZBvPqEkpIbLYs7dGBvV3SApj/RE7Lv8ZNCFXw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Xxhg675YzolzYHD6wirUk5ubppIYi/ibWLgboOuahS7UxCM4TUrE7LmuuqhlYd/gu5027H+aXdNa368n7l9VZqEKPTSRObvE+E2uM4ya8XoWR7PY50/VFHYC+Y8DuKCrNtAKSc44n84oetl6UCecJe3riMhksi0CQbSut7/YB0w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=y4AwghVp; 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="y4AwghVp" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9A70EC32781; Sun, 19 May 2024 10:12:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1716113562; bh=tKH/sAZBvPqEkpIbLYs7dGBvV3SApj/RE7Lv8ZNCFXw=; h=From:To:Cc:Subject:Date:Reply-to:From; b=y4AwghVp5ZFSFfgg8CsiXCbhJaTx4JqNvOc7Dds2SPT8zYQ8eyA6zzjEzPiWdQbdo 5Uw0NUpecDrF5Zkfj8gJ+thwZgA1po0IkpWe2gDmcxiz6djWnxnKdBrieLUx+zcZxw meHIO7++yp4Uhoy4Q20LT1yrQH5G4CXCtwqrlMNI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-35943: pmdomain: ti: Add a null pointer check to the omap_prm_domain_init Date: Sun, 19 May 2024 12:11:37 +0200 Message-ID: <2024051920-CVE-2024-35943-93a9@gregkh> X-Mailer: git-send-email 2.45.1 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=1847; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=tKH/sAZBvPqEkpIbLYs7dGBvV3SApj/RE7Lv8ZNCFXw=; b=owGbwMvMwCRo6H6F97bub03G02pJDGmeFzwc26/dmSyZu3oF+4s9+o/mxrC0tz3M1bmTeVVZx JL5+yqdjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhI+xyG+Z4PpExslJmv8B+4 nrnaW+5Y+wXXTQzzi3YzM5/jr75YXv1gJ7ujuJXVfNtwAA== 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: pmdomain: ti: Add a null pointer check to the omap_prm_domain_init devm_kasprintf() returns a pointer to dynamically allocated memory which can be NULL upon failure. Ensure the allocation was successful by checking the pointer validity. The Linux kernel CVE team has assigned CVE-2024-35943 to this issue. Affected and fixed versions =========================== Fixed in 6.6.27 with commit ce666cecc09c Fixed in 6.8.6 with commit 04f23510daa4 Fixed in 6.9 with commit 5d7f58ee0843 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-35943 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/pmdomain/ti/omap_prm.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/ce666cecc09c0f92d5f86d89d8068ecfcf723a7e https://git.kernel.org/stable/c/04f23510daa40f9010fadf309507564a34ad956f https://git.kernel.org/stable/c/5d7f58ee08434a33340f75ac7ac5071eea9673b3