{"id":"CVE-2026-98148","state":"PUBLISHED","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","publishedAt":"2026-09-25T10:36:21.562Z","updatedAt":"2026-10-21T12:54:42.819Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"40e1a70b4aedf2859a1829991b48ef0ebe650bf2","status":"affected","lessThan":"ce7da178f1af4e9cbac4d0440c4002785546bfb5","versionType":"git"},{"version":"40e1a70b4aedf2859a1829991b48ef0ebe650bf2","status":"affected","lessThan":"962cdf2eedb2708eb99c25ffb56c6d6981d41ed6","versionType":"git"},{"version":"40e1a70b4aedf2859a1829991b48ef0ebe650bf2","status":"affected","lessThan":"b2cd682324b889011874cf844b7c7efa97c97296","versionType":"git"},{"version":"40e1a70b4aedf2859a1829991b48ef0ebe650bf2","status":"affected","lessThan":"876b33d8a9a00e9d4bbcbb7f55ad2c05974850de","versionType":"git"},{"version":"40e1a70b4aedf2859a1829991b48ef0ebe650bf2","status":"affected","lessThan":"cb732d027aa18e1fcf9d2797f47d20b179ebc59c","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/gud/gud_drv.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.13","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.13","versionType":"semver"},{"version":"6.6.160","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.114","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.53","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.7","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/gud/gud_drv.c"]}],"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"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:43.249Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/98xxx/CVE-2026-98148.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-98148","state":"PUBLISHED","datePublished":"2026-09-25T10:36:21.562Z","dateUpdated":"2026-10-21T12:54:42.819Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:25:14.320Z"},"containers":{"cna":{"title":"drm/gud: validate GUD_ROTATION_0 is present in supported rotations","descriptions":[{"lang":"en","value":"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"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"40e1a70b4aedf2859a1829991b48ef0ebe650bf2","status":"affected","lessThan":"ce7da178f1af4e9cbac4d0440c4002785546bfb5","versionType":"git"},{"version":"40e1a70b4aedf2859a1829991b48ef0ebe650bf2","status":"affected","lessThan":"962cdf2eedb2708eb99c25ffb56c6d6981d41ed6","versionType":"git"},{"version":"40e1a70b4aedf2859a1829991b48ef0ebe650bf2","status":"affected","lessThan":"b2cd682324b889011874cf844b7c7efa97c97296","versionType":"git"},{"version":"40e1a70b4aedf2859a1829991b48ef0ebe650bf2","status":"affected","lessThan":"876b33d8a9a00e9d4bbcbb7f55ad2c05974850de","versionType":"git"},{"version":"40e1a70b4aedf2859a1829991b48ef0ebe650bf2","status":"affected","lessThan":"cb732d027aa18e1fcf9d2797f47d20b179ebc59c","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/gud/gud_drv.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.13","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.13","versionType":"semver"},{"version":"6.6.160","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.114","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.53","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.7","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/gud/gud_drv.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/ce7da178f1af4e9cbac4d0440c4002785546bfb5"},{"url":"https://git.kernel.org/stable/c/962cdf2eedb2708eb99c25ffb56c6d6981d41ed6"},{"url":"https://git.kernel.org/stable/c/b2cd682324b889011874cf844b7c7efa97c97296"},{"url":"https://git.kernel.org/stable/c/876b33d8a9a00e9d4bbcbb7f55ad2c05974850de"},{"url":"https://git.kernel.org/stable/c/cb732d027aa18e1fcf9d2797f47d20b179ebc59c"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-21T12:54:42.819Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.13","versionEndExcluding":"6.6.160"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.13","versionEndExcluding":"6.12.114"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.13","versionEndExcluding":"6.18.53"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.13","versionEndExcluding":"7.2.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.13","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}