drm/gud: validate GUD_ROTATION_0 is present in supported rotations
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
CVE-2026-98148
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-98148
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "40e1a70b4aedf2859a1829991b48ef0ebe650bf2",
"lessThan": "ce7da178f1af4e9cbac4d0440c4002785546bfb5",
"versionType": "git"
},
{
"status": "affected",
"version": "40e1a70b4aedf2859a1829991b48ef0ebe650bf2",
"lessThan": "962cdf2eedb2708eb99c25ffb56c6d6981d41ed6",
"versionType": "git"
},
{
"status": "affected",
"version": "40e1a70b4aedf2859a1829991b48ef0ebe650bf2",
"lessThan": "b2cd682324b889011874cf844b7c7efa97c97296",
"versionType": "git"
},
{
"status": "affected",
"version": "40e1a70b4aedf2859a1829991b48ef0ebe650bf2",
"lessThan": "876b33d8a9a00e9d4bbcbb7f55ad2c05974850de",
"versionType": "git"
},
{
"status": "affected",
"version": "40e1a70b4aedf2859a1829991b48ef0ebe650bf2",
"lessThan": "cb732d027aa18e1fcf9d2797f47d20b179ebc59c",
"versionType": "git"
}
],
"programFiles": [
"drivers/gpu/drm/gud/gud_drv.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "5.13"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "5.13",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.6.160",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.114",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.53",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2.7",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"drivers/gpu/drm/gud/gud_drv.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-98148
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #48862 · Revision 1
- Added to Heist Feed
- Publisher date