🇰🇷 한글 설명
리눅스 커널의 MMC 코어에서 claim 및 retune 플래그가 비트필드 내에서 공유되어 발생하는 경합 조건 취약점입니다. 비동기 컨텍스트에서 서로 다른 플래그를 업데이트할 때 Read-Modify-Write(RMW) 과정에서 다른 비트가 덮어씌워져 시스템 경고가 발생할 수 있습니다.
💡 쉬운 설명
여러 작업이 동시에 메모리의 같은 구역을 수정하려고 할 때, 한 작업이 다른 작업의 변경 사항을 실수로 지워버릴 수 있는 문제입니다. 이로 인해 시스템이 예상치 못한 오류를 일으키거나 경고를 발생시킬 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
mmc: core: Avoid bitfield RMW for claim/retune flags
Move claimed and retune control flags out of the bitfield word to
avoid unrelated RMW side effects in asynchronous contexts.
The host->claimed bit shared a word with retune flags. Writes to claimed
in __mmc_claim_host() or retune_now in mmc_mq_queue_rq() can overwrite
other bits when concurrent updates happen in other contexts, triggering
spurious WARN_ON(!host->claimed). Convert claimed, can_retune,
retune_now and retune_paused to bool to remove shared-word coupling.
📍 영향받는 시스템
Linux Kernel (MMC core 관련 모듈 사용 시스템)
⚔️ 공격 벡터
비동기적인 I/O 요청을 통한 커널 내 경합 조건 유도
🛡️ 대응 방법
해당 취약점이 수정된 최신 리눅스 커널 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 패치가 적용된 배포판의 보안 업데이트 버전인지 확인