🔍 CVE-2025-40084

7.1
CVSS Score
HIGH
2025-10-29
2026-10-19 21:10
✅ 완료

🇰🇷 한글 설명

Linux 커널의 ksmbd 모듈 내 transport_ipc 구성 요소에서 발생하는 취약점입니다. handle_response() 함수가 페이로드 크기를 검증하지 않고 4바이트 핸들을 역참조함으로써, 잘못되거나 잘린 메시지가 전달될 경우 선언된 크기를 초과하여 4바이트를 읽는 메모리 읽기 오류가 발생할 수 있습니다.

💡 쉬운 설명

컴퓨터가 데이터를 읽을 때 데이터의 실제 크기를 확인하지 않고 정해진 만큼 무조건 읽으려다 발생하는 문제입니다. 이로 인해 잘못된 메모리 영역을 읽게 되어 시스템 오류나 정보 유출이 발생할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: ksmbd: transport_ipc: validate payload size before reading handle handle_response() dereferences the payload as a 4-byte handle without verifying that the declared payload size is at least 4 bytes. A malformed or truncated message from ksmbd.mountd can lead to a 4-byte read past the declared payload size. Validate the size before dereferencing. This is a minimal fix to guard the initial handle read.

📍 영향받는 시스템

ksmbd 모듈을 사용하는 Linux 커널 버전

⚔️ 공격 벡터

ksmbd.mountd로부터 조작되거나 잘린 형태의 악의적인 메시지를 전송하여 발생

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인하십시오.

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel