🔍 CVE-2023-53461

5.5
CVSS Score
MEDIUM
2025-10-01
2026-11-05 21:17
✅ 완료

🇰🇷 한글 설명

Linux 커널 io_uring에서 링 종료 시 completion 대기를 TASK_UNINTERRUPTIBLE에서 TASK_INTERRUPTIBLE로 변경하여, 소유 태스크가 정지된 경우 hung task 검출기가 오작동하는 문제를 해결합니다. 특히 panic-on-hung-task 설정 시 문제가 되었습니다.

💡 쉬운 설명

리눅스 커널의 비동기 입출력 기능이 종료되는 과정에서, 프로세스가 멈춰 있으면 시스템이 잘못 멈춘 것으로 판단해 문제가 생길 수 있었습니다. 이를 신호에 반응하도록 고쳐 오탐을 막았습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: io_uring: wait interruptibly for request completions on exit WHen the ring exits, cleanup is done and the final cancelation and waiting on completions is done by io_ring_exit_work. That function is invoked by kworker, which doesn't take any signals. Because of that, it doesn't really matter if we wait for completions in TASK_INTERRUPTIBLE or TASK_UNINTERRUPTIBLE state. However, it does matter to the hung task detection checker! Normally we expect cancelations and completions to happen rather quickly. Some test cases, however, will exit the ring and park the owning task stopped (eg via SIGSTOP). If the owning task needs to run task_work to complete requests, then io_ring_exit_work won't make any progress until the task is runnable again. Hence io_ring_exit_work can trigger the hung task detection, which is particularly problematic if panic-on-hung-task is enabled. As the ring exit doesn't take signals to begin with, have it wait interruptibly rather than uninterruptibly. io_uring has a separate stuck-exit warning that triggers independently anyway, so we're not really missing anything by making this switch.

📍 영향받는 시스템

io_uring을 사용하는 Linux 커널 (해당 패치 적용 전 버전)

⚔️ 공격 벡터

원격 공격 경로는 뚜렷하지 않으며, 특정 프로세스를 정지시키는 등 로컬 조건에서 hung task 검출로 인한 서비스 중단이 발생할 수 있습니다.

🛡️ 대응 방법

배포판 벤더가 제공하는 해당 수정이 포함된 최신 커널로 업데이트하고 재부팅합니다.

🔧 검증 코드

출력된 커널 버전을 배포판 보안 공지의 패치 목록과 대조하며, io_uring 심볼이 보이면 해당 기능이 커널에 포함되어 있음을 의미합니다.

Shell / Script
uname -r && grep -i io_uring /proc/kallsyms 2>/dev/null | head -n 1

📊 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