CVE 목록
Medium5.5유형: 운영체제

CVE-2026-98142

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

개요

이 취약점이 무엇인지

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

drm/cirrus-qemu: Validate BAR0 size during probe

The `cirrus-qemu` driver relies on `CIRRUS_VRAM_SIZE` (4 MB) to validate framebuffer sizes. However, during PCI probe, the driver mapped BAR0 without verifying that its size matches `CIRRUS_VRAM_SIZE`.

If a PCI device with a BAR0 smaller than 4 MB is bound to the driver, the mapped VRAM will be smaller than expected. Because validation checks assume 4 MB VRAM, framebuffers larger than the mapped memory can be created.

When the display plane is updated (e.g. during release), `cirrus_primary_plane_helper_atomic_update()` copies the framebuffer to VRAM using `drm_fb_memcpy()`. Writing past the end of the mapped I/O memory causes a supervisor write page fault:

BUG: unable to handle page fault for address: ffffc9000389c000 ... RIP: 0010:memcpy_toio+0x7c/0xe0 arch/x86/lib/iomem.c:110 ... Call Trace: <TASK> iosys_map_memcpy_to include/linux/iosys-map.h:285 [inline] drm_fb_memcpy+0x325/0x5d0 drivers/gpu/drm/drm_format_helper.c:442 cirrus_primary_plane_helper_atomic_update+0x98a/0xb00 drivers/gpu/drm/tiny/cirrus-qemu.c:358 drm_atomic_helper_commit_planes+0x626/0xea0 drivers/gpu/drm/drm_atomic_helper.c:3038 drm_atomic_helper_commit_tail+0x60/0x510 drivers/gpu/drm/drm_atomic_helper.c:1989 commit_tail+0x2b1/0x3c0 drivers/gpu/drm/drm_atomic_helper.c:2074 drm_atomic_helper_commit+0xa77/0xb10 drivers/gpu/drm/drm_atomic_helper.c:2312

Fix this by validating in `cirrus_pci_probe()` that the PCI BAR0 resource is not less than `CIRRUS_VRAM_SIZE`, returning `-ENODEV` if it is less.

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

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

패치 현황

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

제품시작끝이 버전 이상으로
linux_kernellinux5.2≤취약<6.6.1586.6.158이상
6.7≤취약<6.12.1116.12.111이상
6.13≤취약<6.18.536.18.53이상
6.19≤취약<7.2.77.2.7이상
이 버전만취약=7.3 rc1벤더 공지 확인

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

할당 기관(CNA)이 적은 버전 7줄도 보기
제품시작끝이 버전 이상으로
LinuxLinux이 버전만취약=5.2벤더 공지 확인
최초 버전≤영향 없음<5.2—
6.6.158≤영향 없음≤6.6.*—
6.12.111≤영향 없음≤6.12.*—
6.18.53≤영향 없음≤6.18.*—
7.2.7≤영향 없음≤7.2.*—
7.3≤영향 없음≤최신 버전—

참고 링크

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