🇰🇷 한글 설명
리눅스 커널의 platform/x86 toshiba_haps 드라이버에서 메모리 누수 문제가 수정되었습니다. toshiba_haps_add()에서 객체 할당 후 오류 반환 시 메모리가 해제되지 않았고, toshiba_haps_remove()에서는 포인터를 지우기 전에 객체를 해제하지 않아 메모리가 회수되지 않았습니다. devm_kzalloc()을 사용해 이 문제를 해결했습니다.
💡 쉬운 설명
Toshiba 노트북의 특수 기능을 제어하는 리눅스 드라이버가 사용한 메모리를 제대로 돌려주지 않던 버그입니다. 장기간 사용 시 메모리가 조금씩 낭비되는 문제가 있었고 이를 수정했습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
platform/x86: toshiba_haps: Fix memory leaks in add/remove routines
toshiba_haps_add() leaks the haps object allocated by it if it returns
an error after allocating that object successfully.
toshiba_haps_remove() does not free the object pointed to by
toshiba_haps before clearing that pointer, so it becomes unreachable
allocated memory.
Address these memory leaks by using devm_kzalloc() for allocating
the memory in question.
📍 영향받는 시스템
Linux 커널의 toshiba_haps 드라이버를 사용하는 Toshiba 노트북 (수정 전 커널 버전)
⚔️ 공격 벡터
CVSS 점수가 0.0으로 공격 벡터는 확인되지 않았으며, 주로 메모리 누수에 따른 리소스 고갈 및 안정성 문제입니다.
🛡️ 대응 방법
배포판의 최신 커널 업데이트를 설치하고 재부팅하세요.
🔧 검증 코드
출력된 커널 버전이 배포판이 제공하는 수정 패치 이후 버전인지 확인하고, 배포판 보안 공지에서 해당 패치 포함 여부를 대조하세요.