CVE-2023-53026
- 공개
- 2025년 3월 28일
- 수정
- 2026년 8월 4일
- 조회
- 0
- 상태
- Modified
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
RDMA/core: Fix ib block iterator counter overflow
When registering a new DMA MR after selecting the best aligned page size for it, we iterate over the given sglist to split each entry to smaller, aligned to the selected page size, DMA blocks.
In given circumstances where the sg entry and page size fit certain sizes and the sg entry is not aligned to the selected page size, the total size of the aligned pages we need to cover the sg entry is >= 4GB. Under this circumstances, while iterating page aligned blocks, the counter responsible for counting how much we advanced from the start of the sg entry is overflowed because its type is u32 and we pass 4GB in size. This can lead to an infinite loop inside the iterator function because the overflow prevents the counter to be larger than the size of the sg entry.
Fix the presented problem by changing the advancement condition to eliminate overflow.
Backtrace: [ 192.374329] efa_reg_user_mr_dmabuf [ 192.376783] efa_register_mr [ 192.382579] pgsz_bitmap 0xfffff000 rounddown 0x80000000 [ 192.386423] pg_sz [0x80000000] umem_length[0xc0000000] [ 192.392657] start 0x0 length 0xc0000000 params.page_shift 31 params.page_num 3 [ 192.399559] hp_cnt[3], pages_in_hp[524288] [ 192.403690] umem->sgt_append.sgt.nents[1] [ 192.407905] number entries: [1], pg_bit: [31] [ 192.411397] biter->__sg_nents [1] biter->__sg [0000000008b0c5d8] [ 192.415601] biter->__sg_advance [665837568] sg_dma_len[3221225472] [ 192.419823] biter->__sg_nents [1] biter->__sg [0000000008b0c5d8] [ 192.423976] biter->__sg_advance [2813321216] sg_dma_len[3221225472] [ 192.428243] biter->__sg_nents [1] biter->__sg [0000000008b0c5d8] [ 192.432397] biter->__sg_advance [665837568] sg_dma_len[3221225472]
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| linux_kernellinux | 5.2 | ≤ | 취약 | < | 5.4.231 | 5.4.231이상 |
| 5.5 | ≤ | 취약 | < | 5.10.166 | 5.10.166이상 | |
| 5.11 | ≤ | 취약 | < | 5.15.91 | 5.15.91이상 | |
| 5.16 | ≤ | 취약 | < | 6.1.9 | 6.1.9이상 | |
| 이 버전만 | 취약 | = | 6.2 rc1 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 6.2 rc2 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 6.2 rc3 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 6.2 rc4 | 벤더 공지 확인 | ||
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 7줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 이 버전만 | 취약 | = | 5.2 | 벤더 공지 확인 | |
| 최초 버전 | ≤ | 영향 없음 | < | 5.2 | — | |
| 5.4.231 | ≤ | 영향 없음 | ≤ | 5.4.* | — | |
| 5.10.166 | ≤ | 영향 없음 | ≤ | 5.10.* | — | |
| 5.15.91 | ≤ | 영향 없음 | ≤ | 5.15.* | — | |
| 6.1.9 | ≤ | 영향 없음 | ≤ | 6.1.* | — | |
| 6.2 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
패치5
- git.kernel.org/stable/c/0afec5e9cea732cb47014655685a2a47fb180c31
- git.kernel.org/stable/c/362c9489720b31b6aa7491423ba65a4e98aa9838
- git.kernel.org/stable/c/43811d07ea64366af8ec9e168c558ec51440c39e
- git.kernel.org/stable/c/902063a9fea5f8252df392ade746bc9cfd07a5ae
- git.kernel.org/stable/c/d66c1d4178c219b6e7d7a6f714e3e3656faccc36