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 79EFF1F759E for ; Wed, 4 Dec 2024 14:21:28 +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=1733322088; cv=none; b=V5KNzKD+DQ8Any6/2N3bcVZwwA5BaIyWrCfe8ylce8jJxuBqXLJwCRo+LEqP5frr32F1f1n04/RUnVXyiMPYarvT5NfXu+j8L9dzfKI1vtfRCjpiboOiNKHFkRZhcACVVuaE5q1nnFkbFxgq36rCBiXX/+xNmY1/bITQP6ARARE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733322088; c=relaxed/simple; bh=iJTTicypVOI9xNBG/EjNYVZhqledWC4QIKoeYZf8PN0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=jz/GT6fmV/SKuCYKiVFhHsNfCssXgGzYdVdMpFrSfp0vSyLxulWT3cns6CS8/sHFoPTC8bUj/lNI4TTQnceihHoBR7otLqBLoR10UO/ohILQplmApIAO3LBCdwSG6nhHyTeV71eP4+mYYWMLFQz9Ro+QCjtjaVWXbm/F+r+ug+E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=mIOWscLb; 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="mIOWscLb" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 678E8C4CECD; Wed, 4 Dec 2024 14:21:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1733322088; bh=iJTTicypVOI9xNBG/EjNYVZhqledWC4QIKoeYZf8PN0=; h=From:To:Cc:Subject:Date:Reply-to:From; b=mIOWscLbIVwMjn1uVx85pDNrvp6GwvrRw7InUlnG6pSwMrLTTtE6rZkeNxTjUZFLg i+nh2OhUccX1HX+dMnTJ2tDqXPY+AvQv9z/uEdbemHnE519DZ/PmMxDql4/TNp1Ozr UGOndHADLIkN+7Y1hL+SD49L4Yh0OxRugX7SQ3Bs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-53129: drm/rockchip: vop: Fix a dereferenced before check warning Date: Wed, 4 Dec 2024 15:20:52 +0100 Message-ID: <2024120449-CVE-2024-53129-9f04@gregkh> X-Mailer: git-send-email 2.47.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=2237; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=iJTTicypVOI9xNBG/EjNYVZhqledWC4QIKoeYZf8PN0=; b=owGbwMvMwCRo6H6F97bub03G02pJDOkBqY4b/jEKn1duMWFcu7Zs2o69vmmnj1mcdJpcfujWv dUHMzXvd8SyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEiowZ5kopz66xzW5p+3X6 +R/lQMs+903LrzIsOOjHoNbRpL+sVrHxxokPas3KO29qAQA= 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/rockchip: vop: Fix a dereferenced before check warning The 'state' can't be NULL, we should check crtc_state. Fix warning: drivers/gpu/drm/rockchip/rockchip_drm_vop.c:1096 vop_plane_atomic_async_check() warn: variable dereferenced before check 'state' (see line 1077) The Linux kernel CVE team has assigned CVE-2024-53129 to this issue. Affected and fixed versions =========================== Issue introduced in 5.13 with commit 5ddb0bd4ddc3 and fixed in 6.1.119 with commit 656dbd1c21c2 Issue introduced in 5.13 with commit 5ddb0bd4ddc3 and fixed in 6.6.63 with commit 1e5305972969 Issue introduced in 5.13 with commit 5ddb0bd4ddc3 and fixed in 6.11.10 with commit bbf8bc7e7586 Issue introduced in 5.13 with commit 5ddb0bd4ddc3 and fixed in 6.12 with commit ab1c793f457f 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-53129 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/rockchip/rockchip_drm_vop.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/656dbd1c21c2c088c70059cdd43ec83e7d54ec4d https://git.kernel.org/stable/c/1e53059729691ca4d905118258b9fbd17d854174 https://git.kernel.org/stable/c/bbf8bc7e75863942028131ae39c23118f62de6c0 https://git.kernel.org/stable/c/ab1c793f457f740ab7108cc0b1340a402dbf484d