CVE 목록
High7.1유형: 운영체제

CVE-2024-57945

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

개요

이 취약점이 무엇인지

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

riscv: mm: Fix the out of bound issue of vmemmap address

In sparse vmemmap model, the virtual address of vmemmap is calculated as: ((struct page *)VMEMMAP_START - (phys_ram_base >> PAGE_SHIFT)). And the struct page's va can be calculated with an offset: (vmemmap + (pfn)).

However, when initializing struct pages, kernel actually starts from the first page from the same section that phys_ram_base belongs to. If the first page's physical address is not (phys_ram_base >> PAGE_SHIFT), then we get an va below VMEMMAP_START when calculating va for it's struct page.

For example, if phys_ram_base starts from 0x82000000 with pfn 0x82000, the first page in the same section is actually pfn 0x80000. During init_unavailable_range(), we will initialize struct page for pfn 0x80000 with virtual address ((struct page *)VMEMMAP_START - 0x2000), which is below VMEMMAP_START as well as PCI_IO_END.

This commit fixes this bug by introducing a new variable 'vmemmap_start_pfn' which is aligned with memory section size and using it to calculate vmemmap address instead of phys_ram_base.

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

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

패치 현황

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

제품시작끝이 버전 이상으로
linux_kernellinux5.10.212≤취약<5.115.11이상
5.15.151≤취약<5.165.16이상
6.1.81≤취약<6.1.1406.1.140이상
6.6.21≤취약<6.6.726.6.72이상
6.7.9≤취약<6.86.8이상
6.8.1≤취약<6.12.106.12.10이상
이 버전만취약=6.8벤더 공지 확인
이 버전만취약=6.8 rc7벤더 공지 확인
이 버전만취약=6.13 rc1벤더 공지 확인
이 버전만취약=6.13 rc2벤더 공지 확인
이 버전만취약=6.13 rc3벤더 공지 확인
이 버전만취약=6.13 rc4벤더 공지 확인
이 버전만취약=6.13 rc5벤더 공지 확인
이 버전만취약=6.13 rc6벤더 공지 확인

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

할당 기관(CNA)이 적은 버전 12줄도 보기
제품시작끝이 버전 이상으로
LinuxLinux5.10.212≤취약<5.10.2585.10.258이상
6.1.81≤취약<6.1.1406.1.140이상
6.6.21≤취약<6.6.726.6.72이상
5.15.151≤취약<5.165.16이상
6.7.9≤취약<6.86.8이상
이 버전만취약=6.8벤더 공지 확인
최초 버전≤영향 없음<6.8—
5.10.258≤영향 없음≤5.10.*—
6.1.140≤영향 없음≤6.1.*—
6.6.72≤영향 없음≤6.6.*—
6.12.10≤영향 없음≤6.12.*—
6.13≤영향 없음≤최신 버전—

참고 링크

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