🇰🇷 한글 설명
리눅스 커널의 SMB 클라이언트에서 cifsFileInfo 구조체의 비트필드 공유로 인한 Read-Modify-Write(RMW) 경합 조건 취약점이 발견되었습니다. 여러 플래그가 동일한 바이트 내에 저장되어 있어, 서로 다른 경로에서 동시에 업데이트될 경우 한쪽의 변경 사항이 다른 쪽을 덮어쓸 수 있습니다. 이를 해결하기 위해 비트필드를 개별 불리언(bool) 필드로 분리하였습니다.
💡 쉬운 설명
여러 정보가 하나의 작은 상자 안에 섞여 있어서, 두 명이 동시에 정보를 수정하면 한 명의 작업이 사라질 수 있는 문제입니다. 이로 인해 시스템 설정이 꼬이거나 예상치 못한 오류가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
smb: client: split cifsFileInfo bitfields to avoid shared-byte RMW races
The invalidHandle, swapfile, oplock_break_cancelled, offload,
and status_file_deleted fields are stored in the same bitfield byte
in struct cifsFileInfo, but are updated in different code paths that
may run simultaneously, and are protected by different locks. Since
bitfield assignments generate byte-level read-modify-write operations,
a modification to one flag can overwrite a concurrent modification to
another flag.
To avoid these races, convert these flags from a bitfield to
separate bool fields.
📍 영향받는 시스템
Linux kernel (SMB client module)
⚔️ 공격 벡터
동시성 제어 미흡을 이용한 로컬 또는 네트워크 기반의 경합 조건 유발
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인하십시오.