🔍 CVE-2026-98084

0.0
CVSS Score
UNKNOWN
2026-09-25
2026-10-21 13:21
✅ 완료

🇰🇷 한글 설명

Linux 커널의 BPF 검증기에서 bpf_loop() 호출 시 R1 레지스터의 정밀도(precision)가 올바르게 유지되지 않는 취약점입니다. 루프의 두 번째 반복 과정에서 backtracking 시 R1의 정밀도 정보가 초기화되어, 검증기가 안전하지 않은 프로그램을 허용할 수 있는 위험이 있습니다.

💡 쉬운 설명

리눅스 운영체제의 보안 검사 도구가 반복문을 처리할 때 특정 정보를 실수로 지워버리는 버그입니다. 이로 인해 보안 규칙을 어기는 위험한 프로그램이 시스템에서 정상적인 것처럼 실행될 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: bpf: backtracking shouldn't clear outer frame R1-R5 for callbacks When processing calls to bpf_loop() verifier marks R1 (and R4) as precise. R1 tracks loop iterations number and because of the 'callback_depth < R1' mechanics in check_helper_call() must be marked precise. However, precision propagation for R1 was broken, when bpf_loop() call was verified on a second iteration. Consider the following verification trace: - main: bpf_loop(nr_loops, callback ...) - callback: BPF_EXIT - main: bpf_loop(nr_loops, callback ...) - ... While the first visit of the call to bpf_loop() propagated R1 precision as expected, the second call to mark_chain_precision() in the check_helper_call() set R1, but it was immediately reset when backtrack_insn() processed preceding BPF_EXIT in the loop deleted in this patch. Because of that, the second visit of the call to bpf_loop() injected checkpoint with R1 not marked as precise. Which could trick the verifier into accepting unsafe programs. See the next patch for an example of such program. Commit is structured in a way to minimize conflicts when 'bpf' would be eventually merged with 'bpf-next'.

📍 영향받는 시스템

bpf_loop() 함수를 사용하는 Linux 커널 버전

⚔️ 공격 벡터

정밀도 정보가 누락된 상태를 이용해 검증기를 속이는 특수하게 제작된 BPF 프로그램을 로드함

🛡️ 대응 방법

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

🔧 검증 코드

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

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel