{"id":"CVE-2026-98148","summary":"drm/gud: validate GUD_ROTATION_0 is present in supported rotations","details":"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","modified":"2026-09-26T03:48:28.396676911Z","published":"2026-09-25T10:36:21.562Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98148.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/876b33d8a9a00e9d4bbcbb7f55ad2c05974850de"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b2cd682324b889011874cf844b7c7efa97c97296"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cb732d027aa18e1fcf9d2797f47d20b179ebc59c"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98148.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98148"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"40e1a70b4aedf2859a1829991b48ef0ebe650bf2"},{"fixed":"b2cd682324b889011874cf844b7c7efa97c97296"},{"fixed":"876b33d8a9a00e9d4bbcbb7f55ad2c05974850de"},{"fixed":"cb732d027aa18e1fcf9d2797f47d20b179ebc59c"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98148.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.13.0"},{"fixed":"6.18.53"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98148.json"}}],"schema_version":"1.9.0"}