Описание
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
A flaw was found in the Linux kernel's Generic USB Display (GUD) driver. This vulnerability can lead to a Denial of Service (DoS) if an attacker connects a malicious USB display device to the system. The driver fails to verify that the default display rotation capability is present in the device's reported configuration before registering display properties. This omission triggers an internal kernel warning assertion, which can lead to a system crash on systems configured to halt on kernel warnings.
Отчет
A low-severity denial-of-service flaw was found in the Linux kernel's Generic USB Display (GUD) driver. The driver does not validate that the required GUD_ROTATION_0 bit is present in the rotation bitmask reported by a USB display device before creating the plane rotation property. A malicious or malformed USB display device that omits this bit triggers a WARN_ON assertion in drm_plane_create_rotation_property(), which can crash systems configured to halt on kernel warnings. Because exploitation requires connecting a malicious USB display device to the system and the impact is limited to availability, Red Hat rates the impact of this flaw as Low, even though the CVSS:3.1 base score of 5.5 (Moderate) reflects the high availability impact on such configurations. The vulnerable code is present in Red Hat Enterprise Linux 9, Red Hat Enterprise Linux 10, Red Hat In-Vehicle OS 2, and OpenShift Container Platform releases based on RHEL CoreOS 9 (4.13 and later, including 5.x). Red Hat Enterprise Linux 6, 7, and 8, and OpenShift Container Platform 4.12 (RHEL CoreOS 8), do not contain the vulnerable code and are therefore not affected. Given the low severity of this flaw, the fix has been deferred for the affected streams, which therefore remain vulnerable; the residual risk is a local denial of service from a physically attached malicious USB display device, limited to a kernel warning on systems that are not configured to panic on warnings.
Меры по смягчению последствий
On systems where halting on kernel warnings is not required, verify that panic_on_warn is disabled (kernel.panic_on_warn=0); this prevents the WARN_ON triggered by a malicious USB display device from causing a system crash, reducing the impact to a kernel warning. Restricting physical access and avoiding untrusted USB display devices further limits exposure to this issue.
Затронутые пакеты
| Платформа | Пакет | Состояние | Рекомендация | Релиз |
|---|---|---|---|---|
| Red Hat Enterprise Linux 10 | kernel | Fix deferred | ||
| Red Hat Enterprise Linux 6 | kernel | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-rt | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-rt | Not affected | ||
| Red Hat Enterprise Linux 9 | kernel | Fix deferred | ||
| Red Hat Enterprise Linux 9 | kernel-rt | Fix deferred | ||
| Red Hat OpenShift Container Platform 4 | openshift/ose-rhel-coreos-8 | Not affected | ||
| Red Hat OpenShift Container Platform 4 | openshift/ose-rhel-coreos-9 | Fix deferred |
Показывать по
Дополнительная информация
Статус:
5.5 Medium
CVSS3
Связанные уязвимости
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
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
drm/gud: validate GUD_ROTATION_0 is present in supported rotations
In the Linux kernel, the following vulnerability has been resolved: d ...
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
5.5 Medium
CVSS3