🔍 CVE-2024-50152

9.8
CVSS Score
CRITICAL
2024-11-07
2026-08-04 11:21
✅ 완료

🇰🇷 한글 설명

리눅스 커널의 SMB 클라이언트 구성 요소에서 smb2_set_ea() 함수 호출 시 메모리가 중복 해제되는 취약점이 발견되었습니다. 특정 오류 상황에서 이미 해제된 메모리 영역을 다시 해제하려고 시도하여 시스템 불안정성을 초래할 수 있습니다.

💡 쉬운 설명

컴퓨터가 사용하던 메모리를 정리할 때, 이미 정리한 메모리를 실수로 한 번 더 정리하려고 시도하는 오류입니다. 이 과정에서 시스템이 충돌하거나 예상치 못한 동작을 일으킬 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: smb: client: fix possible double free in smb2_set_ea() Clang static checker(scan-build) warning: fs/smb/client/smb2ops.c:1304:2: Attempt to free released memory. 1304 | kfree(ea); | ^~~~~~~~~ There is a double free in such case: 'ea is initialized to NULL' -> 'first successful memory allocation for ea' -> 'something failed, goto sea_exit' -> 'first memory release for ea' -> 'goto replay_again' -> 'second goto sea_exit before allocate memory for ea' -> 'second memory release for ea resulted in double free'. Re-initialie 'ea' to NULL near to the replay_again label, it can fix this double free problem.

📍 영향받는 시스템

SMB2 프로토콜을 사용하는 리눅스 커널 기반 시스템

⚔️ 공격 벡터

악의적으로 조작된 SMB2 확장 속성(EA) 응답을 보내는 서버를 통해 클라이언트 커널에서 발생

🛡️ 대응 방법

해당 취약점이 수정된 최신 버전의 리눅스 커널로 업데이트

🔧 검증 코드

출력된 커널 버전이 취약점이 패치된 최신 보안 업데이트 버전인지 확인

Shell / Script
uname -r

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

💻 영향받는 소프트웨어

Linux Kernel