🔍 CVE-2026-45881

5.5
CVSS Score
MEDIUM
2026-05-27
2026-06-25 21:12
✅ 완료

🇰🇷 한글 설명

Linux 커널의 mediatek svs 드라이버 내 svs_enable_debug_write() 함수에서 메모리 누수 취약점이 발견되었습니다. kstrtoint() 함수가 실패할 경우 memdup_user_nul()로 할당된 버퍼가 해제되지 않고 남게 되는 문제입니다. 이를 해결하기 위해 __free(kfree)를 사용하여 메모리가 자동으로 해제되도록 수정되었습니다.

💡 쉬운 설명

특정 하드웨어 드라이버를 사용할 때 프로그램이 메모리를 사용한 후 제대로 돌려주지 않는 문제가 있었습니다. 이 문제가 반복되면 시스템의 메모리가 부족해질 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: soc: mediatek: svs: Fix memory leak in svs_enable_debug_write() In svs_enable_debug_write(), the buf allocated by memdup_user_nul() is leaked if kstrtoint() fails. Fix this by using __free(kfree) to automatically free buf, eliminating the need for explicit kfree() calls and preventing leaks. [Angelo: Added missing cleanup.h inclusion]

📍 영향받는 시스템

MediaTek SVS 드라이버를 사용하는 Linux 커널 버전

⚔️ 공격 벡터

로컬 사용자가 잘못된 값을 입력하여 kstrtoint() 함수를 실패하게 유도함으로써 메모리 누수 유발

🛡️ 대응 방법

해당 취약점이 수정된 최신 Linux 커널 버전으로 업데이트

🔧 검증 코드

출력된 커널 버전이 취약점이 수정된 패치 버전 이후인지 확인

Shell / Script
uname -r

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

💻 영향받는 소프트웨어

Linux Kernel