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 471E47CF1D for ; Tue, 21 May 2024 15:39:22 +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=1716305962; cv=none; b=NEmVtn3XE2xguZEjfyoZeQAbJ/gVKt2zrsViVNwSicVCANa92uUdqkBZNYIYbS2gNXn0Le/lJ1+yuUcf64tdXqZ5zZjK0iKZ6z2XtWITy0ZTXsobFtSbRMD0c8A8uKDvkM0PnQNx8V0z2DGVxvmi2ybfxt1IEmFITnPX6AbQCQE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716305962; c=relaxed/simple; bh=w5u7RGVDVUY1W4cHCqiq5IBQOBQTmcbilBK+XszAmM4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=KdE0GQqfP0kKB8qUxBI8dysI0TzC3meqsmcLZR1wFFarwPL5OeVLClrGlHweaiMUgrfWcA2qyzrYRDHfLoUqE1V/evJBHrJw/NGwEMP5T61L5MfDtSO0c1AAjuXnSiWDlEJbChwcKh1XdCCKeUR/44xDVaHoVh2RvdfCSDJ0ZoY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=T/Fl2RxB; 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="T/Fl2RxB" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C2560C2BD11; Tue, 21 May 2024 15:39:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1716305962; bh=w5u7RGVDVUY1W4cHCqiq5IBQOBQTmcbilBK+XszAmM4=; h=From:To:Cc:Subject:Date:Reply-to:From; b=T/Fl2RxBL+J30lH2uhwnpER9s3XSJCQyOAr2Rtw6oAbpRl2/rWR9UZW8yy/0VVfkO 24bPw6yMP/WTfKb5cJgKEBUN91hAVMfWcrZHuCwnw3/tzSUS0hPfWwsaqVJx02efz3 kyuo/y8wNAYuSclz9yvnu2c8NtNaqE/mStE8BnSw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-52867: drm/radeon: possible buffer overflow Date: Tue, 21 May 2024 17:32:43 +0200 Message-ID: <2024052119-CVE-2023-52867-3f26@gregkh> X-Mailer: git-send-email 2.45.1 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=2948; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=w5u7RGVDVUY1W4cHCqiq5IBQOBQTmcbilBK+XszAmM4=; b=owGbwMvMwCRo6H6F97bub03G02pJDGk++9x9Nrewa+TMEKlOljz0+p+bz9Z5HtWzTbf8UA26P ZMr4GBeRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzkZyLDXOG5fulMM4JnCetF zS32zfzJmuXjwTDfa5OmYtWNK5JGyk4R6x6tF297q/ofAA== 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: possible buffer overflow Buffer 'afmt_status' of size 6 could overflow, since index 'afmt_idx' is checked after access. The Linux kernel CVE team has assigned CVE-2023-52867 to this issue. Affected and fixed versions =========================== Issue introduced in 4.13 with commit 5cc4e5fc293b and fixed in 4.14.330 with commit 112d4b02d94b Issue introduced in 4.13 with commit 5cc4e5fc293b and fixed in 4.19.299 with commit caaa74541459 Issue introduced in 4.13 with commit 5cc4e5fc293b and fixed in 5.4.261 with commit ddc42881f170 Issue introduced in 4.13 with commit 5cc4e5fc293b and fixed in 5.10.201 with commit 7b063c93bece Issue introduced in 4.13 with commit 5cc4e5fc293b and fixed in 5.15.139 with commit 347f025a02b3 Issue introduced in 4.13 with commit 5cc4e5fc293b and fixed in 6.1.63 with commit 341e79f8aec6 Issue introduced in 4.13 with commit 5cc4e5fc293b and fixed in 6.5.12 with commit d9b4fa249dea Issue introduced in 4.13 with commit 5cc4e5fc293b and fixed in 6.6.2 with commit 19534a7a225f Issue introduced in 4.13 with commit 5cc4e5fc293b and fixed in 6.7 with commit dd05484f99d1 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-2023-52867 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/evergreen.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/112d4b02d94bf9fa4f1d3376587878400dd74783 https://git.kernel.org/stable/c/caaa74541459c4c9e2c10046cf66ad2890483d0f https://git.kernel.org/stable/c/ddc42881f170f1f518496f5a70447501335fc783 https://git.kernel.org/stable/c/7b063c93bece827fde237fae1c101bceeee4e896 https://git.kernel.org/stable/c/347f025a02b3a5d715a0b471fc3b1439c338ad94 https://git.kernel.org/stable/c/341e79f8aec6af6b0061b8171d77b085835c6a58 https://git.kernel.org/stable/c/d9b4fa249deaae1145d6fc2b64dae718e5c7a855 https://git.kernel.org/stable/c/19534a7a225f1bf2da70a9a90d41d0215f8f6b45 https://git.kernel.org/stable/c/dd05484f99d16715a88eedfca363828ef9a4c2d4