🇰🇷 한글 설명
Linux 커널의 drm/stm 드라이버에서 crtc 및 plane 관련 Use-After-Free 취약점이 발견되었습니다. devm_kzalloc()으로 할당된 매개변수를 사용하여 DRM 프레임워크 함수를 호출할 때 메모리 해제 후 재사용 문제가 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터 화면을 제어하는 프로그램이 이미 사용이 끝나서 사라진 메모리 공간을 다시 사용하려고 할 때 발생하는 오류입니다. 이로 인해 시스템이 멈추거나 보안 문제가 생길 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
drm/stm: Avoid use-after-free issues with crtc and plane
ltdc_load() calls functions drm_crtc_init_with_planes(),
drm_universal_plane_init() and drm_encoder_init(). These functions
should not be called with parameters allocated with devm_kzalloc()
to avoid use-after-free issues [1].
Use allocations managed by the DRM framework.
Found by Linux Verification Center (linuxtesting.org).
[1]
https://lore.kernel.org/lkml/u366i76e3qhh3ra5oxrtngjtm2u5lterkekcz6y2jkndhuxzli@diujon4h7qwb/
📍 영향받는 시스템
Linux kernel (drm/stm 드라이버를 사용하는 시스템)
⚔️ 공격 벡터
로컬 공격자가 특정 드라이버 호출을 통해 메모리 관리 오류를 유도하여 시스템 권한을 획득하거나 서비스 거부(DoS)를 유발할 수 있음
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.