🔍 CVE-2024-56709

7.8
CVSS Score
HIGH
2024-12-29
2026-08-04 11:22
✅ 완료

🇰🇷 한글 설명

Linux 커널의 io_uring 구성 요소에서 작업이 큐에 추가되기 전 iowq가 종료되었는지 확인하지 않아 발생하는 취약점입니다. 작업이 종료된 태스크를 대상으로 실행될 경우 이미 해제된 메모리에 접근하여 시스템 오류를 유발할 수 있습니다.

💡 쉬운 설명

컴퓨터가 일을 처리하는 과정에서 이미 끝난 작업에 대해 계속 명령을 내리려다 발생하는 오류입니다. 이로 인해 시스템이 갑자기 멈추거나 예상치 못한 동작을 할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: io_uring: check if iowq is killed before queuing task work can be executed after the task has gone through io_uring termination, whether it's the final task_work run or the fallback path. In this case, task work will find ->io_wq being already killed and null'ed, which is a problem if it then tries to forward the request to io_queue_iowq(). Make io_queue_iowq() fail requests in this case. Note that it also checks PF_KTHREAD, because the user can first close a DEFER_TASKRUN ring and shortly after kill the task, in which case ->iowq check would race.

📍 영향받는 시스템

io_uring을 사용하는 Linux 커널 버전

⚔️ 공격 벡터

로컬 사용자가 특정 시점에 io_uring 작업을 종료하고 태스크를 죽이는 레이스 컨디션 유도

🛡️ 대응 방법

io_uring 관련 패치가 적용된 최신 Linux 커널로 업데이트

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 해결된 보안 패치 버전 이후인지 확인합니다.

Shell / Script
uname -r

📊 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