🇰🇷 한글 설명
리눅스 커널의 Firewire 코어에서 부모 장치의 포트 인덱스를 잘못 할당하는 취약점이 발견되었습니다. 3개 이상의 포트를 가진 노드 장치가 1394 OHCI 컨트롤러에 연결될 경우, 잘못된 메모리 주소 접근으로 인해 시스템 보호 오류(General Protection Fault)가 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터에 특정 종류의 연결 장치(Firewire)를 연결했을 때, 시스템이 장치의 위치를 잘못 계산하여 컴퓨터가 갑자기 멈추거나 오류가 발생하는 문제입니다. 장치 연결 과정에서 발생하는 소프트웨어 계산 실수로 인해 발생합니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
firewire: core: fix invalid port index for parent device
In a commit 24b7f8e5cd65 ("firewire: core: use helper functions for self
ID sequence"), the enumeration over self ID sequence was refactored with
some helper functions with KUnit tests. These helper functions are
guaranteed to work expectedly by the KUnit tests, however their application
includes a mistake to assign invalid value to the index of port connected
to parent device.
This bug affects the case that any extra node devices which has three or
more ports are connected to 1394 OHCI controller. In the case, the path
to update the tree cache could hits WARN_ON(), and gets general protection
fault due to the access to invalid address computed by the invalid value.
This commit fixes the bug to assign correct port index.
📍 영향받는 시스템
3개 이상의 포트를 가진 노드 장치가 연결된 1394 OHCI 컨트롤러를 사용하는 리눅스 커널 시스템
⚔️ 공격 벡터
물리적으로 취약한 Firewire 장치를 시스템에 연결하여 커널 오류 유도
🛡️ 대응 방법
커널 패치(commit 24b7f8e5cd65 포함 버전)를 적용하여 최신 리눅스 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인