🇰🇷 한글 설명
Linux 커널의 saa7164 미디어 드라이버에서 리소스 할당 실패 시 정리 프로세스가 제대로 이루어지지 않는 취약점이 발견되었습니다. 장치 할당 중 오류가 발생하더라도 전역 리스트에서 장치가 제거되지 않아 댕글링 포인터(dangling entry)가 남게 됩니다. 이로 인해 메모리 관리 오류나 시스템 불안정성이 초래될 수 있습니다.
💡 쉬운 설명
하드웨어를 연결하는 과정에서 오류가 났을 때, 컴퓨터가 사용하던 정보를 깨끗이 지우지 못하고 찌꺼기를 남기는 문제입니다. 이 찌꺼기 때문에 나중에 시스템이 혼란을 겪거나 오류가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
media: saa7164: fix cleanup on resource allocation failure
saa7164_dev_setup() adds the device to the global saa7164_devlist before
requesting the PCI BAR memory regions.
If get_resources() fails, saa7164_dev_setup() decrements the device count
and returns an error, but leaves the device on saa7164_devlist. The probe
error path then frees the device, leaving a dangling entry on the global
list.
Reuse the existing MMIO mapping error path to remove the device from
saa7164_devlist and decrement the device count before returning.
Also release BAR0 if it was successfully requested but the BAR2 request
fails.
📍 영향받는 시스템
Linux kernel (saa7164 driver 포함 버전)
⚔️ 공격 벡터
로컬 공격자가 특정 하드웨어 리소스 할당 실패를 유도하여 커널 메모리 상태를 조작할 수 있음
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인하십시오.