🔍 CVE-2026-89749

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

🇰🇷 한글 설명

리눅스 커널의 tracing 기능 중 event_test_stuff() 함수에서 kthread_run()의 반환값을 검증하지 않고 kthread_stop()에 전달하여 발생하는 크래시 취약점입니다. 메모리 부족 등의 이유로 스레드 생성에 실패하여 에러 포인터(ERR_PTR)가 반환될 경우, 이를 잘못 참조하여 커널 패닉이 발생할 수 있습니다.

💡 쉬운 설명

컴퓨터가 새로운 작업을 수행할 스레드를 만들려다 실패했을 때, 그 실패 신호를 제대로 확인하지 않고 바로 다음 단계로 넘어가려다 시스템이 멈추는 문제입니다. 이로 인해 시스템이 갑자기 꺼지거나 재부팅될 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: tracing: Fix crash passing ERR_PTR to kthread_stop() event_test_stuff() calls kthread_run() and unconditionally passes the returned task_struct pointer to kthread_stop(). kthread_run() returns an error pointer such as ERR_PTR(-ENOMEM) when kthread creation fails, for example under memory pressure during the boot-time event self-test. kthread_stop() then dereferences the invalid pointer, crashing the kernel. Check the result of kthread_run() before passing it to kthread_stop(). Use WARN_ON() so that a failure to create the self-test thread does not go unnoticed, matching the ring-buffer self-test fix in commit 91542863abad ("ring-buffer: Fix crash passing ERR_PTR to kthread_stop()").

📍 영향받는 시스템

Linux Kernel (tracing subsystem 관련 버전)

⚔️ 공격 벡터

메모리 부족(Memory Pressure) 상황을 유도하여 커널 크래시 유발 (로컬/시스템 자원 고갈)

🛡️ 대응 방법

커널 패치를 적용하여 kthread_run()의 반환값이 유효한지 확인하는 로직(WARN_ON)을 추가해야 합니다.

🔧 검증 코드

현재 실행 중인 커널 버전을 확인하여 해당 취약점이 수정된 패치 버전인지 확인합니다.

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel