---
id: CVE-2026-98148
title: |-
  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 d…
summary: |-
  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 d…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 <
    b2cd682324b889011874cf844b7c7efa97c97296
  - >-
    Linux >= 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 <
    876b33d8a9a00e9d4bbcbb7f55ad2c05974850de
  - >-
    Linux >= 40e1a70b4aedf2859a1829991b48ef0ebe650bf2 <
    cb732d027aa18e1fcf9d2797f47d20b179ebc59c
  - Linux 5.13
published: '2026-09-25'
updated: '2026-09-25'
sourceUpdated: '2026-09-25T11:17:46.363'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-98148'
references:
  - url: 'https://git.kernel.org/stable/c/876b33d8a9a00e9d4bbcbb7f55ad2c05974850de'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/b2cd682324b889011874cf844b7c7efa97c97296'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/cb732d027aa18e1fcf9d2797f47d20b179ebc59c'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
  - cve.org
ingestedAt: '2026-09-25T11:06:38.807Z'
---

## Overview

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

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
