🇰🇷 한글 설명
Linux 커널의 accel/qaic 드라이버 내 resp_worker() 함수에서 경계 검사 누락으로 인한 Out-of-bounds read 취약점이 발견되었습니다. 악의적으로 조작된 메시지가 장치로부터 전달될 경우, 메모리 경계를 넘어 읽기를 시도하여 커널 패닉이나 무한 루프를 유발할 수 있습니다.
💡 쉬운 설명
컴퓨터의 핵심 부품인 커널이 장치로부터 오는 데이터를 확인할 때, 데이터의 크기를 제대로 검사하지 않아 발생하는 문제입니다. 잘못된 데이터가 들어오면 시스템이 멈추거나 오류가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
accel/qaic: Address potential out-of-bounds read in resp_worker()
Although 'commit 2feec5ae5df7 ("accel/qaic: Handle DBC deactivation if the
owner went away")' fixes the scenario it was intended for by walking the
message and only decoding QAIC_TRANS_DEACTIVATE_FROM_DEV, if present, it
skipped over the bounds checking code that is included in decode_message().
This could lead to issues such as reading past the slab allocation's end,
infinite loops or kernel panics. For those issues to happen, a malformed
wire message is needed to be sent from the device.
Instead of duplicating the bounds checking code already present in
decode_message(), use the function inside resp_worker().
📍 영향받는 시스템
Linux kernel (accel/qaic driver 포함 버전)
⚔️ 공격 벡터
장치(Device)로부터 조작된 악성 와이어 메시지(Malformed wire message)를 전송
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인