{"id":"CVE-2026-98148","revision":"03c08601666e44699b31317137f31993","records":[{"revision":"03c08601666e44699b31317137f31993","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-98148","aliases":[],"title":"drm/gud: validate GUD_ROTATION_0 is present in supported rotations","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/gud: validate GUD_ROTATION_0 is present in supported rotations\n\nThe rotation argument to drm_plane_create_rotation_property() is set to\nDRM_MODE_ROTATE_0, and the device reported rotation bitmask is used as\nthe supported_rotations argument. The driver never validates that\nGUD_ROTATION_0 is present, so a device that omits it from its\nGUD_PROPERTY_ROTATION triggers the\nWARN_ON(rotation & ~supported_rotations) in\ndrm_plane_create_rotation_property()\n\nFix this by skipping the creation of rotation property if the device\ndoesn't have the GUD_ROTATION_0 bit","state":0,"publishedAt":"2026-09-25T10:36:21.562+00:00","modifiedAt":"2026-10-21T12:54:42.819+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/gpu/drm/gud/gud_drv.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"40e1a70b4aedf2859a1829991b48ef0ebe650bf2\",\n                            \"lessThan\": \"ce7da178f1af4e9cbac4d0440c4002785546bfb5\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"40e1a70b4aedf2859a1829991b48ef0ebe650bf2\",\n                            \"lessThan\": \"962cdf2eedb2708eb99c25ffb56c6d6981d41ed6\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"40e1a70b4aedf2859a1829991b48ef0ebe650bf2\",\n                            \"lessThan\": \"b2cd682324b889011874cf844b7c7efa97c97296\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"40e1a70b4aedf2859a1829991b48ef0ebe650bf2\",\n                            \"lessThan\": \"876b33d8a9a00e9d4bbcbb7f55ad2c05974850de\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"40e1a70b4aedf2859a1829991b48ef0ebe650bf2\",\n                            \"lessThan\": \"cb732d027aa18e1fcf9d2797f47d20b179ebc59c\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/gpu/drm/gud/gud_drv.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"5.13\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"5.13\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.6.160\",\n                            \"lessThanOrEqual\": \"6.6.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.12.114\",\n                            \"lessThanOrEqual\": \"6.12.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.18.53\",\n                            \"lessThanOrEqual\": \"6.18.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.2.7\",\n                            \"lessThanOrEqual\": \"7.2.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.3\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[],"references":["https://git.kernel.org/stable/c/ce7da178f1af4e9cbac4d0440c4002785546bfb5","https://git.kernel.org/stable/c/962cdf2eedb2708eb99c25ffb56c6d6981d41ed6","https://git.kernel.org/stable/c/b2cd682324b889011874cf844b7c7efa97c97296","https://git.kernel.org/stable/c/876b33d8a9a00e9d4bbcbb7f55ad2c05974850de","https://git.kernel.org/stable/c/cb732d027aa18e1fcf9d2797f47d20b179ebc59c"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-98148","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-98148","identifiers":["CVE-2026-98148"]},"retained":false,"historicalAffected":[]}],"coverage":[]}