🔍 CVE-2026-72028

0.0
CVSS Score
UNKNOWN
2026-08-15
2026-08-17 06:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 RISC-V 아키텍처에서 kretprobe 사용 시 스택 포인터(sp)를 제대로 저장하지 않아 발생하는 취약점입니다. 이로 인해 커널이 잘못된 메모리 주소에 접근하게 되어 시스템이 충돌(Crash)할 수 있습니다.

💡 쉬운 설명

컴퓨터의 두뇌 역할을 하는 커널이 특정 작업을 기록하는 과정에서 중요한 위치 정보를 잃어버려 시스템이 멈추는 문제입니다. RISC-V라는 특정 설계 방식을 사용하는 시스템에서 발생합니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: riscv: probes: save original sp in rethook trampoline Reading a word from the stack in a kretprobe crashes a risc-v kernel. $ cd /sys/kernel/tracing/ $ echo 'r n_tty_write $stack0' > dynamic_events $ echo 1 > events/kprobes/enable Unable to handle kernel paging request at virtual address 0000000200000128 ... [<ffffffff80016d16>] regs_get_kernel_stack_nth+0x26/0x38 [<ffffffff80177196>] process_fetch_insn+0x3ee/0x760 [<ffffffff80177836>] kretprobe_trace_func+0x116/0x1f0 [<ffffffff8017795a>] kretprobe_dispatcher+0x4a/0x58 [<ffffffff8013572e>] kretprobe_rethook_handler+0x5e/0x90 [<ffffffff80180838>] rethook_trampoline_handler+0x70/0x108 [<ffffffff8001ba32>] arch_rethook_trampoline_callback+0x12/0x1c [<ffffffff8001ba84>] arch_rethook_trampoline+0x48/0x94 [<ffffffff8067872a>] tty_write+0x1a/0x30 In regs_get_kernel_stack_nth, regs->sp contains an arbitrary value. arch_rethook_trampoline saves the registers from the probed function in a struct pt_regs. sp is not saved. Instead, sp is decremented for arch_rethook_trampoline's local stack. Fix this crash and save the original sp along with the other registers. Use a0 as a temporary register, it is overwritten anyway. [[email protected]: added Fixes tag; cc'ed stable]

📍 영향받는 시스템

RISC-V 아키텍처를 사용하는 Linux 커널 시스템

⚔️ 공격 벡터

로컬 사용자가 커널 트레이싱(kretprobe) 기능을 사용하여 특정 함수를 모니터링할 때 발생 (로컬 공격)

🛡️ 대응 방법

해당 취약점이 수정된 최신 버전의 Linux 커널로 업데이트하십시오.

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 패치된 이후의 버전인지 확인하십시오.

Shell / Script
uname -a

💻 영향받는 소프트웨어

Linux Kernel