🇰🇷 한글 설명
Linux 커널의 xhci 드라이버 내 Etron 하드웨어 워크아라운드 코드에서 잘못된 포인터 역참조 취약점이 발견되었습니다. 특정 상황에서 유효하지 않은 메모리 주소에 접근하여 커널 크래시를 유발하거나 시스템 동작을 불안정하게 만들 수 있습니다.
💡 쉬운 설명
USB 장치를 연결하여 사용하는 과정에서 컴퓨터의 핵심 시스템(커널)이 갑자기 멈추거나 꺼질 수 있는 오류입니다. 특정 USB 장치가 잘못된 명령을 보낼 때 시스템이 이를 처리하지 못해 발생합니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
usb: xhci: Fix invalid pointer dereference in Etron workaround
This check is performed before prepare_transfer() and prepare_ring(), so
enqueue can already point at the final link TRB of a segment. And indeed
it will, some 0.4% of times this code is called.
Then enqueue + 1 is an invalid pointer. It will crash the kernel right
away or load some junk which may look like a link TRB and cause the real
link TRB to be replaced with a NOOP. This wouldn't end well.
Use a functionally equivalent test which doesn't dereference the pointer
and always gives correct result.
Something has crashed my machine twice in recent days while playing with
an Etron HC, and a control transfer stress test ran for confirmation has
just crashed it again. The same test passes with this patch applied.
📍 영향받는 시스템
Etron 컨트롤러를 사용하는 특정 하드웨어가 연결된 Linux 커널 시스템
⚔️ 공격 벡터
취약한 USB 장치(Etron HC 등)를 통해 악의적인 컨트롤 전송(Control Transfer) 스트레스 테스트 수행
🛡️ 대응 방법
해당 취약점이 수정된 최신 버전의 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 패치가 적용된 보안 업데이트 버전인지 확인