🇰🇷 한글 설명
Linux 커널의 net/mlx5 드라이버 내 hws_pool_buddy_init() 함수 오류 경로에서 메모리 누수가 발생합니다. 오류 발생 시 할당된 할당자 구조체를 해제하지 않아 메모리가 누수되는 문제가 있었으며, kfree()를 추가하여 이를 해결했습니다.
💡 쉬운 설명
컴퓨터의 핵심 부품인 리눅스 커널에서 특정 작업 중 오류가 나면 사용했던 메모리를 제대로 돌려주지 않고 계속 쌓아두는 버그가 발견되었습니다. 이 문제가 지속되면 시스템의 메모리가 점차 부족해질 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
net/mlx5: HWS, Fix memory leak in hws_pool_buddy_init error path
In the error path of hws_pool_buddy_init(), the buddy allocator cleanup
doesn't free the allocator structure itself, causing a memory leak.
Add the missing kfree() to properly release all allocated memory.
📍 영향받는 시스템
Mellanox mlx5 드라이버를 사용하는 Linux 커널 시스템
⚔️ 공격 벡터
직접적인 공격보다는 시스템 오류를 유도하여 메모리 자원을 고갈시키는 방식의 서비스 거부(DoS) 가능성
🛡️ 대응 방법
해당 취약점이 수정된 최신 버전의 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 취약점이 패치된 최신 배포판의 버전인지 확인