🇰🇷 한글 설명
Linux 커널의 ALSA dummy 드라이버에서 snd_dummy_probe() 함수가 장치 인덱스의 유효성을 검증하지 않아 발생하는 취약점입니다. sysfs 인터페이스를 통해 장치가 수동으로 바인딩될 경우 잘못된 인덱스 값이 전달되어 배열 범위 외 메모리(OOB)에 접근할 수 있습니다.
💡 쉬운 설명
컴퓨터 소리 장치를 관리하는 프로그램이 잘못된 번호표를 받았을 때 이를 확인하지 않고 그대로 사용하려다 발생하는 오류입니다. 이로 인해 시스템의 잘못된 메모리 영역을 건드려 문제가 생길 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ALSA: dummy: Check card index validity at probe
snd_dummy_probe() blindly trusts that the given devptr->id value is
within the proper card index range. It's OK for the devices the
driver itself creates at the module probe time, but if the device is
bound manually via sysfs interface, this could be -1 as "none", and
this leads to OOB access for index[] and other parameters.
Add a sanity check for the card index and warn/correct it if it's a
value out of the range.
📍 영향받는 시스템
Linux kernel (ALSA dummy driver 사용 환경)
⚔️ 공격 벡터
sysfs 인터페이스를 통한 잘못된 장치 인덱스(예: -1)의 수동 바인딩
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 인덱스 유효성 검사 로직을 적용해야 합니다.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인합니다.