🇰🇷 한글 설명
Linux 커널의 SMB 클라이언트 구성 요소에서 cifs_try_adding_channels() 함수 호출 중 Use-After-Free 취약점이 발견되었습니다. 채널 생성 실패 시 인터페이스 참조를 해제한 후 메모리에 접근하여 발생하는 문제로, 커널 메모리 손상이나 시스템 충돌을 유발할 수 있습니다.
💡 쉬운 설명
프로그램이 이미 삭제되어 사라진 메모리 공간을 다시 사용하려고 시도할 때 발생하는 오류입니다. 이로 인해 컴퓨터 시스템이 갑자기 멈추거나 해커가 시스템 권한을 탈취할 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
smb: client: Fix use-after-free in cifs_try_adding_channels()
cifs_try_adding_channels() takes a temporary reference to an interface
before dropping iface_lock. If cifs_ses_add_channel() fails, it drops
that reference and then increments iface->weight_fulfilled.
A concurrent interface list refresh can remove the list reference while
channel creation is in progress. In that case, the failure-path
kref_put() releases the last reference and frees iface. Updating
weight_fulfilled afterward then accesses freed memory.
Increment weight_fulfilled before dropping the temporary reference,
keeping iface alive for the final access.
📍 영향받는 시스템
Linux Kernel (SMB/CIFS client module 포함 버전)
⚔️ 공격 벡터
네트워크를 통한 SMB 채널 생성 요청 및 동시 인터페이스 리스트 갱신 유도
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인하십시오.