🔍 CVE-2023-53484

7.8
CVSS Score
HIGH
2025-10-01
2026-10-15 22:17
✅ 완료

🇰🇷 한글 설명

리눅스 커널의 cpu_rmap 라이브러리에서 irq_set_affinity_notifier() 함수에 NULL 인자를 전달할 경우, glues 포인터가 해제된 후에도 배열에 남아 있어 발생하는 Use-After-Free 취약점입니다. 이후 free_irq_cpu_rmap() 호출 시 해당 포인터를 다시 해제하려고 시도하여 시스템 오류나 보안 문제가 발생할 수 있습니다.

💡 쉬운 설명

컴퓨터의 핵심 부품인 커널에서 이미 사용이 끝난 메모리 주소를 다시 사용하려고 할 때 발생하는 오류입니다. 이로 인해 시스템이 갑자기 멈추거나 해커가 시스템 권한을 탈취할 위험이 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: lib: cpu_rmap: Avoid use after free on rmap->obj array entries When calling irq_set_affinity_notifier() with NULL at the notify argument, it will cause freeing of the glue pointer in the corresponding array entry but will leave the pointer in the array. A subsequent call to free_irq_cpu_rmap() will try to free this entry again leading to possible use after free. Fix that by setting NULL to the array entry and checking that we have non-zero at the array entry when iterating over the array in free_irq_cpu_rmap(). The current code does not suffer from this since there are no cases where irq_set_affinity_notifier(irq, NULL) (note the NULL passed for the notify arg) is called, followed by a call to free_irq_cpu_rmap() so we don't hit and issue. Subsequent patches in this series excersize this flow, hence the required fix.

📍 영향받는 시스템

Linux Kernel (cpu_rmap 관련 모듈 사용 시스템)

⚔️ 공격 벡터

특정 조건에서 irq_set_affinity_notifier()에 NULL을 전달하여 메모리 해제 오류를 유도하는 방식

🛡️ 대응 방법

리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 해당 취약점이 수정된 코드를 적용해야 합니다.

🔧 검증 코드

출력된 커널 버전을 확인하여 해당 취약점이 수정된 최신 패치 버전인지 확인합니다.

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