CVE-2026-53059
- 공개
- 2026년 6월 25일
- 수정
- 2026년 11월 7일
- 조회
- 0
- 상태
- Modified
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
dm log: fix out-of-bounds write due to region_count overflow
The local variable region_count in create_log_context() is declared as unsigned int (32-bit), but dm_sector_div_up() returns sector_t (64-bit). When a device-mapper target has a sufficiently large ti->len with a small region_size, the division result can exceed UINT_MAX. The truncated value is then used to calculate bitset_size, causing clean_bits, sync_bits, and recovering_bits to be allocated far smaller than needed for the actual number of regions.
Subsequent log operations (log_set_bit, log_clear_bit, log_test_bit) use region indices derived from the full untruncated region space, causing out-of-bounds writes to kernel heap memory allocated by vmalloc.
This can be reproduced by creating a mirror target whose region_count overflows 32 bits:
dmsetup create bigzero --table '0 8589934594 zero' dmsetup create mymirror --table '0 8589934594 mirror \ core 2 2 nosync 2 /dev/mapper/bigzero 0 \ /dev/mapper/bigzero 0'
The status output confirms the truncation (sync_count=1 instead of 4294967297, because 0x100000001 was truncated to 1):
$ dmsetup status mymirror 0 8589934594 mirror 2 254:1 254:1 1/4294967297 ...
This leads to a kernel crash in core_in_sync:
BUG: scheduling while atomic: (udev-worker)/9150/0x00000000 RIP: 0010:core_in_sync+0x14/0x30 [dm_log] CR2: 0000000000000008 Fixing recursive fault but reboot is needed!
Fix by widening the local region_count to sector_t and adding an explicit overflow check before the value is assigned to lc->region_count.
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| linux_kernellinux | 2.6.12.1 | ≤ | 취약 | < | 5.10.258 | 5.10.258이상 |
| 5.11 | ≤ | 취약 | < | 5.15.209 | 5.15.209이상 | |
| 5.16 | ≤ | 취약 | < | 6.1.175 | 6.1.175이상 | |
| 6.2 | ≤ | 취약 | < | 6.6.141 | 6.6.141이상 | |
| 6.7 | ≤ | 취약 | < | 6.12.91 | 6.12.91이상 | |
| 6.13 | ≤ | 취약 | < | 6.18.33 | 6.18.33이상 | |
| 6.19 | ≤ | 취약 | < | 7.0.10 | 7.0.10이상 | |
| 이 버전만 | 취약 | = | 2.6.12 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 2.6.12 rc2 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 2.6.12 rc3 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 2.6.12 rc4 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 2.6.12 rc5 | 벤더 공지 확인 | ||
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 10줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 이 버전만 | 취약 | = | 2.6.12 | 벤더 공지 확인 | |
| 최초 버전 | ≤ | 영향 없음 | < | 2.6.12 | — | |
| 5.10.258 | ≤ | 영향 없음 | ≤ | 5.10.* | — | |
| 5.15.209 | ≤ | 영향 없음 | ≤ | 5.15.* | — | |
| 6.1.175 | ≤ | 영향 없음 | ≤ | 6.1.* | — | |
| 6.6.141 | ≤ | 영향 없음 | ≤ | 6.6.* | — | |
| 6.12.91 | ≤ | 영향 없음 | ≤ | 6.12.* | — | |
| 6.18.33 | ≤ | 영향 없음 | ≤ | 6.18.* | — | |
| 7.0.10 | ≤ | 영향 없음 | ≤ | 7.0.* | — | |
| 7.1 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
패치8
- git.kernel.org/stable/c/12bd5b88e91a02785244ff1d20fb157e96e9cdc8
- git.kernel.org/stable/c/3ec74da927b4e171a6fc0e77b1188ba4d019af51
- git.kernel.org/stable/c/44ab8875ae4a2842bde2d756bed195d375e0debb
- git.kernel.org/stable/c/4ec8323b9f0764a14d532b1ae9b87f8a9fecb867
- git.kernel.org/stable/c/b455903eed4558982be0811f5b7f44f6bbc4ff57
외부 보안 공지3
기타13
- access.redhat.com/errata/RHSA-2026:45114
- access.redhat.com/errata/RHSA-2026:45115
- access.redhat.com/errata/RHSA-2026:45116
- access.redhat.com/errata/RHSA-2026:45192
- access.redhat.com/errata/RHSA-2026:47248
8개 더 보기
- access.redhat.com/errata/RHSA-2026:52649
- access.redhat.com/errata/RHSA-2026:53989
- access.redhat.com/errata/RHSA-2026:55445
- access.redhat.com/errata/RHSA-2026:56574
- access.redhat.com/errata/RHSA-2026:59662
- access.redhat.com/errata/RHSA-2026:59663
- access.redhat.com/errata/RHSA-2026:61692
- access.redhat.com/errata/RHSA-2026:63189