🔍 CVE-2026-64322

7.8
CVSS Score
HIGH
2026-07-25
2026-10-19 21:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 UDF 파일 시스템에서 reallocationTableLen을 바이트 수가 아닌 엔트리 개수로 처리하지 않아 발생하는 취약점입니다. 조작된 UDF 이미지를 사용할 경우 커널 메모리의 범위를 벗어난 읽기(Out-of-bounds read) 및 쓰기(Out-of-bounds write)가 발생할 수 있습니다.

💡 쉬운 설명

파일 시스템을 읽을 때 데이터의 길이를 잘못 계산하여, 허용된 메모리 범위를 넘어 다른 데이터를 읽거나 덮어쓸 수 있는 오류입니다. 공격자가 특수하게 제작된 파일을 통해 시스템을 마비시키거나 조작할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: udf: validate sparing table length as an entry count, not a byte count udf_load_sparable_map() accepts a sparing table when sizeof(*st) + le16_to_cpu(st->reallocationTableLen) > sb->s_blocksize is false, i.e. it treats reallocationTableLen as a number of BYTES that must fit in the block. But the table is walked as an array of 8-byte sparingEntry elements: for (i = 0; i < le16_to_cpu(st->reallocationTableLen); i++) { struct sparingEntry *entry = &st->mapEntry[i]; ... entry->origLocation ... } in udf_get_pblock_spar15() and udf_relocate_blocks(). A reallocationTableLen of N therefore passes the check whenever sizeof(*st) + N <= blocksize, yet the consumers index sizeof(*st) + N * sizeof(struct sparingEntry) bytes -- up to ~8x the block. On a crafted UDF image this is an out-of-bounds read in udf_get_pblock_spar15(); udf_relocate_blocks() additionally feeds the same length to udf_update_tag(), whose crc_itu_t() reads far past the block, and its memmove() through st->mapEntry[] is an out-of-bounds write. Validate reallocationTableLen as the entry count it is, with struct_size().

📍 영향받는 시스템

UDF 파일 시스템을 사용하는 Linux 커널 버전

⚔️ 공격 벡터

조작된 UDF 파일 시스템 이미지를 마운트하여 커널 메모리 오버플로우 유도

🛡️ 대응 방법

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