🇰🇷 한글 설명
Linux 커널의 SMB 클라이언트에서 smb2_unlink() 함수가 초기화되지 않은 변수로 인해 시스템 오류(kernel oops)를 발생시킬 수 있습니다. SMB2_open_init() 또는 SMB2_close_init() 실패 시 메모리 구조가 제대로 초기화되지 않아 시스템 충돌을 유발합니다.
💡 쉬운 설명
Linux에서 Windows 파일 공유(SMB) 접속 중 특정 오류 상황에서 시스템이 충돌할 수 있습니다. 이는 메모리 초기화 누락이 원인입니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
smb: client: fix oops due to uninitialised var in smb2_unlink()
If SMB2_open_init() or SMB2_close_init() fails (e.g. reconnect), the
iovs set @rqst will be left uninitialised, hence calling
SMB2_open_free(), SMB2_close_free() or smb2_set_related() on them will
oops.
Fix this by initialising @close_iov and @open_iov before setting them
in @rqst.
📍 영향받는 시스템
Linux kernel 5.10 이상의 SMB 클라이언트 기능이 활성화된 시스템
⚔️ 공격 벡터
SMB 연결 재개 또는 네트워크 오류로 인한 SMB2_open_init()/SMB2_close_init() 실패 조건
🛡️ 대응 방법
최신 보안 패치가 포함된 kernel 버전으로 업데이트
🔧 검증 코드
표시된 커널 버전이 해당 CVE 패치를 포함한 최신 버전인지 Linux 공식 릴리스 노트에서 확인하세요
uname -r | grep -oE '[0-9]+\.[0-9]+\.[0-9]+'