🇰🇷 한글 설명
Linux 커널의 ALSA TAS2781 드라이버에서 비동기 펌웨어 요청이 장치 해제(unbind) 과정 중에 적절히 취소되지 않아 발생하는 취약점입니다. 장치 해제 시 드라이버의 내부 상태가 먼저 제거된 후 비동기 콜백이 실행되면 메모리 참조 오류가 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터 부품을 제거하는 과정에서 아직 진행 중인 작업이 남아 있어 시스템이 혼란을 겪고 오류를 일으킬 수 있는 문제입니다. 이로 인해 시스템이 불안정해지거나 예기치 않게 종료될 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ALSA: hda/tas2781: Cancel async firmware request at unbind
TAS2781 HDA I2C and SPI queue RCA firmware loading from component
bind with request_firmware_nowait(). The firmware loader keeps the
callback module pinned and holds a device reference, but the callback
still uses driver-private HDA state.
Component unbind removes controls and DSP state immediately. Later
device removal tears down the TAS2781 private data, including
codec_lock. If the async firmware callback runs after unbind has
started, it can operate on state that is being torn down.
Cancel or synchronize the async firmware request before removing
controls and DSP state. A queued callback is cancelled, and an
already-running callback is allowed to finish before unbind continues.
📍 영향받는 시스템
Linux kernel (ALSA TAS2781 driver component)
⚔️ 공격 벡터
로컬 공격자가 장치 드라이버의 unbind 과정을 유도하여 레이스 컨디션(Race Condition)을 발생시킴
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 비동기 펌웨어 요청 취소 로직을 적용해야 합니다.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인합니다.