CVE 목록
Medium4.7유형: 운영체제

CVE-2025-39961

공개
2025년 10월 9일
수정
2026년 10월 20일
조회
0
상태
Modified
관련 내용 구글 검색하기한국어English
번역 대상이 아니에요. 원문(영어)만 제공돼요.
4.7Medium

개요

이 취약점이 무엇인지

In the Linux kernel, the following vulnerability has been resolved:

iommu/amd/pgtbl: Fix possible race while increase page table level

The AMD IOMMU host page table implementation supports dynamic page table levels (up to 6 levels), starting with a 3-level configuration that expands based on IOVA address. The kernel maintains a root pointer and current page table level to enable proper page table walks in alloc_pte()/fetch_pte() operations.

The IOMMU IOVA allocator initially starts with 32-bit address and onces its exhuasted it switches to 64-bit address (max address is determined based on IOMMU and device DMA capability). To support larger IOVA, AMD IOMMU driver increases page table level.

But in unmap path (iommu_v1_unmap_pages()), fetch_pte() reads pgtable->[root/mode] without lock. So its possible that in exteme corner case, when increase_address_space() is updating pgtable->[root/mode], fetch_pte() reads wrong page table level (pgtable->mode). It does compare the value with level encoded in page table and returns NULL. This will result is iommu_unmap ops to fail and upper layer may retry/log WARN_ON.

CPU 0 CPU 1 ------ ------ map pages unmap pages alloc_pte() -> increase_address_space() iommu_v1_unmap_pages() -> fetch_pte() pgtable->root = pte (new root value) READ pgtable->[mode/root] Reads new root, old mode Updates mode (pgtable->mode += 1)

Since Page table level updates are infrequent and already synchronized with a spinlock, implement seqcount to enable lock-free read operations on the read path.

실제 악용 사례 · 아직 확인된 사례가 없어요

CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.

패치 현황

어떤 버전이 위험하고, 몇 버전으로 올리면 되는지

제품시작끝이 버전 이상으로
linux_kernellinux4.9.194≤취약<4.104.10이상
4.14.146≤취약<4.154.15이상
4.19.75≤취약<4.204.20이상
5.2.17≤취약<5.35.3이상
5.3.1≤취약<6.6.1086.6.108이상
6.7≤취약<6.12.496.12.49이상
6.13≤취약<6.16.96.16.9이상
이 버전만취약=5.3벤더 공지 확인
이 버전만취약=5.3 rc8벤더 공지 확인
이 버전만취약=6.17 rc1벤더 공지 확인
이 버전만취약=6.17 rc2벤더 공지 확인
이 버전만취약=6.17 rc3벤더 공지 확인
이 버전만취약=6.17 rc4벤더 공지 확인
이 버전만취약=6.17 rc5벤더 공지 확인
이 버전만취약=6.17 rc6벤더 공지 확인

NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.

할당 기관(CNA)이 적은 버전 10줄도 보기
제품시작끝이 버전 이상으로
LinuxLinux4.9.194≤취약<4.104.10이상
4.14.146≤취약<4.154.15이상
4.19.75≤취약<4.204.20이상
5.2.17≤취약<5.35.3이상
이 버전만취약=5.3벤더 공지 확인
최초 버전≤영향 없음<5.3—
6.6.108≤영향 없음≤6.6.*—
6.12.49≤영향 없음≤6.12.*—
6.16.9≤영향 없음≤6.16.*—
6.17≤영향 없음≤최신 버전—

참고 링크

NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.