🔍 CVE-2026-90195

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

🇰🇷 한글 설명

Linux 커널의 RISC-V 아키텍처에서 BPF kfunc 인자의 부호 확장(sign-extension)이 누락되는 취약점이 발견되었습니다. RV64 ABI 규격에 따라 1바이트 및 2바이트 부호 있는 인자는 부호 확장이 필요하지만, 현재 JIT 컴파일러가 이를 수행하지 않아 데이터 오류가 발생할 수 있습니다.

💡 쉬운 설명

컴퓨터가 작은 숫자를 큰 저장 공간에 옮길 때 숫자의 앞부분을 채워주는 과정에서 실수가 발생한 것입니다. 이로 인해 RISC-V 기반 시스템에서 특정 프로그램이 숫자를 잘못 읽어 오류가 생길 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: riscv, bpf: Fix missing sign-ext for signed 1-byte and 2-byte kfunc args On RV64, the ABI requires sign-extension for signed 1-byte and 2-byte kfunc args. However, the RV64 JIT currently does not perform sign-extension for such kfunc args. Before commit 7ce090afbf72 ("bpf: Infer zext_dst based on static register liveness analysis"), state pruning could potentially omit zero-extension of 32-bit subregisters, which inadvertently masked the above issue by making the args appear as if they had been properly sign-extended. After that commit, the problem is exposed, causing the kfunc_call/kfunc_call_test4 selftest to fail. Fix this by extending the existing sign-extension logic to handle signed 1-byte and 2-byte kfunc args as well.

📍 영향받는 시스템

RISC-V(RV64) 아키텍처를 사용하는 Linux 커널 (특정 커밋 이후 버전)

⚔️ 공격 벡터

로컬 공격자가 조작된 BPF 프로그램을 실행하여 잘못된 인자 값을 전달함으로써 커널 동작의 무결성을 해칠 수 있음

🛡️ 대응 방법

부호 확장 로직이 수정된 최신 Linux 커널 버전으로 업데이트

🔧 검증 코드

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

Shell / Script
uname -a

💻 영향받는 소프트웨어

Linux Kernel