🇰🇷 한글 설명
Linux 커널의 DAMON(Data Access Monitor) 구성 요소에서 damon_destroy_scheme 함수 호출 시 ops_filter가 제대로 해제되지 않아 메모리 누수가 발생할 수 있는 취약점입니다. 이 패치는 스킴이 파괴될 때 필터 목록과 ops_filter를 모두 적절히 해제하여 메모리 누수를 방지합니다.
💡 쉬운 설명
컴퓨터의 메모리를 관리하는 프로그램이 사용이 끝난 메모리 조각을 제대로 치우지 않아, 시간이 지나면 메모리가 부족해질 수 있는 문제입니다. 이 문제를 해결하면 시스템이 메모리를 더 효율적이고 안정적으로 사용할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
mm/damon/core: fix potential memory leak by cleaning ops_filter in damon_destroy_scheme
Currently, damon_destroy_scheme() only cleans up the filter list but
leaves ops_filter untouched, which could lead to memory leaks when a
scheme is destroyed.
This patch ensures both filter and ops_filter are properly freed in
damon_destroy_scheme(), preventing potential memory leaks.
📍 영향받는 시스템
Linux Kernel (DAMON 모듈을 사용하는 버전)
⚔️ 공격 벡터
로컬 공격자가 DAMON 스킴을 반복적으로 생성하고 삭제하여 시스템 메모리를 고갈시키는 방식
🛡️ 대응 방법
DAMON 메모리 누수 수정 패치가 적용된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인