drm/gud: validate GUD_ROTATION_0 is present in supported rotations
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 876b33d8a9a00e9d4bbcbb7f55ad2c05974850de, Kernel 962cdf2eedb2708eb99c25ffb56c6d6981d41ed6, Kernel b2cd682324b889011874cf844b7c7efa97c97296 and 2 more.
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
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =5.13, >=40e1a70b4aedf2859a1829991b48ef0ebe650bf2 <876b33d8a9a00e9d4bbcbb7f55ad2c05974850de, >=40e1a70b4aedf2859a1829991b48ef0ebe650bf2 <962cdf2eedb2708eb99c25ffb56c6d6981d41ed6, >=40e1a70b4aedf2859a1829991b48ef0ebe650bf2 <b2cd682324b889011874cf844b7c7efa97c97296, >=40e1a70b4aedf2859a1829991b48ef0ebe650bf2 <cb732d027aa18e1fcf9d2797f47d20b179ebc59c, >=40e1a70b4aedf2859a1829991b48ef0ebe650bf2 <ce7da178f1af4e9cbac4d0440c4002785546bfb5 | 876b33d8a9a00e9d4bbcbb7f55ad2c05974850de, 962cdf2eedb2708eb99c25ffb56c6d6981d41ed6, b2cd682324b889011874cf844b7c7efa97c97296, cb732d027aa18e1fcf9d2797f47d20b179ebc59c, ce7da178f1af4e9cbac4d0440c4002785546bfb5 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket