🔍 CVE-2024-40956

7.8
CVSS Score
HIGH
2024-07-12
2026-08-04 11:19
✅ 완료

🇰🇷 한글 설명

리눅스 커널의 dmaengine: idxd 구성 요소에서 irq_process_work_list 처리 중 Use-After-Free 취약점이 발견되었습니다. 리스트를 순회하는 과정에서 항목을 삭제할 때 안전하지 않은 반복문을 사용하여, 다른 스레드가 해당 항목을 재사용할 경우 메모리 오류가 발생할 수 있습니다.

💡 쉬운 설명

컴퓨터가 작업 목록을 확인하고 지우는 과정에서, 이미 지워진 정보를 다시 사용하려고 시도하여 발생하는 오류입니다. 이로 인해 시스템이 갑자기 멈추거나 보안 문제가 생길 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: dmaengine: idxd: Fix possible Use-After-Free in irq_process_work_list Use list_for_each_entry_safe() to allow iterating through the list and deleting the entry in the iteration process. The descriptor is freed via idxd_desc_complete() and there's a slight chance may cause issue for the list iterator when the descriptor is reused by another thread without it being deleted from the list.

📍 영향받는 시스템

Intel Data Streaming Accelerator(IDXD)를 사용하는 리눅스 커널 버전

⚔️ 공격 벡터

특정 조건에서 DMA 엔진의 작업 목록을 조작하여 메모리 오류를 유발하는 로컬 공격

🛡️ 대응 방법

idxd 관련 Use-After-Free 패치가 적용된 최신 리눅스 커널로 업데이트

🔧 검증 코드

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

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