CVE search · CVE-2026-98148
CVE-2026-98148
medium 5.5
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
Details
- Status
- Analyzed
- Published
- Last changed
- Source
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- Weakness
- CWE-754
Severity
| Version | Score | Vector | Source |
|---|---|---|---|
| CVSS 3.1 | medium 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
nvd@nist.govPrimary |
Affected products
Vendor and product from the NVD’s CPE applicability statements. Versions and conditions are on the NVD’s page.
- linux · linux_kernel
References
- https://git.kernel.org/stable/c/876b33d8a9a00e9d4bbcbb7f55ad2c05974850dePatch
- https://git.kernel.org/stable/c/962cdf2eedb2708eb99c25ffb56c6d6981d41ed6Patch
- https://git.kernel.org/stable/c/b2cd682324b889011874cf844b7c7efa97c97296Patch
- https://git.kernel.org/stable/c/cb732d027aa18e1fcf9d2797f47d20b179ebc59cPatch
- https://git.kernel.org/stable/c/ce7da178f1af4e9cbac4d0440c4002785546bfb5Patch