🇰🇷 한글 설명
Linux 커널의 dm-io 구성 요소에서 BLK_STS_NOTSUPP 및 BLK_STS_INVAL 오류를 별도로 보고하도록 수정되었습니다. 이 패치를 통해 dm-raid1 사용 시 정렬되지 않은 bio 벡터를 사용할 때 발생하던 오작동을 방지하고, 특정 오류가 RAID 구성 요소(leg)의 실패로 이어지지 않도록 개선되었습니다.
💡 쉬운 설명
리눅스 시스템에서 데이터를 저장하는 방식 중 하나인 RAID 설정 시, 특정 오류가 발생하면 시스템이 이를 치명적인 고장으로 오해하여 작동을 멈추는 문제가 있었습니다. 이번 수정으로 시스템이 오류의 종류를 정확히 구분하게 되어, 사소한 오류 때문에 전체 저장 장치가 멈추는 현상을 막을 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
dm-io: report non-retryable errors separatedly
The error codes BLK_STS_NOTSUPP and BLK_STS_INVAL should not cause leg
failure on dm-raid1. This patch changes the interface to dm-io, so that
it reports two error bitmaps - error_bits and unsup_bits. The unsup_bit
bitmap tracks BLK_STS_NOTSUPP or BLK_STS_INVAL errors, the error_bits
bitmap tracks all the other errors.
dm-raid1 is changed so that it won't fail a leg if it receives an error
in the unsup_bits bitmap.
This patch (with 62dc37a819a5) fixes misbehavior if the user uses
unaligned bio vectors on dm-raid1.
📍 영향받는 시스템
Linux Kernel (dm-raid1 및 dm-io를 사용하는 시스템)
⚔️ 공격 벡터
직접적인 공격 벡터는 없으나, 정렬되지 않은 bio 벡터를 사용하는 특정 입출력 작업 시 시스템 불안정 유발 가능
🛡️ 대응 방법
dm-io 및 dm-raid1 관련 패치가 적용된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 패치가 포함된 최신 버전인지 확인