🔍 CVE-2025-39793

7.8
CVSS Score
HIGH
2025-09-12
2026-10-19 21:10
✅ 완료

🇰🇷 한글 설명

Linux 커널의 io_uring/memmap 구성 요소에서 nr_pages 값을 size_t로 형변환하기 전에 시프트 연산을 수행하여 정수 오버플로가 발생할 수 있는 취약점입니다. 일반 사용자 환경에서는 메모리 크기 검증을 통해 제한되지만, 루트 권한을 사용할 경우 4GB 이상의 메모리 할당 시 오버플로가 발생할 수 있습니다.

💡 쉬운 설명

리눅스 시스템의 메모리 관리 기능에서 숫자를 계산할 때 처리 용량을 초과하여 잘못된 값이 계산되는 오류가 있습니다. 관리자 권한을 가진 사용자가 아주 큰 메모리를 요청할 때 시스템에 문제를 일으킬 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: io_uring/memmap: cast nr_pages to size_t before shifting If the allocated size exceeds UINT_MAX, then it's necessary to cast the mr->nr_pages value to size_t to prevent it from overflowing. In practice this isn't much of a concern as the required memory size will have been validated upfront, and accounted to the user. And > 4GB sizes will be necessary to make the lack of a cast a problem, which greatly exceeds normal user locked_vm settings that are generally in the kb to mb range. However, if root is used, then accounting isn't done, and then it's possible to hit this issue.

📍 영향받는 시스템

io_uring 기능을 사용하는 Linux 커널 (root 권한 사용 시 취약)

⚔️ 공격 벡터

루트 권한을 가진 사용자가 io_uring을 통해 4GB 이상의 대규모 메모리 매핑을 시도하여 정수 오버플로 유발

🛡️ 대응 방법

io_uring/memmap 관련 패치가 적용된 최신 버전의 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:H/A:H

💻 영향받는 소프트웨어

Linux Kernel