🇰🇷 한글 설명
Linux 커널의 md/md-llbitmap 모듈에서 상태 머신 전환 전 배리어(barrier)를 설정하지 않아 발생하는 취약점입니다. llbitmap_start_write() 및 llbitmap_start_discard() 함수 호출 시 배리어 동작을 상태 머신 호출 전으로 이동시켜 레이스 컨디션(경쟁 상태)을 방지하도록 수정되었습니다.
💡 쉬운 설명
데이터를 처리하는 순서가 꼬여서 시스템이 예상치 못한 동작을 할 수 있는 결함이 있었습니다. 작업 시작 전에 반드시 지켜야 할 규칙(배리어)을 먼저 적용하도록 순서를 바로잡아 문제를 해결했습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
md/md-llbitmap: raise barrier before state machine transition
Move the barrier raise operation before calling llbitmap_state_machine()
in both llbitmap_start_write() and llbitmap_start_discard(). This
ensures the barrier is in place before any state transitions occur,
preventing potential race conditions where the state machine could
complete before the barrier is properly raised.
📍 영향받는 시스템
Linux Kernel (md/md-llbitmap 모듈을 사용하는 시스템)
⚔️ 공격 벡터
로컬 공격자가 특정 조건에서 레이스 컨디션을 유도하여 커널 상태 불일치를 유발할 수 있음
🛡️ 대응 방법
해당 패치가 적용된 최신 버전의 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인