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 5837316CD30 for ; Fri, 12 Jul 2024 12:38:11 +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=1720787891; cv=none; b=TozgGkl5mqr6fu5FwtliaizCEh33IEC3SMytMpu1XDGCl82w3WpYdsBPQAxfCa+Y14kBxDYwzolcjcV7nLgFPuF82TipOl0Ss9NvD7F30HEEl5xLhdbFaGZgfjUgZbGZTMQFa9xPqj8W1y9RnF1jkXuTbXN28qlQEpGdb49vAXE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720787891; c=relaxed/simple; bh=z8XPLbyqud9Q02QDdgyjYSVRxUTrmTttUDoTOBiOEDY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=He7nQTx0MLjbYo9b83gn8Ni8HbjVizu1soX4GzELfIAoQakEXTD7v1QPerMvXofKOe6Yz1V5kNk4O2XJIIY1i1PgEO8Nwg0iJV2yET/1rvvksDd1u0SXZgDjUxktQmAxd+Kidx9C0Ve60lHZQdx3ibXJjO5o0c2KHd/ObejuAPs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=1m4LjBiW; 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="1m4LjBiW" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CE083C32782; Fri, 12 Jul 2024 12:38:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1720787891; bh=z8XPLbyqud9Q02QDdgyjYSVRxUTrmTttUDoTOBiOEDY=; h=From:To:Cc:Subject:Date:Reply-to:From; b=1m4LjBiWrY4Rr1EgnydnKQaqsDeLzQvgb+lqVftAs1Ypr77qjgduklR49JEZ0LSrW dCtzYTV97G6h4E4DVnkq14+KWDcFqxA5JosBkobgcI5U1gnjr91kuRHkbvQK8yb3cA NGfpMP+1pBygDLnD7d02mtYQfR0qAB5VECaP0k+Y= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-40988: drm/radeon: fix UBSAN warning in kv_dpm.c Date: Fri, 12 Jul 2024 14:37:52 +0200 Message-ID: <2024071249-CVE-2024-40988-490e@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=2301; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=z8XPLbyqud9Q02QDdgyjYSVRxUTrmTttUDoTOBiOEDY=; b=owGbwMvMwCRo6H6F97bub03G02pJDGkTlede0eo5f3JLzwljdUWVy5uCHpyunmsw1+uf3WSxG U0+SdHrO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiOn8YZjEfOJQc0XVfNzF9 TdRDxzObBBfu3sIwV8bY/wO374GsJWfPHz5doaq2OWpGJAA= 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: drm/radeon: fix UBSAN warning in kv_dpm.c Adds bounds check for sumo_vid_mapping_entry. The Linux kernel CVE team has assigned CVE-2024-40988 to this issue. Affected and fixed versions =========================== Fixed in 4.19.317 with commit 07e8f15fa166 Fixed in 5.4.279 with commit a8c6df9fe5bc Fixed in 5.10.221 with commit febe794b8369 Fixed in 5.15.162 with commit cf1cc8fcfe51 Fixed in 6.1.96 with commit f803532bc382 Fixed in 6.6.36 with commit 9e57611182a8 Fixed in 6.9.7 with commit 468a50fd46a0 Fixed in 6.10-rc5 with commit a498df5421fd 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-40988 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/gpu/drm/radeon/sumo_dpm.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/07e8f15fa16695cf4c90e89854e59af4a760055b https://git.kernel.org/stable/c/a8c6df9fe5bc390645d1e96eff14ffe414951aad https://git.kernel.org/stable/c/febe794b83693257f21a23d2e03ea695a62449c8 https://git.kernel.org/stable/c/cf1cc8fcfe517e108794fb711f7faabfca0dc855 https://git.kernel.org/stable/c/f803532bc3825384100dfc58873e035d77248447 https://git.kernel.org/stable/c/9e57611182a817824a17b1c3dd300ee74a174b42 https://git.kernel.org/stable/c/468a50fd46a09bba7ba18a11054ae64b6479ecdc https://git.kernel.org/stable/c/a498df5421fd737d11bfd152428ba6b1c8538321