🇰🇷 한글 설명
Linux 커널의 TI VPE 드라이버에서 probe 과정 중 오류가 발생할 경우, 이미 등록된 v4l2 장치를 해제하지 못하는 취약점이 발견되었습니다. vpe_top 리소스가 누락되면 v4l2_device_register()가 성공한 후에도 장치 등록이 유지되어 시스템 리소스 관리에 문제를 일으킬 수 있습니다.
💡 쉬운 설명
하드웨어를 준비하는 과정에서 문제가 생겼을 때, 이전에 등록했던 정보를 제대로 지우지 않고 남겨두는 버그입니다. 이로 인해 시스템이 혼란을 겪거나 리소스가 낭비될 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
media: ti: vpe: unwind v4l2 device registration on probe error
If the vpe_top resource is missing, vpe_probe() returns -ENODEV after
v4l2_device_register() has succeeded. Probe failures do not call the
driver's remove callback, so the v4l2 device remains registered on that
error path.
Route that failure through the existing v4l2_device_unregister() unwind
label, matching the other errors after v4l2_device_register().
📍 영향받는 시스템
Linux kernel (media: ti: vpe driver 포함 버전)
⚔️ 공격 벡터
로컬 공격자가 하드웨어 리소스 누락을 유도하여 커널 리소스 관리 오류를 발생시킴
🛡️ 대응 방법
v4l2_device_unregister()를 호출하여 오류 발생 시 장치 등록을 해제하도록 커널 패치 적용
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전인지 배포판 보안 공지를 통해 확인