🇰🇷 한글 설명
Linux 커널의 ALSA HDMI 코덱 드라이버 코드 재구조화 과정에서 nvhdmi-mcp 드라이버의 build_controls와 build_pcms 함수가 서로 뒤바뀌는 복사-붙여넣기 오류가 발생했습니다. 이로 인해 PCM 인스턴스가 초기화되지 않은 상태에서 함수가 호출되어 NULL 포인터 역참조가 발생하며 시스템이 충돌할 수 있습니다.
💡 쉬운 설명
컴퓨터의 소리 관련 부품을 작동시키는 코드에서 두 가지 기능의 위치가 서로 바뀌어 입력되었습니다. 이 때문에 컴퓨터가 소리 장치를 인식하려 할 때 잘못된 명령을 내려 시스템이 멈추거나 오류가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ALSA: hda/hdmi: Fix breakage at probing nvhdmi-mcp driver
After restructuring and splitting the HDMI codec driver code, each
HDMI codec driver contains the own build_controls and build_pcms ops.
A copy-n-paste error put the wrong entries for nvhdmi-mcp driver; both
build_controls and build_pcms are swapped. Unfortunately both
callbacks have the very same form, and the compiler didn't complain
it, either. This resulted in a NULL dereference because the PCM
instance hasn't been initialized at calling the build_controls
callback.
Fix it by passing the proper entries.
📍 영향받는 시스템
nvhdmi-mcp 드라이버를 사용하는 Linux 커널 시스템
⚔️ 공격 벡터
직접적인 원격 공격보다는 특정 하드웨어(HDMI 코덱)가 로드될 때 발생하는 시스템 오류(DoS) 형태의 취약점입니다.
🛡️ 대응 방법
해당 오류가 수정된 최신 버전의 Linux 커널로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 패치가 적용된 최신 릴리스 버전인지 확인하십시오.