🔍 CVE-2024-46762

7.8
CVSS Score
HIGH
2024-09-18
2026-08-04 11:20
✅ 완료

🇰🇷 한글 설명

Linux 커널의 Xen privcmd에서 irqfd 할당과 해제 작업이 동시에 발생할 때 발생하는 레이스 컨디션 취약점입니다. 이로 인해 이미 해제된 kirqfd 인스턴스에 접근하게 되어 커널 오류(Kernel Oops)가 발생할 수 있습니다.

💡 쉬운 설명

컴퓨터의 핵심 시스템인 커널에서 두 가지 작업이 동시에 처리되려 할 때 충돌이 발생하는 문제입니다. 이 충돌로 인해 시스템이 갑자기 멈추거나 오류가 발생할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: xen: privcmd: Fix possible access to a freed kirqfd instance Nothing prevents simultaneous ioctl calls to privcmd_irqfd_assign() and privcmd_irqfd_deassign(). If that happens, it is possible that a kirqfd created and added to the irqfds_list by privcmd_irqfd_assign() may get removed by another thread executing privcmd_irqfd_deassign(), while the former is still using it after dropping the locks. This can lead to a situation where an already freed kirqfd instance may be accessed and cause kernel oops. Use SRCU locking to prevent the same, as is done for the KVM implementation for irqfds.

📍 영향받는 시스템

Xen privcmd를 사용하는 Linux 커널 버전

⚔️ 공격 벡터

동시에 ioctl 호출을 수행하여 레이스 컨디션을 유발하는 로컬 공격

🛡️ 대응 방법

SRCU 잠금 메커니즘이 적용된 최신 Linux 커널로 업데이트

🔧 검증 코드

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

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