🔍 CVE-2025-22087

7.8
CVSS Score
HIGH
2025-04-16
2026-07-30 06:22
✅ 완료

🇰🇷 한글 설명

Linux 커널의 BPF(Berkeley Packet Filter) 구현에서 may_goto 함수가 스택에 추가로 8바이트를 사용함에 따라, stack_size를 이용한 인덱스 계산 시 interpreters[] 배열의 범위를 벗어나는 오류가 발생합니다. 이 취약점은 배열 경계 초과(Out-of-bounds)를 유발하여 시스템 불안정성을 초래할 수 있습니다.

💡 쉬운 설명

리눅스 운영체제의 특정 기능이 데이터를 처리할 때 정해진 메모리 공간보다 더 많은 공간을 사용하려고 시도하는 오류입니다. 이로 인해 프로그램이 갑자기 멈추거나 시스템에 문제가 생길 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: bpf: Fix array bounds error with may_goto may_goto uses an additional 8 bytes on the stack, which causes the interpreters[] array to go out of bounds when calculating index by stack_size. 1. If a BPF program is rewritten, re-evaluate the stack size. For non-JIT cases, reject loading directly. 2. For non-JIT cases, calculating interpreters[idx] may still cause out-of-bounds array access, and just warn about it. 3. For jit_requested cases, the execution of bpf_func also needs to be warned. So move the definition of function __bpf_prog_ret0_warn out of the macro definition CONFIG_BPF_JIT_ALWAYS_ON.

📍 영향받는 시스템

Linux Kernel (BPF 기능이 활성화된 버전)

⚔️ 공격 벡터

조작된 BPF 프로그램을 로드하여 메모리 경계 초과를 유발하는 방식

🛡️ 대응 방법

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