CVE-2026-98148 PUBLISHED

drm/gud: validate GUD_ROTATION_0 is present in supported rotations

Assigner: Linux
Reserved: 25.09.2026 Published: 25.09.2026 Updated: 25.09.2026

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

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 to b2cd682324b889011874cf844b7c7efa97c97296 (excl.)
  • affected from 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 to 876b33d8a9a00e9d4bbcbb7f55ad2c05974850de (excl.)
  • affected from 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 to cb732d027aa18e1fcf9d2797f47d20b179ebc59c (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 5.13 is affected
  • unaffected from 0 to 5.13 (excl.)
  • unaffected from 6.18.53 to 6.18.* (incl.)
  • unaffected from 7.2.7 to 7.2.* (incl.)
  • unaffected from 7.3-rc2 to * (incl.)

References