🇰🇷 한글 설명
Linux 커널 RS9 클록 드라이버에서 9FGV0841 칩의 8개 출력에 대한 구조체 배열 크기가 부족하여 경계 초과 쓰기가 발생. 메모리 손상 및 드라이버 언바인드나 서스펜드 시 커널 크래시 유발 가능.
💡 쉬운 설명
칩 제어 소프트웨어에서 저장 공간 크기를 잘못 설정해 과도한 데이터를 쓰려고 시도했을 때 인접 메모리를 손상시키는 버그. 시스템 대기나 드라이버 종료 시 컴퓨터가 멈출 수 있음.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
clk: rs9: Reserve 8 struct clk_hw slots for for 9FGV0841
The 9FGV0841 has 8 outputs and registers 8 struct clk_hw, make sure
there are 8 slots for those newly registered clk_hw pointers, else
there is going to be out of bounds write when pointers 4..7 are set
into struct rs9_driver_data .clk_dif[4..7] field.
Since there are other structure members past this struct clk_hw
pointer array, writing to .clk_dif[4..7] fields corrupts both
the struct rs9_driver_data content and data around it, sometimes
without crashing the kernel. However, the kernel does surely
crash when the driver is unbound or during suspend.
Fix this, increase the struct clk_hw pointer array size to the
maximum output count of 9FGV0841, which is the biggest chip that
is supported by this driver.
📍 영향받는 시스템
Linux 커널 (rs9 클록 드라이버 포함, 9FGV0841 칩 기반 시스템)
⚔️ 공격 벡터
로컬 특권 상승 - 드라이버 언바인드 또는 시스템 서스펜드 작업 수행
🛡️ 대응 방법
Linux 커널 패치 적용 (clk_hw 배열 크기를 8로 증가시킨 수정본)
🔧 검증 코드
현재 실행 중인 Linux 커널 버전을 확인하여 패치 버전 이상인지 확인
uname -r && cat /proc/version | grep -oP 'Linux version \K[^ ]+'