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 5B838149E09 for ; Mon, 29 Jul 2024 14:58:26 +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=1722265106; cv=none; b=X/j/Szw0wq8eFMniRi66oLhnWLECBa8+/v1PSPqYqkCKbAT4jIxL9dtC19QueI4R8k8cWjXpVK4QzEwrpbUZ7Lp66DwIEdZNSImSyZgMv63IT+72Z0MKwGqbQBTZo/DNQmJ3CKYzLvfoPfIxRSPf70obIRFJmI1eakXxL2cnS/A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722265106; c=relaxed/simple; bh=JSwS5Xmu3bsz7A/Yv8//a02ZHfbHdO15VqezfqGRBmY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=tv5/ouClGCsy/Zj38nb+2aMgPQS4Es+OiqYnc1SE6fQtM9A4IuILLrlP02BkFrOG5ovaRCw4EpVXk5sUsjXi1dJUxWQ8OmNPzBZWAAvfnnm/25NHJNgj5E+ompjjHKwvPcZBXAW8K4F2CRbQ5MEa3RGVCzy43bxFUWVTVXuXggw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=wQoVU7XR; 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="wQoVU7XR" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BE6BEC32786; Mon, 29 Jul 2024 14:58:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1722265106; bh=JSwS5Xmu3bsz7A/Yv8//a02ZHfbHdO15VqezfqGRBmY=; h=From:To:Cc:Subject:Date:Reply-to:From; b=wQoVU7XRlNlLbBwA3GN+73CimKYmBVEZlnMBbSpz/ndKt0PPlKe2ooqsjzlOkd/9r Q2HziO62NQy4thz+58CLB9wdq8E4dcZSXLVgUNBwD43Xmjqcbupy60n06QTXpUvXx+ 7xu7kJ70AaqRfKIGHk53D9TYasFuHWTrToS9nmgI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-41060: drm/radeon: check bo_va->bo is non-NULL before using it Date: Mon, 29 Jul 2024 16:58:06 +0200 Message-ID: <2024072905-CVE-2024-41060-b7de@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=2016; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=JSwS5Xmu3bsz7A/Yv8//a02ZHfbHdO15VqezfqGRBmY=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnL1/49rBShebDdUjtZ3nr7yqDZSzjP+866GGNkHDxh2 u8l71mtO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAizFIMC1Ya8j094KX/eP2a wwULzdduuHB8dTXD/Izw3Z5l543VFyj8nxhx5zfLjGOCswE= 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: check bo_va->bo is non-NULL before using it The call to radeon_vm_clear_freed might clear bo_va->bo, so we have to check it before dereferencing it. The Linux kernel CVE team has assigned CVE-2024-41060 to this issue. Affected and fixed versions =========================== Fixed in 5.15.164 with commit a2b201f83971 Fixed in 6.1.101 with commit a9100f17428c Fixed in 6.6.42 with commit f13c96e0e325 Fixed in 6.9.11 with commit 8a500b3a5f0a Fixed in 6.10 with commit 6fb15dcbcf4f 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-41060 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/radeon_gem.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/a2b201f83971df03c8e81a480b2f2846ae8ce1a3 https://git.kernel.org/stable/c/a9100f17428cb733c4f6fbb132d98bed76318342 https://git.kernel.org/stable/c/f13c96e0e325a057c03f8a47734adb360e112efe https://git.kernel.org/stable/c/8a500b3a5f0a58c6f99039091fbd715f64f2f8af https://git.kernel.org/stable/c/6fb15dcbcf4f212930350eaee174bb60ed40a536