🔍 CVE-2026-98382

7.8
CVSS Score
HIGH
2026-10-09
2026-10-24 14:16
✅ 완료

🇰🇷 한글 설명

리눅스 커널 BPF 서브시스템에서, 디바이스에 바인딩된 전용(bound-only) 프로그램이 다른 네트워크 디바이스에서도 일치하는 것으로 잘못 판단되는 문제가 해결되었습니다. 이로 인해 잘못된 드라이버용 메타데이터 kfunc가 다른 드라이버의 xdp_buff에 실행되어 커널 패닉이 발생할 수 있었습니다.

💡 쉬운 설명

특정 네트워크 장치 전용으로 만든 커널 프로그램이 다른 장치에서도 실행될 수 있었던 결함입니다. 이 때문에 잘못된 메모리를 읽어 시스템이 멈추거나 재부팅될 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: bpf: Reject dev-bound-only programs on other devices __bpf_offload_dev_match() falls back to comparing offdev pointers after an exact netdev mismatch. Bound-only programs normally have NULL offdevs, so unrelated netdevs compare equal. A bound-only program on an offload-registered netdev can instead inherit a real offdev and match a sibling port. With CAP_BPF and CAP_NET_ADMIN, a caller can use bpf(BPF_LINK_CREATE) with a different target ifindex to run metadata kfuncs specialized for the bound driver on the target driver's xdp_buff. Running a veth-bound program on tun reads beyond tun's bare stack xdp_buff as a veth_xdp_buff. Oops: general protection fault, probably for non-canonical address KASAN: null-ptr-deref in range [0x0000000000000010-0x0000000000000017] RIP: 0010:veth_xdp_rx_timestamp (drivers/net/veth.c:1673) Call Trace: ... tun_build_skb (drivers/net/tun.c:1739) tun_get_user (drivers/net/tun.c:1856) tun_chr_write_iter (drivers/net/tun.c:2091) vfs_write (fs/read_write.c:595 fs/read_write.c:687) ksys_write (fs/read_write.c:739) do_syscall_64 (arch/x86/entry/syscall_64.c:84) entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:121) Kernel panic - not syncing: Fatal exception in interrupt Restrict non-offloaded programs to exact netdev matches and retain the shared-offdev fallback only for genuinely offloaded multi-port programs.

📍 영향받는 시스템

패치 이전의 Linux 커널 (BPF 오프로드 기능을 사용하는 버전, 정확한 버전 범위는 커널 릴리스 노트 확인 필요)

⚔️ 공격 벡터

CAP_BPF와 CAP_NET_ADMIN 권한을 가진 사용자가 bpf(BPF_LINK_CREATE)로 다른 대상 ifindex를 지정해 프로그램을 실행하여 커널 패닉을 유발할 수 있습니다.

🛡️ 대응 방법

배포판 벤더가 제공하는 최신 커널 보안 업데이트를 적용하고 재부팅합니다.

🔧 검증 코드

출력된 커널 버전을 배포판 보안 공지 또는 해당 커널 패치 목록과 대조하여, 수정된 버전 이상이면 패치가 적용된 것입니다.

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