# CVE-2026-98148: drm/gud: validate GUD_ROTATION_0 is present in supported rotations

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.11%, higher than 1% of CVEs (2026-12-01)
- Published: 2026-09-25T10:36:21.562Z
- Modified: 2026-10-27T17:51:55.267Z
- Weaknesses: CWE-754
- Assigned by: Linux

## 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

(As written by CVE List.)

## Affected

- Linux Linux: from 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 before ce7da178f1af4e9cbac4d0440c4002785546bfb5; from 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 before 962cdf2eedb2708eb99c25ffb56c6d6981d41ed6; from 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 before b2cd682324b889011874cf844b7c7efa97c97296; from 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 before 876b33d8a9a00e9d4bbcbb7f55ad2c05974850de; from 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 before cb732d027aa18e1fcf9d2797f47d20b179ebc59c; 5.13 (not affected: before 5.13; from 6.6.160 up to 6.6.*; from 6.12.114 up to 6.12.*; from 6.18.53 up to 6.18.*; from 7.2.7 up to 7.2.*; from 7.3 up to *)
- linux linux_kernel: from 5.13 before 6.6.160; from 6.7 before 6.12.114; from 6.13 before 6.18.53; from 6.19 before 7.2.7; 7.3

## References

- <https://git.kernel.org/stable/c/ce7da178f1af4e9cbac4d0440c4002785546bfb5> (patch)
- <https://git.kernel.org/stable/c/962cdf2eedb2708eb99c25ffb56c6d6981d41ed6> (patch)
- <https://git.kernel.org/stable/c/b2cd682324b889011874cf844b7c7efa97c97296> (patch)
- <https://git.kernel.org/stable/c/876b33d8a9a00e9d4bbcbb7f55ad2c05974850de> (patch)
- <https://git.kernel.org/stable/c/cb732d027aa18e1fcf9d2797f47d20b179ebc59c> (patch)

## Sources

- CVE List: [CVE-2026-98148](https://www.cve.org/CVERecord?id=CVE-2026-98148), CVE Terms of Use, modified 2026-10-21
- NVD: [CVE-2026-98148](https://nvd.nist.gov/vuln/detail/CVE-2026-98148), Public domain, modified 2026-10-27

---

Page: https://cve.day/CVE-2026-98148 · Whole record: https://cve.day/CVE-2026-98148.json · Rebuilt by cve.day 2026-11-25T22:59:41.080Z
