🔍 CVE-2026-98254

7.8
CVSS Score
HIGH
2026-10-06
2026-10-19 10:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 swiotlb 구성 요소에서 주소 계산 오류로 인해 데이터가 의도하지 않은 메모리 페이지에 기록되거나 잘못된 페이지를 읽어오는 취약점이 발견되었습니다. 이 오류는 DMA 작업 시 페이지 경계를 넘나드는 주소 조정 과정에서 발생하며, 데이터 무결성을 해치거나 잘못된 메모리 영역에 접근할 수 있게 합니다.

💡 쉬운 설명

컴퓨터가 장치와 데이터를 주고받을 때 사용하는 메모리 주소를 계산하는 과정에서 실수가 발생하여, 엉뚱한 메모리 공간에 데이터를 쓰거나 읽을 수 있는 문제입니다. 이로 인해 시스템 데이터가 오염되거나 보안 문제가 생길 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: swiotlb: use the adjusted address for the highmem page lookup swiotlb_bounce() reads the page frame number from the slot's recorded orig_addr, then advances orig_addr by tlb_offset to reach the address the caller asked about. The highmem branch mixes the two: the offset within the page comes from the adjusted address, the page from the value before it. Once the adjustment crosses a page boundary the pair no longer describes one location, and the whole copy lands one page below the intended one for a positive tlb_offset, one above for a negative one. DMA_FROM_DEVICE writes the device data over the wrong page and leaves the intended one stale, DMA_TO_DEVICE feeds the device from a page the mapping may not cover. Partial syncs through dma_sync_single_range_for_*() are what make tlb_offset non-zero. The branch test is picked the same way, so a slot recorded in lowmem can be adjusted into highmem and the lowmem path then hands a highmem address to phys_to_virt(). Take both from orig_addr once it is final and keep pfn in the branch that uses it. PhysHighMem() asks the question straight from the address, as dma-debug already does.

📍 영향받는 시스템

Linux kernel (swiotlb 관련 모듈을 사용하는 시스템)

⚔️ 공격 벡터

DMA(Direct Memory Access)를 사용하는 장치를 통해 잘못된 메모리 페이지에 데이터를 쓰거나 읽도록 유도

🛡️ 대응 방법

swiotlb 주소 계산 로직이 수정된 최신 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

💻 영향받는 소프트웨어

NVIDIA Cloud Gaming Guest Driver for Linux