CVE-2026-98148

drm/gud: validate GUD_ROTATION_0 is present in supported rotations

State
Published
Severity
Not scored
Published
Sep 25, 2026
Updated
Oct 21, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 to before ce7da178f1af4e9cbac4d0440c4002785546bfb5Affected
  • 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 to before 962cdf2eedb2708eb99c25ffb56c6d6981d41ed6Affected
  • 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 to before b2cd682324b889011874cf844b7c7efa97c97296Affected
  • 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 to before 876b33d8a9a00e9d4bbcbb7f55ad2c05974850deAffected
  • 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 to before cb732d027aa18e1fcf9d2797f47d20b179ebc59cAffected
LinuxLinux
  • 5.13Affected
  • before 5.13Not affected
  • 6.6.160 through 6.6.*Not affected
  • 6.12.114 through 6.12.*Not affected
  • 6.18.53 through 6.18.*Not affected
  • 7.2.7 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.