🇰🇷 한글 설명
리눅스 커널의 Renesas I3C 컨트롤러에서 DAA(동적 주소 할당) 과정 중 발생할 수 있는 경계 외 메모리 접근(Out-of-bounds access) 취약점이 해결되었습니다. I3C 버스가 비어 있을 때 응답 디스크립터의 데이터 길이 필드가 최대 장치 수를 반환하여 비트마스크 계산 시 잘못된 메모리 영역에 접근하는 문제가 있었습니다.
💡 쉬운 설명
I3C라는 통신 장치를 사용할 때, 연결된 장치가 하나도 없으면 시스템이 잘못된 숫자를 읽어 메모리의 엉뚱한 곳을 건드릴 수 있는 문제입니다. 이로 인해 시스템이 불안정해지거나 오류가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
i3c: renesas: Fix out-of-bounds access for newdevs mask
When software initiates DAA (Dynamic Address Assignment), the controller
reports the result via the NRSPQP (Normal Response Queue Port Register).
The data length field of the response descriptor, which is accessible
through the NRSPQP register, indicates the number of devices remaining
after DAA. Consequently, when the bus is empty, this field contains the
maximum number of devices supported by the controller (8 for the Renesas
I3C controller).
Adjust the condition that computes the newly discovered devices bitmask
to prevent an out-of-bounds when the I3C bus is empty.
📍 영향받는 시스템
Renesas I3C 컨트롤러를 사용하는 리눅스 커널 기반 시스템
⚔️ 공격 벡터
I3C 버스에 장치가 없는 상태에서 DAA(동적 주소 할당)를 유도하여 비정상적인 메모리 접근 유발
🛡️ 대응 방법
I3C 관련 비트마스크 계산 로직이 수정된 최신 리눅스 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 최신 버전인지 확인