🔍 CVE-2026-98059

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

🇰🇷 한글 설명

Linux 커널의 BPF 기능에서 sched_process_wait 트레이스포인트의 인자가 NULL이 될 수 있음에도 이를 검증하지 않아 발생하는 취약점입니다. 이로 인해 JIT 컴파일된 BPF 코드에서 NULL 포인터 역참조가 발생하여 시스템 오류를 유발할 수 있습니다.

💡 쉬운 설명

프로그램이 비어있는 값(NULL)을 처리할 때 이를 확인하지 않고 사용하려고 시도하여 시스템이 멈추거나 오류가 발생하는 문제입니다. 보안 검사 도구가 이 빈 값을 놓치고 지나가기 때문에 발생합니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: bpf: Mark sched_process_wait argument as nullable do_wait() passes wo->wo_pid to the sched_process_wait tracepoint. kernel_wait4() leaves wo_pid NULL for wait4(-1), and kernel_waitid_prepare() does likewise for waitid(P_ALL). btf_ctx_access() currently types argument 0 as PTR_TO_BTF_ID | PTR_TRUSTED. Without PTR_MAYBE_NULL, the verifier accepts an unchecked dereference. Trusted pointer loads have no fault protection, so a wait for any child can then cause a NULL pointer dereference in JITed BPF code. Add sched_process_wait to raw_tp_null_args[] with argument 0 marked nullable. The verifier rejects an unchecked dereference while preserving access after the program checks the pointer for NULL.

📍 영향받는 시스템

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

⚔️ 공격 벡터

특수하게 조작된 BPF 프로그램을 로드하여 커널 내에서 NULL 포인터 역참조를 유도

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트

🔧 검증 코드

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

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel