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 8C7348004F for ; Mon, 29 Jul 2024 15:49: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=1722268182; cv=none; b=Qy7dP/8lpMpYTGIKpwy9C6U+4llXva92/xhK48aWX+lA5G39cEjUF4K8MWA99vL1UN9x3UaqsPpfjpcCcMi+vAeeePgU4XRq0Hm5XkpMtZexpJEkgFjL6Z1Wwdvs80g7d80pqVIeOy5zbr25r12P480aeGAxRzOx/BPjC9qfB3k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722268182; c=relaxed/simple; bh=hZOcK9oxGMEC+MJQy5pzYtlRhu5xIMiT2zfsP/D3lqA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=sDSaDlTvS0Gk31TggNO4umoYprdlYPtVeGGjUQaFVRrUCoe3VEQ1u39rnwvvHU4LDcSjgzWkFmSIxz16iQUT+Fx8sdPeGyOwtxksYXU0+LfmXDClnHmkCapVFC06lnpRWcEeETEerYY4ZknmhPbmG/NpLWFLEADNDxLVXM9xuC8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=v6mu9b5z; 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="v6mu9b5z" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B9D86C32786; Mon, 29 Jul 2024 15:49:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1722268182; bh=hZOcK9oxGMEC+MJQy5pzYtlRhu5xIMiT2zfsP/D3lqA=; h=From:To:Cc:Subject:Date:Reply-to:From; b=v6mu9b5zNe/t0kEHk2gSu6/1NZZm4tc0fmYGU713cuMdudot0n/+7WGPw9XQIc8Xl ebEJfJ11NV8dd0ejKAIvX15HOVyDm3iBZjVUtKcH0LDpIVnGLDiZ+Z0g6yVXifVBD+ dA8sGfcKQPan6GOdXjBVa5+gBJKL+eJitsjGfHFc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-41093: drm/amdgpu: avoid using null object of framebuffer Date: Mon, 29 Jul 2024 17:48:55 +0200 Message-ID: <2024072953-CVE-2024-41093-9d6c@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=2100; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=hZOcK9oxGMEC+MJQy5pzYtlRhu5xIMiT2zfsP/D3lqA=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnLdz69MnGzbfHGav7CN0vstxb9Tc0LSd33/z3vYff9a km1p16UdcSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEtBsY5hkYXP3zcTVDzR2x a4Gctn55qn3M/Qzzy7sjkm/v2zaR7+smW54n9StLDk+vAgA= 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: avoid using null object of framebuffer Instead of using state->fb->obj[0] directly, get object from framebuffer by calling drm_gem_fb_get_obj() and return error code when object is null to avoid using null object of framebuffer. The Linux kernel CVE team has assigned CVE-2024-41093 to this issue. Affected and fixed versions =========================== Fixed in 5.15.162 with commit 7f35e01cb0ea Fixed in 6.1.97 with commit 6ce0544cabaa Fixed in 6.6.37 with commit 330c8c145384 Fixed in 6.9.8 with commit dd9ec0ea4cdd Fixed in 6.10 with commit bcfa48ff785b 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-41093 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/amdgpu_vkms.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/7f35e01cb0ea4d295f5c067bb5c67dfcddaf05bc https://git.kernel.org/stable/c/6ce0544cabaa608018d5922ab404dc656a9d8447 https://git.kernel.org/stable/c/330c8c1453848c04d335bad81371a66710210800 https://git.kernel.org/stable/c/dd9ec0ea4cdde0fc48116e63969fc83e81d7ef46 https://git.kernel.org/stable/c/bcfa48ff785bd121316592b131ff6531e3e696bb