🔍 CVE-2026-45921

5.5
CVSS Score
MEDIUM
2026-05-27
2026-06-24 17:22
✅ 완료

🇰🇷 한글 설명

Linux 커널의 mtd 파서에서 mtd_parser_tplink_safeloader_parse() 함수 호출 시 메모리 누수가 발생하는 취약점입니다. 파티션 이름을 할당하는 과정에서 오류가 발생할 경우, 이전에 할당된 버퍼를 해제하지 않고 종료되어 메모리가 낭비됩니다.

💡 쉬운 설명

특정 장치의 정보를 읽어오는 과정에서 오류가 생기면 컴퓨터의 메모리를 제대로 돌려주지 않고 계속 점유하는 문제입니다. 이 현상이 반복되면 시스템의 메모리가 부족해져 성능이 떨어지거나 멈출 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: mtd: parsers: Fix memory leak in mtd_parser_tplink_safeloader_parse() The function mtd_parser_tplink_safeloader_parse() allocates buf via mtd_parser_tplink_safeloader_read_table(). If the allocation for parts[idx].name fails inside the loop, the code jumps to the err_free label without freeing buf, leading to a memory leak. Fix this by freeing the temporary buffer buf in the err_free label. Compile tested only. Issue found using a prototype static analysis tool and code review.

📍 영향받는 시스템

TP-Link Safeloader 파서를 사용하는 Linux 커널 기반 시스템

⚔️ 공격 벡터

로컬 공격자가 조작된 MTD 파티션 테이블을 제공하여 메모리 누수를 유도할 수 있음

🛡️ 대응 방법

해당 취약점이 수정된 최신 버전의 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