🇰🇷 한글 설명
리눅스 커널의 SMB 클라이언트 모듈에서 cifs_free_subrequest() 함수 호출 시 NULL 포인터 역참조가 발생할 수 있는 취약점입니다. 특정 조건에서 서버 객체가 NULL인 상태로 크레딧 관련 함수를 호출하여 시스템 오류를 유발할 수 있습니다.
💡 쉬운 설명
컴퓨터가 네트워크 공유 폴더를 사용할 때, 연결된 서버 정보가 비어있는 상태에서 정보를 읽으려다 시스템이 멈추거나 오류가 발생하는 문제입니다. 이는 프로그램이 존재하지 않는 주소를 참조하려고 할 때 발생하는 전형적인 오류입니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
smb/client: avoid possible NULL dereference in cifs_free_subrequest()
Clang static checker (scan-build) warning:
cifsglob.h:line 890, column 3
Access to field 'ops' results in a dereference of a null pointer.
Commit 519be989717c ("cifs: Add a tracepoint to track credits involved in
R/W requests") adds a check for 'rdata->server', and let clang throw this
warning about NULL dereference.
When 'rdata->credits.value != 0 && rdata->server == NULL' happens,
add_credits_and_wake_if() will call rdata->server->ops->add_credits().
This will cause NULL dereference problem. Add a check for 'rdata->server'
to avoid NULL dereference.
📍 영향받는 시스템
SMB 클라이언트(CIFS) 모듈을 사용하는 리눅스 커널 버전
⚔️ 공격 벡터
네트워크를 통한 직접적인 공격보다는 특정 네트워크 상황이나 SMB 요청 처리 과정에서 시스템 오류를 유발하는 방식
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전을 확인하여 해당 취약점이 해결된 패치 버전인지 확인하십시오.