🇰🇷 한글 설명
Linux 커널의 drm/vc4 드라이버에서 unbind 과정 중 null 포인터 역참조가 발생하는 취약점이 해결되었습니다. vc4-drm이 종속 드라이버인 hvs/v3d보다 먼저 제거되면서 발생하는 메모리 참조 오류를 수정하였습니다.
💡 쉬운 설명
장치를 제거하는 과정에서 이미 사라진 정보를 참조하려고 시도하여 시스템 오류가 발생할 수 있는 문제입니다. 이를 방지하기 위해 이미 삭제된 데이터 대신 안전한 경로로 정보를 가져오도록 수정되었습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
drm/vc4: hvs/v3d: Fix null dereference in unbind
The hvs and v3d drivers use dev_get_drvdata(master) in their unbind
functions. Since the vc4-drm gets removed before its dependent drivers
(vc4_hvs/vc4_v3d) the vc4_hvs_unbind/vc4_v3d_unbind functions try to
get drvdata of its master and fails with a null dereference error.
Use the data pointer passed to the unbind functions directly instead of
dev_get_drvdata(master). This avoids using potentially freed memory.
📍 영향받는 시스템
Linux kernel (drm/vc4, hvs, v3d 드라이버를 사용하는 시스템)
⚔️ 공격 벡터
로컬 시스템에서 드라이버 언바인딩(Unbind)을 유도하여 커널 패닉 또는 시스템 충돌 유발
🛡️ 대응 방법
최신 보안 패치가 적용된 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인