🇰🇷 한글 설명
Linux 커널의 swiotlb 구성 요소에서 CONFIG_SWIOTLB_DYNAMIC 설정 시 경계 외(out-of-bounds) TLB 할당이 발생하는 취약점입니다. free list의 길이가 IO TLB 크기를 초과하여 초기화될 수 있어, swiotlb_area_find_slots() 함수가 버퍼 범위를 벗어난 슬롯을 할당할 위험이 있습니다.
💡 쉬운 설명
컴퓨터의 메모리를 관리하는 과정에서 정해진 범위를 넘어서는 잘못된 영역을 사용하게 되는 오류입니다. 이로 인해 시스템의 데이터가 손상되거나 보안 문제가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
swiotlb: fix out-of-bounds TLB allocations with CONFIG_SWIOTLB_DYNAMIC
Limit the free list length to the size of the IO TLB. Transient pool can be
smaller than IO_TLB_SEGSIZE, but the free list is initialized with the
assumption that the total number of slots is a multiple of IO_TLB_SEGSIZE.
As a result, swiotlb_area_find_slots() may allocate slots past the end of
a transient IO TLB buffer.
📍 영향받는 시스템
CONFIG_SWIOTLB_DYNAMIC 옵션이 활성화된 Linux 커널 버전
⚔️ 공격 벡터
메모리 할당 로직의 결함을 이용한 경계 외 메모리 접근 및 조작
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인