🔍 CVE-2026-64163

5.5
CVSS Score
MEDIUM
2026-07-19
2026-10-30 13:19
✅ 완료

🇰🇷 한글 설명

Linux 커널의 kprobes 산티티 테스트 실행 시, 테스트 간에 kprobes 데이터가 제대로 초기화되지 않는 취약점입니다. 이로 인해 테스트를 두 번 이상 반복 실행할 경우 등록 오류가 발생하며 최종적으로 커널 크래시(시스템 중단)가 발생할 수 있습니다.

💡 쉬운 설명

컴퓨터의 핵심 기능인 커널을 테스트할 때, 이전 테스트의 찌꺼기 데이터가 남아서 다음 테스트를 방해하고 시스템을 멈추게 만드는 문제입니다. 테스트가 끝날 때마다 깨끗하게 청소하도록 수정이 필요합니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: test_kprobes: clear kprobes between test runs Running the kprobes sanity tests twice makes all tests fail and eventually crashes the kernel. [root@martin-riscv-1 ~]# echo 1 > /sys/kernel/debug/kunit/kprobes_test/run ... # Totals: pass:5 fail:0 skip:0 total:5 ok 1 kprobes_test [root@martin-riscv-1 ~]# echo 1 > /sys/kernel/debug/kunit/kprobes_test/run ... # test_kprobe: EXPECTATION FAILED at lib/tests/test_kprobes.c:64 Expected 0 == register_kprobe(&kp), but register_kprobe(&kp) == -22 (0xffffffffffffffea) ... Unable to handle kernel paging request ... The testsuite defines several kprobes and kretprobes as static variables that are preserved across test runs. After register_kprobe and unregister_kprobe, a kprobe contains some leftover data that must be cleared before the kprobe can be registered again. The tests are setting symbol_name to define the probe location. Address and flags must be cleared. The existing code clears some of the probes between subsequent tests, but not between two test runs. The leftover data from a previous test run makes the registrations fail in the next run. Move the cleanups for all kprobes into kprobes_test_init, this function is called before each single test (including the first test of a test run).

📍 영향받는 시스템

Linux Kernel (kprobes 테스트 환경을 사용하는 시스템)

⚔️ 공격 벡터

로컬 권한을 가진 사용자가 kunit 테스트를 반복 실행하여 커널 패닉 유도 (DoS)

🛡️ 대응 방법

kprobes 테스트 초기화 함수(kprobes_test_init)로 모든 kprobes 정리 로직을 이동시킨 최신 커널 패치 적용

🔧 검증 코드

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

Shell / Script
uname -r

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

💻 영향받는 소프트웨어

Linux Kernel