drm/gud: validate GUD_ROTATION_0 is present in supported rotations (Linux Linux)

CVE-2026-98148
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.11 % · percentile 2 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
Affected products
Linux · Linux
NVD status
Analyzed

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

Weaknesses (CWE)

  • CWE-754 — Improper Check for Unusual or Exceptional Conditions

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductAffected versions
Linux · Linux
affected : ≥ 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 < ce7da178f1af4e9cbac4d0440c4002785546bfb5
affected : ≥ 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 < 962cdf2eedb2708eb99c25ffb56c6d6981d41ed6
affected : ≥ 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 < b2cd682324b889011874cf844b7c7efa97c97296
affected : ≥ 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 < 876b33d8a9a00e9d4bbcbb7f55ad2c05974850de
affected : ≥ 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 < cb732d027aa18e1fcf9d2797f47d20b179ebc59c
Other versions : unaffected
Linux · Linux
affected : 5.13
unaffected : ≥ 0 < 5.13
unaffected : ≥ 6.6.160 ≤ 6.6.*
unaffected : ≥ 6.12.114 ≤ 6.12.*
unaffected : ≥ 6.18.53 ≤ 6.18.*
unaffected : ≥ 7.2.7 ≤ 7.2.*
unaffected : ≥ 7.3 ≤ *
Other versions : affected

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD