drm/gud: validate GUD_ROTATION_0 is present in supported rotations
Summary
| CVE | CVE-2026-98148 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-09-25 11:17:46 UTC |
| Updated | 2026-09-25 11:17:46 UTC |
| 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 |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 b2cd682324b889011874cf844b7c7efa97c97296 git |
Not specified |
| CNA |
Linux |
Linux |
affected 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 876b33d8a9a00e9d4bbcbb7f55ad2c05974850de git |
Not specified |
| CNA |
Linux |
Linux |
affected 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 cb732d027aa18e1fcf9d2797f47d20b179ebc59c git |
Not specified |
| CNA |
Linux |
Linux |
affected 5.13 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 5.13 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.53 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.2.7 7.2.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.3-rc2 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/b2cd682324b889011874cf844b7c7efa97c97296 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/876b33d8a9a00e9d4bbcbb7f55ad2c05974850de |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/cb732d027aa18e1fcf9d2797f47d20b179ebc59c |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.