🇰🇷 한글 설명
Linux 커널의 platform/x86/intel/tpmi 구성 요소 내 mem_write() 함수에서 메모리 누수 취약점이 발견되었습니다. parse_int_array() 함수가 반환하는 임시 배열이 모든 종료 경로에서 적절히 해제되지 않는 문제를 cleanup.h를 사용하여 해결했습니다.
💡 쉬운 설명
컴퓨터의 핵심 운영체제인 리눅스에서 메모리를 사용한 뒤 제대로 돌려주지 않는 실수가 발견되었습니다. 이 실수가 반복되면 시스템의 메모리가 부족해질 수 있어 이를 수정하는 패치가 적용되었습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
platform/x86/intel/tpmi: use cleanup helpers in mem_write()
In mem_write(), the temporary array returned by
parse_int_array_user() must be released on all exit paths.
Convert the array variable to use cleanup.h scope-based
cleanup so it is freed automatically on return.
This also moves the array declaration next to
parse_int_array_user() as required by cleanup.h usage
guidelines.
📍 영향받는 시스템
Linux kernel (platform/x86/intel/tpmi 모듈을 사용하는 x86 시스템)
⚔️ 공격 벡터
로컬 공격자가 특정 시스템 호출을 반복하여 메모리 자원을 고갈시키는 방식
🛡️ 대응 방법
최신 보안 패치가 적용된 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인