🇰🇷 한글 설명
리눅스 커널의 md/raid1 및 raid10 구성 요소에서 분할된 md 복제 BIO의 계정 처리 오류가 수정되었습니다. 기존 로직은 복제된 BIO 여부를 정확히 판단하지 못해, 오류 발생 시 BIO가 분할되어 재제출될 때 계정이 중복 계산되거나 누락되는 문제가 있었습니다.
💡 쉬운 설명
데이터 저장 장치를 여러 개 묶어 사용하는 기능에서 데이터 처리 기록을 계산할 때 오류가 발생하는 문제입니다. 이로 인해 데이터 처리량이 실제와 다르게 기록될 수 있는 결함이 있었습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
md/raid1,raid10: fix bio accounting for split md cloned bios
Use md_cloned_bio() to control bio accounting instead of relying
on r1bio_existed in raid1 or the io_accounting flag in raid10.
The previous logic does not reliably reflect whether a bio is an
md cloned bio. When a failed bio is split and resubmitted via
bio_submit_split_bioset() on the error path, this can lead to either
double accounting for md cloned bios, or missing accounting for bios
returned from bio_submit_split_bioset()
Fix this by using md_cloned_bio() to detect md cloned bios and
skip accounting accordingly.
📍 영향받는 시스템
md/raid1 및 raid10 모듈을 사용하는 리눅스 커널 버전
⚔️ 공격 벡터
직접적인 공격은 어려우나, 시스템 오류 발생 시 데이터 처리 통계 및 자원 관리의 불일치를 유발할 수 있음
🛡️ 대응 방법
md_cloned_bio() 함수를 사용하여 BIO 계정 처리가 수정된 최신 리눅스 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인