CVE-2026-98148 (GCVE-0-2026-98148)
Vulnerability from cvelistv5
Published
2026-09-25 10:36
Modified
2026-10-21 12:54
Severity ?
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 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
Impacted products
Vendor Product Version
Linux Linux Version: 40e1a70b4aedf2859a1829991b48ef0ebe650bf2
Version: 40e1a70b4aedf2859a1829991b48ef0ebe650bf2
Version: 40e1a70b4aedf2859a1829991b48ef0ebe650bf2
Version: 40e1a70b4aedf2859a1829991b48ef0ebe650bf2
Version: 40e1a70b4aedf2859a1829991b48ef0ebe650bf2
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/gud/gud_drv.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "ce7da178f1af4e9cbac4d0440c4002785546bfb5",
              "status": "affected",
              "version": "40e1a70b4aedf2859a1829991b48ef0ebe650bf2",
              "versionType": "git"
            },
            {
              "lessThan": "962cdf2eedb2708eb99c25ffb56c6d6981d41ed6",
              "status": "affected",
              "version": "40e1a70b4aedf2859a1829991b48ef0ebe650bf2",
              "versionType": "git"
            },
            {
              "lessThan": "b2cd682324b889011874cf844b7c7efa97c97296",
              "status": "affected",
              "version": "40e1a70b4aedf2859a1829991b48ef0ebe650bf2",
              "versionType": "git"
            },
            {
              "lessThan": "876b33d8a9a00e9d4bbcbb7f55ad2c05974850de",
              "status": "affected",
              "version": "40e1a70b4aedf2859a1829991b48ef0ebe650bf2",
              "versionType": "git"
            },
            {
              "lessThan": "cb732d027aa18e1fcf9d2797f47d20b179ebc59c",
              "status": "affected",
              "version": "40e1a70b4aedf2859a1829991b48ef0ebe650bf2",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/gud/gud_drv.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.13"
            },
            {
              "lessThan": "5.13",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.160",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.114",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.53",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.7",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.160",
                  "versionStartIncluding": "5.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.114",
                  "versionStartIncluding": "5.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.53",
                  "versionStartIncluding": "5.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.7",
                  "versionStartIncluding": "5.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "5.13",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/gud: validate GUD_ROTATION_0 is present in supported rotations\n\nThe rotation argument to drm_plane_create_rotation_property() is set to\nDRM_MODE_ROTATE_0, and the device reported rotation bitmask is used as\nthe supported_rotations argument. The driver never validates that\nGUD_ROTATION_0 is present, so a device that omits it from its\nGUD_PROPERTY_ROTATION triggers the\nWARN_ON(rotation \u0026 ~supported_rotations) in\ndrm_plane_create_rotation_property()\n\nFix this by skipping the creation of rotation property if the device\ndoesn\u0027t have the GUD_ROTATION_0 bit"
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-21T12:54:42.819Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/ce7da178f1af4e9cbac4d0440c4002785546bfb5"
        },
        {
          "url": "https://git.kernel.org/stable/c/962cdf2eedb2708eb99c25ffb56c6d6981d41ed6"
        },
        {
          "url": "https://git.kernel.org/stable/c/b2cd682324b889011874cf844b7c7efa97c97296"
        },
        {
          "url": "https://git.kernel.org/stable/c/876b33d8a9a00e9d4bbcbb7f55ad2c05974850de"
        },
        {
          "url": "https://git.kernel.org/stable/c/cb732d027aa18e1fcf9d2797f47d20b179ebc59c"
        }
      ],
      "title": "drm/gud: validate GUD_ROTATION_0 is present in supported rotations",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-98148",
    "datePublished": "2026-09-25T10:36:21.562Z",
    "dateReserved": "2026-09-25T10:25:14.320Z",
    "dateUpdated": "2026-10-21T12:54:42.819Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…