CVE-2022-50226
- 공개
- 2025년 6월 18일
- 수정
- 2026년 6월 17일
- 조회
- 0
- 상태
- Analyzed
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
crypto: ccp - Use kzalloc for sev ioctl interfaces to prevent kernel memory leak
For some sev ioctl interfaces, input may be passed that is less than or equal to SEV_FW_BLOB_MAX_SIZE, but larger than the data that PSP firmware returns. In this case, kmalloc will allocate memory that is the size of the input rather than the size of the data. Since PSP firmware doesn't fully overwrite the buffer, the sev ioctl interfaces with the issue may return uninitialized slab memory.
Currently, all of the ioctl interfaces in the ccp driver are safe, but to prevent future problems, change all ioctl interfaces that allocate memory with kmalloc to use kzalloc and memset the data buffer to zero in sev_ioctl_do_platform_status.
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| linux_kernellinux | 4.16 | ≤ | 취약 | < | 5.10.173 | 5.10.173이상 |
| 5.11 | ≤ | 취약 | < | 5.15.61 | 5.15.61이상 | |
| 5.16 | ≤ | 취약 | < | 5.18.18 | 5.18.18이상 | |
| 5.19 | ≤ | 취약 | < | 5.19.2 | 5.19.2이상 | |
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 7줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 이 버전만 | 취약 | = | 4.16 | 벤더 공지 확인 | |
| 최초 버전 | ≤ | 영향 없음 | < | 4.16 | — | |
| 5.10.173 | ≤ | 영향 없음 | ≤ | 5.10.* | — | |
| 5.15.61 | ≤ | 영향 없음 | ≤ | 5.15.* | — | |
| 5.18.18 | ≤ | 영향 없음 | ≤ | 5.18.* | — | |
| 5.19.2 | ≤ | 영향 없음 | ≤ | 5.19.* | — | |
| 6.0 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
패치5
- git.kernel.org/stable/c/13dc15a3f5fd7f884e4bfa8c011a0ae868df12ae
- git.kernel.org/stable/c/4c5300f6f5e18b11c02a92f136e69b98fddba15e
- git.kernel.org/stable/c/caa395aa16e7c9193fd7fa6cde462dd8229d4953
- git.kernel.org/stable/c/e11fb0a3a39bb42da35fa662c46ce7391f277436
- git.kernel.org/stable/c/f2a920daa780956b987c14b9f23de7c3c8915bf2