🇰🇷 한글 설명
Linux 커널의 md/raid5 구성 요소에서 RAID5 스트라이프 너비를 계산할 때 잘못된 반올림 로직이 사용되는 취약점이 발견되었습니다. 이로 인해 특정 조건에서 데이터 섹터 매핑이 잘못되어 데이터 무결성에 문제가 생길 수 있습니다. sector_div() 산술 연산을 사용하여 스트라이프 너비에 맞게 정렬되도록 수정되었습니다.
💡 쉬운 설명
컴퓨터가 데이터를 여러 디스크에 나누어 저장할 때, 계산 실수로 인해 엉뚱한 위치에 데이터를 기록할 수 있는 오류입니다. 이 오류를 수정하여 데이터가 정확한 위치에 저장되도록 개선했습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
md/raid5: round bitmap stripes with sector division
raid5_bitmap_sector_map() aligns the array range to full RAID5 stripe
widths before converting it to component sectors. That width is
chunk_sectors multiplied by the number of data disks, and it is not
always a power of two.
Reproduce with a 4-disk RAID5, 1024-sector chunks, and three data disks.
The full-stripe width is 3072 sectors. For a one-sector write at array
sector 3072, correct rounding gives array range [3072, 6144), which maps
to component range [1024, 2048). The old round_down()/round_up() logic
instead gives [1024, 4096), which maps to [0, 1024).
Use sector_div() based arithmetic so the rounded range is aligned to the
actual RAID5 stripe width.
The deterministic mapper test now reports the fixed component range as
[1024, 2048), while the old mask-based range was [0, 1024).
📍 영향받는 시스템
Linux kernel (md/raid5 모듈을 사용하는 시스템)
⚔️ 공격 벡터
직접적인 외부 공격보다는 잘못된 데이터 매핑으로 인한 데이터 손상 또는 무결성 저해 가능성
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.