🔍 CVE-2026-64082

7.8
CVSS Score
HIGH
2026-07-19
2026-09-03 20:03
✅ 완료

🇰🇷 한글 설명

Linux 커널의 RISC-V 아키텍처에서 사용자 레지스터 복사 실패 시 초기화되지 않은 스택 변수를 레지스터 상태에 쓰는 취약점이 발견되었습니다. 이로 인해 대상 태스크의 레지스터 상태가 손상되거나 커널 스택의 민감한 정보가 유출될 수 있습니다.

💡 쉬운 설명

컴퓨터의 핵심 부품인 레지스터에 잘못된 데이터가 입력되어 시스템이 오작동하거나 중요한 정보가 밖으로 새 나갈 수 있는 문제입니다. 데이터 복사가 실패했을 때 발생하지 말아야 할 동작이 실행되는 것이 원인입니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: riscv: Fix register corruption from uninitialized cregs on error compat_riscv_gpr_set() calls cregs_to_regs() unconditionally, even when user_regset_copyin() fails. Since cregs is an uninitialized stack variable, a copyin failure causes uninitialized stack data to be written into the target task's pt_regs, corrupting its register state and potentially leaking kernel stack contents. compat_restore_sigcontext() has the same issue: it calls cregs_to_regs() even when __copy_from_user() fails, leading to the same corruption of the signal-returning task's register state on error. Only call cregs_to_regs() when the user copy succeeds.

📍 영향받는 시스템

RISC-V 아키텍처를 사용하는 Linux 커널 버전

⚔️ 공격 벡터

사용자 공간에서 의도적으로 레지스터 복사 오류를 유발하여 커널 스택 데이터를 탈취하거나 레지스터 상태를 조작

🛡️ 대응 방법

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

🔧 검증 코드

출력 결과에 riscv가 포함되어 있는지 확인하고, 사용 중인 커널 버전이 보안 패치가 적용된 최신 버전인지 확인하십시오.

Shell / Script
uname -a | grep -i riscv

📊 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