Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 D3A5E499F2A for ; Fri, 25 Sep 2026 10:41:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790332912; cv=none; b=hqgHBLqabnpXc7Pm0Mjx+WaD3+lzuWMZgHbWmBSaudbeNGVkxE+1oSPGKJuTXYcg/mDajgH82fk9y0cFXv5LO7tw1qDAFvRN0eOnZhJilvx96r6lAhqxt/5WoLEuO6+mB9QKK0hPQGvbKoyx3lzq4+TUTW0vMzqlcd8kFmRjNqE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790332912; c=relaxed/simple; bh=zlqn4qwIPX5aGPz41vLsm0gGnKMZ+r9hXtMqNiA13ak=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=uQmyWA/O3QLA5FwSLCyPL8t7+GzfMpm4sUBE+DH4JPXnDzTitehe2Qi8zzQZ2TCr3CCgLOhG/ZC++aKh80yr/9iPdWojJ9qEKLep4BhrCaEz5LCxbN1zn003DTQ4TnKYcdCNi7C1AdPotr52DWDq9coQqffgnQ3e0aPhUUepq6g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Bb90MSSk; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="Bb90MSSk" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 405141F00898; Fri, 25 Sep 2026 10:41:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790332909; bh=dforIKFidAm62iuie0n2pyHvqg/h1vTVBykrMdd3cpE=; h=From:To:Cc:Subject:Date:Reply-To; b=Bb90MSSkzppr2ayiqGmCSFIHETiEdsmzQizQZZoi8sTOf4lCqN5Ojyw+8x4f6DECk t6n6dY1raoXjUBDo4qRGG3cgb0h5hX/kH6FlNT/QgSP5nPOHl/ahTIK9amVVMXqLpG 57gIr+ahS36c9DKcCzWmogDRl5UkMVB+QABRFY58= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98148: drm/gud: validate GUD_ROTATION_0 is present in supported rotations Date: Fri, 25 Sep 2026 12:39:55 +0200 Message-ID: <2026092518-CVE-2026-98148-7f60@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2511; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=bwGDeiuJjGdaNVZcrw+HIh9G+Ic+YgAKle1roscFJ84=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnb/MOKT/kt3vbrnc/SzK/7ozbyJKWVbK+enCO246rIu XjRAIVdHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCR6tUMCxplLry5lLDz5LfI 2nwHlYjFx5MWRjAsuLHg2P4pTedq3NRV1tre0lq/4QCrMAA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: drm/gud: validate GUD_ROTATION_0 is present in supported rotations The rotation argument to drm_plane_create_rotation_property() is set to DRM_MODE_ROTATE_0, and the device reported rotation bitmask is used as the supported_rotations argument. The driver never validates that GUD_ROTATION_0 is present, so a device that omits it from its GUD_PROPERTY_ROTATION triggers the WARN_ON(rotation & ~supported_rotations) in drm_plane_create_rotation_property() Fix this by skipping the creation of rotation property if the device doesn't have the GUD_ROTATION_0 bit The Linux kernel CVE team has assigned CVE-2026-98148 to this issue. Affected and fixed versions =========================== Issue introduced in 5.13 with commit 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 and fixed in 6.18.53 with commit b2cd682324b889011874cf844b7c7efa97c97296 Issue introduced in 5.13 with commit 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 and fixed in 7.2.7 with commit 876b33d8a9a00e9d4bbcbb7f55ad2c05974850de Issue introduced in 5.13 with commit 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 and fixed in 7.3-rc2 with commit cb732d027aa18e1fcf9d2797f47d20b179ebc59c 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-2026-98148 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/gud/gud_drv.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/b2cd682324b889011874cf844b7c7efa97c97296 https://git.kernel.org/stable/c/876b33d8a9a00e9d4bbcbb7f55ad2c05974850de https://git.kernel.org/stable/c/cb732d027aa18e1fcf9d2797f47d20b179ebc59c