🇰🇷 한글 설명
Linux 커널의 iommufd 구성 요소에서 veventq_depth 값이 사용자 공간으로부터 제한 없이 입력될 수 있는 취약점이 발견되었습니다. 공격자가 매우 큰 값을 입력할 경우 커널 메모리 자원을 과도하게 할당하여 시스템 자원을 고갈시킬 수 있습니다.
💡 쉬운 설명
사용자가 시스템의 메모리를 무제한으로 사용하도록 요청할 수 있는 결함이 있습니다. 이를 통해 컴퓨터의 메모리를 모두 써버려 시스템을 멈추게 만들 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
iommufd: Set veventq_depth upper bound
iommufd_veventq_alloc() accepts any !0 veventq_depth from userspace, with
an upper bound at U32_MAX.
This leaves a vulnerability where userspace can allocate excessively large
queues to exhaust kernel memory reserves.
Cap the veventq_depth (maximum number of entries) to 1 << 19, matching the
maximum number of entries in the SMMUv3 EVTQ (the largest use case today).
📍 영향받는 시스템
iommufd 기능이 포함된 Linux 커널 버전
⚔️ 공격 벡터
사용자 공간(Userspace)에서 iommufd를 통해 비정상적으로 큰 veventq_depth 값을 할당 요청
🛡️ 대응 방법
veventq_depth의 상한선을 1 << 19로 제한하는 최신 커널 패치 적용
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 최신 보안 업데이트 버전인지 확인