🔍 CVE-2024-50207

7.8
CVSS Score
HIGH
2024-11-08
2026-08-04 11:21
✅ 완료

🇰🇷 한글 설명

리눅스 커널의 ring-buffer 구성 요소에서 서브 버퍼 순서를 변경할 때 읽기 잠금(reader locking)이 적절히 처리되지 않는 취약점입니다. 이로 인해 데이터가 수정되는 동안 읽기 작업이 동시에 수행되면 잘못된 메모리 접근이 발생하거나 시스템 충돌이 일어날 수 있습니다.

💡 쉬운 설명

데이터를 저장하는 공간의 구조를 바꾸는 도중에 다른 프로그램이 그 데이터를 읽으려고 시도하면 충돌이 발생할 수 있는 문제입니다. 이로 인해 컴퓨터 시스템이 갑자기 멈추거나 오류가 발생할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: ring-buffer: Fix reader locking when changing the sub buffer order The function ring_buffer_subbuf_order_set() updates each ring_buffer_per_cpu and installs new sub buffers that match the requested page order. This operation may be invoked concurrently with readers that rely on some of the modified data, such as the head bit (RB_PAGE_HEAD), or the ring_buffer_per_cpu.pages and reader_page pointers. However, no exclusive access is acquired by ring_buffer_subbuf_order_set(). Modifying the mentioned data while a reader also operates on them can then result in incorrect memory access and various crashes. Fix the problem by taking the reader_lock when updating a specific ring_buffer_per_cpu in ring_buffer_subbuf_order_set().

📍 영향받는 시스템

Linux Kernel (ring-buffer 관련 기능 사용 시스템)

⚔️ 공격 벡터

동시성 제어 미흡을 이용한 로컬 시스템 충돌 유도 (Race Condition)

🛡️ 대응 방법

리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 ring_buffer_subbuf_order_set() 함수에 reader_lock이 적용되도록 합니다.

🔧 검증 코드

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

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