🇰🇷 한글 설명
Linux 커널의 regmap maple 구성 요소에서 mas_store_gfp() 함수 호출 실패 시 할당된 'entry'가 해제되지 않는 메모리 누수 취약점이 발견되었습니다. 이로 인해 시스템 자원이 지속적으로 소모될 수 있습니다.
💡 쉬운 설명
컴퓨터의 메모리를 관리하는 과정에서 오류가 발생했을 때, 사용하던 메모리를 다시 돌려주지 않고 그대로 두는 문제가 있습니다. 이 문제가 반복되면 컴퓨터의 메모리가 부족해질 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
regmap: maple: free entry on mas_store_gfp() failure
regcache_maple_write() allocates a new block ('entry') to merge
adjacent ranges and then stores it with mas_store_gfp().
When mas_store_gfp() fails, the new 'entry' remains allocated and
is never freed, leaking memory.
Free 'entry' on the failure path; on success continue freeing the
replaced neighbor blocks ('lower', 'upper').
📍 영향받는 시스템
Linux kernel (regmap maple 구성 요소 포함 버전)
⚔️ 공격 벡터
로컬 공격자가 특정 커널 동작을 유도하여 메모리 누수를 발생시킴
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인