🇰🇷 한글 설명
Linux 커널의 drm/mediatek 드라이버에서 OF 노드 참조 횟수 관리 오류로 인해 발생할 수 있는 Use-After-Free 취약점입니다. 반복문 내에서 불필요하게 참조 횟수를 감소시키는 코드가 포함되어 있어 메모리 관리 오류를 유발할 수 있었습니다.
💡 쉬운 설명
컴퓨터가 메모리를 사용한 후 제대로 정리하지 않고 다시 사용하려고 할 때 발생하는 오류입니다. 이 문제가 발생하면 시스템이 갑자기 멈추거나 해커가 시스템 권한을 탈취할 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
drm/mediatek: fix potential OF node use-after-free
The for_each_child_of_node() helper drops the reference it takes to each
node as it iterates over children and an explicit of_node_put() is only
needed when exiting the loop early.
Drop the recently introduced bogus additional reference count decrement
at each iteration that could potentially lead to a use-after-free.
📍 영향받는 시스템
MediaTek GPU 드라이버를 사용하는 Linux 커널 시스템
⚔️ 공격 벡터
로컬 공격자가 특수하게 조작된 장치 트리(Device Tree) 데이터를 통해 메모리 오류를 유도
🛡️ 대응 방법
해당 취약점이 수정된 최신 버전의 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 취약점이 수정된 패치 버전 이후인지 확인