🔍 CVE-2026-98007

0.0
CVSS Score
UNKNOWN
2026-09-25
2026-10-19 10:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 bpf_loop() 함수에서 반복 횟수 인자에 스칼라 값이 아닌 포인터 값이 전달될 수 있는 취약점이 발견되었습니다. 이로 인해 커널 검증기(verifier)가 정밀도 역추적 과정에서 오류를 일으켜, panic_on_warn 설정이 활성화된 시스템에서 커널 패닉이 발생할 수 있습니다.

💡 쉬운 설명

프로그램이 반복 횟수를 정해줘야 하는데, 숫자 대신 메모리 주소를 입력하여 시스템을 혼란에 빠뜨릴 수 있는 문제입니다. 이로 인해 컴퓨터 시스템이 갑자기 멈추거나 재부팅될 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: bpf: Reject non-scalar bpf_loop iteration counts bpf_loop() declares its nr_loops argument as ARG_ANYTHING. Privileged programs may pass pointer values to such arguments, so check_func_arg() lets a pointer-valued R1 reach the helper-specific checks. Since commit bb124da69c47 ("bpf: keep track of max number of bpf_loop callback iterations"), the verifier marks R1 precise and reads its upper bound to limit callback simulation. Precision backtracking only accepts scalar registers, so passing a pointer instead triggers the "backtracking misuse" verifier warning. Kernels with panic_on_warn enabled subsequently panic. Introduce ARG_SCALAR for helper arguments that only accept scalar values and use it for bpf_loop() nr_loops. Generic helper argument validation then rejects pointers before loop inlining and precision processing.

📍 영향받는 시스템

bpf_loop() 함수를 사용하는 Linux 커널 (특정 커밋 bb124da69c47 이후 버전)

⚔️ 공격 벡터

권한이 있는 사용자가 특수하게 조작된 BPF 프로그램을 로드하여 커널 검증기에 잘못된 인자(포인터)를 전달

🛡️ 대응 방법

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

🔧 검증 코드

출력된 커널 버전이 취약점이 해결된 패치 버전 이후인지 확인

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel