🇰🇷 한글 설명
Linux 커널의 UDF 파일 시스템에서 파티션 디스크립터 관리 오류로 인해 힙 영역의 경계 외 쓰기(Out-of-bounds write)가 발생할 수 있는 취약점입니다. 조작된 UDF 이미지를 마운트할 경우 파티션 디스크립터가 중복 추가되어 할당된 메모리 범위를 벗어나는 쓰기 작업이 수행될 수 있습니다.
💡 쉬운 설명
악의적으로 만들어진 특수한 디스크 이미지를 컴퓨터에 연결하면, 시스템의 메모리 관리 규칙을 어긋나게 만들어 오류를 일으키거나 해킹에 이용될 수 있습니다. 이는 메모리의 정해진 공간을 넘어서 데이터를 쓰는 문제로 인해 발생합니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
udf: fix partition descriptor append bookkeeping
Mounting a crafted UDF image with repeated partition descriptors can
trigger a heap out-of-bounds write in part_descs_loc[].
handle_partition_descriptor() deduplicates entries by partition number,
but appended slots never record partnum. As a result duplicate
Partition Descriptors are appended repeatedly and num_part_descs keeps
growing.
Once the table is full, the growth path still sizes the allocation from
partnum even though inserts are indexed by num_part_descs. If partnum is
already aligned to PART_DESC_ALLOC_STEP, ALIGN(partnum, step) can keep
the old capacity and the next append writes past the end of the table.
Store partnum in the appended slot and size growth from the next append
count so deduplication and capacity tracking follow the same model.
📍 영향받는 시스템
Linux kernel (UDF file system module 사용 환경)
⚔️ 공격 벡터
조작된 파티션 디스크립터가 포함된 UDF 이미지 파일을 마운트함
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트함
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인합니다.