🇰🇷 한글 설명
Linux 커널의 drm/gud 드라이버에서 회전 속성 생성 시 GUD_ROTATION_0 지원 여부를 검증하지 않아 발생하는 문제입니다. 지원되지 않는 회전 값이 설정될 경우 커널 내에서 WARN_ON 경고가 발생할 수 있습니다.
💡 쉬운 설명
화면을 회전시키는 기능에서 특정 회전 방식이 지원되는지 확인하지 않아 시스템에 경고 메시지가 뜨는 오류입니다. 이로 인해 시스템이 불안정해지거나 불필요한 로그가 쌓일 수 있습니다.
🇺🇸 원문 (English)
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
📍 영향받는 시스템
Linux kernel (drm/gud driver 포함 버전)
⚔️ 공격 벡터
로컬 공격자가 조작된 DRM 속성을 통해 커널 경고(WARN_ON)를 유발할 수 있음
🛡️ 대응 방법
GUD_ROTATION_0 비트가 없는 경우 회전 속성 생성을 건너뛰도록 커널 패치 적용
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전인지 확인