🇰🇷 한글 설명
리눅스 커널의 dm-era 구성 요소에서 시작 섹터가 0이 아닐 경우 경계 외 메모리 접근이 발생하는 취약점이 발견되었습니다. era_map() 함수가 타겟 오프셋을 적용하기 전에 블록을 계산하여, 잘못된 절대 주소가 전달됨으로써 비트셋 범위를 벗어난 메모리 접근을 유발합니다.
💡 쉬운 설명
컴퓨터의 저장 장치를 관리하는 프로그램에서 데이터 위치를 계산할 때 실수가 발생하여, 허용되지 않은 메모리 영역을 건드릴 수 있는 문제입니다. 이로 인해 시스템이 멈추거나 보안 문제가 생길 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
dm era: fix out-of-bounds memory access for non-zero start sector
dm-era tracks writes in target-relative blocks, but era_map() calculates
the writeset block before applying the target offset. Tables with a
non-zero start sector can therefore pass an absolute mapped-device block
to metadata_current_marked().
If the absolute block is beyond the current writeset size,
writeset_marked() tests past the end of the in-core bitset. KASAN reports
this as a vmalloc-out-of-bounds access.
Apply the target offset before calculating the era block so writeset
lookups use the target-relative block number.
📍 영향받는 시스템
dm-era 기능을 사용하는 Linux Kernel (시작 섹터가 0이 아닌 설정 사용 시)
⚔️ 공격 벡터
로컬 공격자가 특정 오프셋을 가진 dm-era 테이블을 구성하여 메모리 경계 외 접근 유도
🛡️ 대응 방법
dm-era 블록 계산 시 타겟 오프셋을 먼저 적용하도록 수정된 최신 리눅스 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 취약점이 패치된 최신 보안 업데이트 버전인지 확인하십시오.