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 AE45913E02C for ; Fri, 12 Jul 2024 12:38:08 +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=1720787888; cv=none; b=i1druYECbI9ZW8W4Khj0sr6Kc8N1BRPZ8DQpC+2uxtQD+V0OnKvvlBwT5t8vx9u4mc33thqC3L7wBbgRq1YidlTyLVrAgx7dCYvb576UcNeuwOcsW2GQHQQYgmkaDklDb1Jmyx4T7BOJSJu0Akg8WoCn5E1Nv/4Z0QzdoUyTyVg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720787888; c=relaxed/simple; bh=9AafF43g878U6F66s3feQA7GZvVclJn+LZTNoMxIshs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=gRUtvlu+wxa1Y6GbwKkDzQ3Csee19aVnB62+ksM38dfexpFFK66MpMV2MNP2UEz9LGIFfcuaAul6dyszA3+2lQmMbG3klyuxPliP8Krw2zIVkgJFM2hxX1haNgKyhJAi5Zi0FHoRwtkPvm+jfj3kUNu89EewADLhYiq2LgdeIC8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=vp0kUW6e; 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="vp0kUW6e" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E1511C32782; Fri, 12 Jul 2024 12:38:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1720787888; bh=9AafF43g878U6F66s3feQA7GZvVclJn+LZTNoMxIshs=; h=From:To:Cc:Subject:Date:Reply-to:From; b=vp0kUW6ek56G5z+sqx8dgrYbNEnOlKe0zD5EV9el+MBCA5ZBeH859YfwDulXR90x/ t9sQxYbpRRwofElwg/dMT+87AUxrRBRd3mzDJrcGLVWHxWfiQZ8pFCgra0kKcUZk1D tDYvNVs3yzPJ2ftrJ0zBq88aPe7BdYG/k/xgkMQU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-40987: drm/amdgpu: fix UBSAN warning in kv_dpm.c Date: Fri, 12 Jul 2024 14:37:51 +0200 Message-ID: <2024071248-CVE-2024-40987-a755@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=2310; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=9AafF43g878U6F66s3feQA7GZvVclJn+LZTNoMxIshs=; b=owGbwMvMwCRo6H6F97bub03G02pJDGkTledMFN0yLSy+tpN3gqt++7FzTN2T832/79SMsMndx n1ye4pWRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEykmIthvksOT0Rgtazc3F17 lt46M33BopM9ixnmJ2R9jVlYvqP5vN8L//SuNFuBibGKAA== 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/amdgpu: fix UBSAN warning in kv_dpm.c Adds bounds check for sumo_vid_mapping_entry. The Linux kernel CVE team has assigned CVE-2024-40987 to this issue. Affected and fixed versions =========================== Fixed in 4.19.317 with commit 4ad7d4905935 Fixed in 5.4.279 with commit 1c44f7759a56 Fixed in 5.10.221 with commit d8a04a6bfa75 Fixed in 5.15.162 with commit 4d020c1dbd2b Fixed in 6.1.96 with commit fc5cb952e672 Fixed in 6.6.36 with commit b065d79ed06a Fixed in 6.9.7 with commit b0d612619ed7 Fixed in 6.10-rc5 with commit f0d576f84015 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-40987 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/amd/pm/legacy-dpm/kv_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/4ad7d49059358ceadd352b4e2511425bdb68f400 https://git.kernel.org/stable/c/1c44f7759a5650acf8f13d3e0a184d09e03be9e4 https://git.kernel.org/stable/c/d8a04a6bfa75251ba7bcc3651ed211e82f13f388 https://git.kernel.org/stable/c/4d020c1dbd2b2304f44d003e6de956ae570049dc https://git.kernel.org/stable/c/fc5cb952e6723c5c55e47b8cf94a891bd4af1a86 https://git.kernel.org/stable/c/b065d79ed06a0bb4377bc6dcc2ff0cb1f55a798f https://git.kernel.org/stable/c/b0d612619ed70cab476c77b19e00d13aa414e14f https://git.kernel.org/stable/c/f0d576f840153392d04b2d52cf3adab8f62e8cb6