🇰🇷 한글 설명
Linux 커널의 mm/slub 구성 요소에서 object_err() 함수가 유효하지 않은 포인터에 대해 메타데이터에 접근하려 할 때 시스템 충돌이 발생할 수 있는 취약점입니다. 프리리스트(freelist) 손상 등으로 인해 잘못된 포인터가 전달될 경우, 디버깅 과정에서 커널 패닉이 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터의 메모리를 관리하는 과정에서 오류가 발생했을 때, 이를 보고하는 기능이 오히려 시스템을 멈추게 만드는 버그입니다. 잘못된 주소를 확인하려다 시스템이 충돌하는 것을 방지하기 위한 수정이 이루어졌습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
mm/slub: avoid accessing metadata when pointer is invalid in object_err()
object_err() reports details of an object for further debugging, such as
the freelist pointer, redzone, etc. However, if the pointer is invalid,
attempting to access object metadata can lead to a crash since it does
not point to a valid object.
One known path to the crash is when alloc_consistency_checks()
determines the pointer to the allocated object is invalid because of a
freelist corruption, and calls object_err() to report it. The debug code
should report and handle the corruption gracefully and not crash in the
process.
In case the pointer is NULL or check_valid_pointer() returns false for
the pointer, only print the pointer value and skip accessing metadata.
📍 영향받는 시스템
Linux Kernel (slub 메모리 할당자를 사용하는 버전)
⚔️ 공격 벡터
메모리 프리리스트 손상을 유발하여 커널의 디버깅 함수를 호출하게 만드는 방식
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인하십시오.