🔍 CVE-2025-22039

8.8
CVSS Score
HIGH
2025-04-16
2026-09-14 12:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 ksmbd 구성 요소에서 dacloffset 필드의 정수 오버플로 취약점이 발견되었습니다. 이 취약점은 dacloffset가 int 타입으로 처리되어 경계 검사를 우회할 수 있으며, 이로 인해 커널 메모리 오버플로 및 시스템 충돌이 발생할 수 있습니다.

💡 쉬운 설명

리눅스 서버의 파일 공유 기능에서 숫자가 너무 커져 계산 오류가 발생하는 보안 약점이 발견되었습니다. 공격자가 이를 이용하면 서버를 강제로 멈추게 하거나 시스템을 마비시킬 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix overflow in dacloffset bounds check The dacloffset field was originally typed as int and used in an unchecked addition, which could overflow and bypass the existing bounds check in both smb_check_perm_dacl() and smb_inherit_dacl(). This could result in out-of-bounds memory access and a kernel crash when dereferencing the DACL pointer. This patch converts dacloffset to unsigned int and uses check_add_overflow() to validate access to the DACL.

📍 영향받는 시스템

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

⚔️ 공격 벡터

조작된 SMB 패킷을 전송하여 dacloffset 값을 오버플로 시킴으로써 경계 검사를 우회

🛡️ 대응 방법

ksmbd 관련 커널 패치를 적용하거나 최신 보안 업데이트가 포함된 커널로 업데이트

🔧 검증 코드

출력된 커널 버전이 취약점이 해결된 최신 패치 버전인지 배포판 보안 공지를 통해 확인

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel