🇰🇷 한글 설명
Linux 커널의 ALSA Conexant 드라이버에서 잭 감지 콜백 등록 시 반환되는 오류를 확인하지 않는 취약점이 발견되었습니다. 메모리 할당 실패 등으로 인해 콜백 등록이 실패하더라도 드라이버가 계속 실행되어, 이후 잭 이벤트 처리 과정에서 커널 크래시가 발생할 수 있습니다.
💡 쉬운 설명
오디오 장치의 연결 상태를 확인하는 기능이 제대로 작동하지 않을 때, 컴퓨터 시스템이 이를 확인하지 못하고 계속 진행하다가 갑자기 멈추거나 꺼질 수 있는 문제입니다. 장치 연결 시 발생하는 오류를 제대로 처리하지 못해 발생하는 시스템 불안정 문제입니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ALSA: hda/conexant: Fix missing error check for jack detection
In cx_probe(), the return value of snd_hda_jack_detect_enable_callback()
is ignored. This function returns a pointer, and if it fails (e.g., due
to memory allocation failure), it returns an error pointer which must
be checked using IS_ERR().
If the registration fails, the driver continues to probe, but the jack
detection callback will not be registered. This can lead to a kernel
crash later when the driver attempts to handle jack events or accesses
the uninitialized structure.
Check the return value using IS_ERR() and propagate the error via
PTR_ERR() to the probe caller.
📍 영향받는 시스템
Linux Kernel (ALSA hda/conexant driver 포함 버전)
⚔️ 공격 벡터
로컬 공격자가 메모리 부족 상황을 유도하여 드라이버의 오류 처리를 방해함으로써 커널 패닉을 유발할 수 있음
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인하십시오.