🔍 CVE-2025-21772

7.8
CVSS Score
HIGH
2025-02-27
2026-10-15 22:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 MAC 파티션 테이블 처리 코드에서 메모리 누수, 부적절한 섹터 크기 검증, 문자열 경계 검사 누락으로 인한 메모리 접근 오류가 발생합니다. 로컬 공격자가 악의적인 파티션 테이블을 통해 커널 메모리에 접근하거나 권한 상승을 유도할 수 있습니다.

💡 쉬운 설명

하드드라이브의 파티션 정보를 읽는 리눅스 코드에 버그가 있어서, 잘못된 파티션 정보를 가진 USB나 디스크를 연결하면 시스템이 손상될 수 있습니다. 주로 물리적 접근이 가능한 경우 위험합니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: partitions: mac: fix handling of bogus partition table Fix several issues in partition probing: - The bailout for a bad partoffset must use put_dev_sector(), since the preceding read_part_sector() succeeded. - If the partition table claims a silly sector size like 0xfff bytes (which results in partition table entries straddling sector boundaries), bail out instead of accessing out-of-bounds memory. - We must not assume that the partition table contains proper NUL termination - use strnlen() and strncmp() instead of strlen() and strcmp().

📍 영향받는 시스템

Linux kernel 모든 버전 (패치 적용 전)

⚔️ 공격 벡터

악의적으로 구성된 MAC 파티션 테이블이 있는 저장 매체를 시스템에 연결

🛡️ 대응 방법

Linux 커널을 최신 안정화 버전으로 업데이트

🔧 검증 코드

현재 커널 버전을 확인하여 보안 업데이트가 적용된 최신 버전인지 확인하고, 필요시 업데이트를 진행합니다.

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel