🔍 CVE-2021-47374

7.5
CVSS Score
HIGH
2024-05-21
2026-08-04 10:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 dma-debug 기능에서 특정 드라이버가 DMA API를 사용할 때 오류 메시지가 초당 수백만 번 발생할 수 있는 취약점입니다. 이로 인해 커널의 printk 버퍼에 과도한 스팸이 발생하고 CPU 사용률이 100%까지 치솟는 문제가 발생할 수 있습니다.

💡 쉬운 설명

특정 장치 드라이버에서 오류가 발생할 때, 컴퓨터가 너무 많은 경고 메시지를 한꺼번에 쏟아내어 컴퓨터가 느려지거나 멈출 수 있는 문제입니다. 메시지 출력 횟수를 제한하여 시스템 부하를 방지하도록 수정되었습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: dma-debug: prevent an error message from causing runtime problems For some drivers, that use the DMA API. This error message can be reached several millions of times per second, causing spam to the kernel's printk buffer and bringing the CPU usage up to 100% (so, it should be rate limited). However, since there is at least one driver that is in the mainline and suffers from the error condition, it is more useful to err_printk() here instead of just rate limiting the error message (in hopes that it will make it easier for other drivers that suffer from this issue to be spotted).

📍 영향받는 시스템

DMA API를 사용하는 특정 드라이버가 포함된 Linux 커널 버전

⚔️ 공격 벡터

특정 드라이버의 오류 조건을 유발하는 동작을 통해 CPU 자원 고갈 유도 (DoS)

🛡️ 대응 방법

dma-debug의 오류 메시지 출력 제한(rate limiting) 및 err_printk()가 적용된 최신 Linux 커널로 업데이트

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 패치된 최신 보안 업데이트 버전인지 확인합니다.

Shell / Script
uname -r

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

💻 영향받는 소프트웨어

Linux Kernel