🇰🇷 한글 설명
Linux 커널의 vt6655 드라이버 초기화 과정에서 메모리 해제 루프에 오류가 발견되었습니다. 메모리 할당 실패 시 인덱스 처리 오류로 인해 메모리 누수가 발생하거나, 잘못된 메모리 위치에 접근하여 시스템 불안정을 초래할 수 있습니다.
💡 쉬운 설명
컴퓨터 부품을 작동시키기 위해 메모리를 빌려 쓰는 과정에서, 빌린 메모리를 제대로 돌려주지 않거나 엉뚱한 곳을 건드리는 버그가 있습니다. 이로 인해 컴퓨터의 메모리가 낭비되거나 시스템이 갑자기 멈출 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
staging: vt6655: fix some erroneous memory clean-up loops
In some initialization functions of this driver, memory is allocated with
'i' acting as an index variable and increasing from 0. The commit in
"Fixes" introduces some clean-up codes in case of allocation failure,
which free memory in reverse order with 'i' decreasing to 0. However,
there are some problems:
- The case i=0 is left out. Thus memory is leaked.
- In case memory allocation fails right from the start, the memory
freeing loops will start with i=-1 and invalid memory locations will
be accessed.
One of these loops has been fixed in commit c8ff91535880 ("staging:
vt6655: fix potential memory leak"). Fix the remaining erroneous loops.
📍 영향받는 시스템
Linux kernel (vt6655 driver 포함 버전)
⚔️ 공격 벡터
드라이버 초기화 과정에서 의도적인 메모리 할당 실패를 유도하여 메모리 누수 또는 잘못된 메모리 접근 유발
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 취약점이 수정된 패치 버전 이후인지 확인하십시오.