CVE-2022-49674
- 공개
- 2025년 2월 26일
- 수정
- 2026년 6월 17일
- 조회
- 0
- 상태
- Analyzed
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
dm raid: fix accesses beyond end of raid member array
On dm-raid table load (using raid_ctr), dm-raid allocates an array rs->devs[rs->raid_disks] for the raid device members. rs->raid_disks is defined by the number of raid metadata and image tupples passed into the target's constructor.
In the case of RAID layout changes being requested, that number can be different from the current number of members for existing raid sets as defined in their superblocks. Example RAID layout changes include: - raid1 legs being added/removed - raid4/5/6/10 number of stripes changed (stripe reshaping) - takeover to higher raid level (e.g. raid5 -> raid6)
When accessing array members, rs->raid_disks must be used in control loops instead of the potentially larger value in rs->md.raid_disks. Otherwise it will cause memory access beyond the end of the rs->devs array.
Fix this by changing code that is prone to out-of-bounds access. Also fix validate_raid_redundancy() to validate all devices that are added. Also, use braces to help clean up raid_iterate_devices().
The out-of-bounds memory accesses was discovered using KASAN.
This commit was verified to pass all LVM2 RAID tests (with KASAN enabled).
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| linux_kernellinux | 최초 버전 | ≤ | 취약 | < | 4.14.287 | 4.14.287이상 |
| 4.15 | ≤ | 취약 | < | 4.19.251 | 4.19.251이상 | |
| 4.20 | ≤ | 취약 | < | 5.4.204 | 5.4.204이상 | |
| 5.5 | ≤ | 취약 | < | 5.10.129 | 5.10.129이상 | |
| 5.11 | ≤ | 취약 | < | 5.15.53 | 5.15.53이상 | |
| 5.16 | ≤ | 취약 | < | 5.18.10 | 5.18.10이상 | |
| 이 버전만 | 취약 | = | 5.19 rc1 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 5.19 rc2 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 5.19 rc3 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 5.19 rc4 | 벤더 공지 확인 | ||
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 9줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 이 버전만 | 취약 | = | 4.8 | 벤더 공지 확인 | |
| 최초 버전 | ≤ | 영향 없음 | < | 4.8 | — | |
| 4.14.287 | ≤ | 영향 없음 | ≤ | 4.14.* | — | |
| 4.19.251 | ≤ | 영향 없음 | ≤ | 4.19.* | — | |
| 5.4.204 | ≤ | 영향 없음 | ≤ | 5.4.* | — | |
| 5.10.129 | ≤ | 영향 없음 | ≤ | 5.10.* | — | |
| 5.15.53 | ≤ | 영향 없음 | ≤ | 5.15.* | — | |
| 5.18.10 | ≤ | 영향 없음 | ≤ | 5.18.* | — | |
| 5.19 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
패치7
- git.kernel.org/stable/c/332bd0778775d0cf105c4b9e03e460b590749916
- git.kernel.org/stable/c/5e161a8826b63c0b8b43e4a7fad1f956780f42ab
- git.kernel.org/stable/c/6352b2f4d8e95ec0ae576d7705435d64cfa29503
- git.kernel.org/stable/c/90de15357504c8097ab29769dc6852e16281e9e8
- git.kernel.org/stable/c/9bf2b0757b04c78dc5d6e3a198acca98457b32a1