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 06693145B27 for ; Mon, 29 Jul 2024 13:34:41 +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=1722260082; cv=none; b=K18NxBC+dc0s5ONxeWxB1WxbK4MqDyh8CWH+qpBGEDB08MxddMLgyj3FO6sS5UQF7e4eBMHBvwX7QqBK1EJwMbGoqm7ELMsqss2oKdeJPNtU4CkogVMeu0fW5+3iOatgi97uJj08Z+amZ3klH3Z58EXb3vbEbKBCl1WlmwaNoRE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722260082; c=relaxed/simple; bh=op5ihCdUw9RdMDlungoVp2U4xoJdQfg27Cp9FXuQ+7w=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ID2UtQ+0ye7E4iPuPxIOoDKfobrG54eGmRXcA9jKjUkEPt7/pzxIQiTJIkRLubkqIA6UchR80Dgz/igSqiooJw2CL3gt7hr5z5hs6H3ZGu04CZnJUH3Xiq6JIz83BPEDAxFLdxxCmKwlT1pjnVwnb8/kB+IvcaJG1BnOxuhOVFs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=kVWJ1msc; 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="kVWJ1msc" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0ADC3C4AF10; Mon, 29 Jul 2024 13:34:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1722260081; bh=op5ihCdUw9RdMDlungoVp2U4xoJdQfg27Cp9FXuQ+7w=; h=From:To:Cc:Subject:Date:Reply-to:From; b=kVWJ1mscGD3K0njPwRexkUNFxyve1O3NEta49dAnKA4g0JDQetsHOuiMoe5nvyAO4 eN05Ug3JRCfF4Tv47AGaCa8xPWM+Z6BFf44wMHfTs7nTuuoLOSOeAFWlnHHycZSZHr x0cOjr5jupCj0x403yvFN/1CRHkFzdgjr9mzehmk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-41022: drm/amdgpu: Fix signedness bug in sdma_v4_0_process_trap_irq() Date: Mon, 29 Jul 2024 15:34:30 +0200 Message-ID: <2024072929-CVE-2024-41022-5696@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=2804; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=op5ihCdUw9RdMDlungoVp2U4xoJdQfg27Cp9FXuQ+7w=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnLZ6VGrO+9UqCuYqYhpGth4/52SosRS1eX8U6W51qXH +76pvuwI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACaieZFhQY9kRZXmL4WDB2fU s+epKUQ3JZ7YxjA/9enCGa/3X/sgsHnmi4M75W2TLt36DgA= 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 signedness bug in sdma_v4_0_process_trap_irq() The "instance" variable needs to be signed for the error handling to work. The Linux kernel CVE team has assigned CVE-2024-41022 to this issue. Affected and fixed versions =========================== Issue introduced in 5.4.278 with commit 5594971e0276 and fixed in 5.4.281 with commit 3dd9734878a9 Issue introduced in 5.10.219 with commit 8112fa72b7f1 and fixed in 5.10.223 with commit a5224e2123ce Issue introduced in 5.15.161 with commit ea906e9ac61e and fixed in 5.15.164 with commit 544fa213f15d Issue introduced in 6.1.94 with commit 011552f29f20 and fixed in 6.1.102 with commit e8dfbf83a82b Issue introduced in 6.6.34 with commit 5b0a3dc3e878 and fixed in 6.6.43 with commit 4edb0a84e6b3 Issue introduced in 6.9.5 with commit 0964c84b93db and fixed in 6.9.12 with commit d347c9a398bf Issue introduced in 6.10 with commit 8b2faf1a4f3b and fixed in 6.10.2 with commit 298e2ce222e7 Issue introduced in 6.10 with commit 8b2faf1a4f3b and fixed in 6.11-rc1 with commit 6769a23697f1 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-41022 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/amdgpu/sdma_v4_0.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/3dd9734878a9042f0358301d19a2b006a0fc4d06 https://git.kernel.org/stable/c/a5224e2123ce21102f346f518db80f004d5053a7 https://git.kernel.org/stable/c/544fa213f15d27f0370795845d55eeb3e00080d2 https://git.kernel.org/stable/c/e8dfbf83a82bbfb9680921719fbe65e535af59ea https://git.kernel.org/stable/c/4edb0a84e6b32e75dc9bd6dd085b2c2ff19ec287 https://git.kernel.org/stable/c/d347c9a398bf7eab9408d207c0a50fb720f9de7d https://git.kernel.org/stable/c/298e2ce222e712ffafa47288c5b2fcf33d72fda3 https://git.kernel.org/stable/c/6769a23697f17f9bf9365ca8ed62fe37e361a05a