CVE-2022-50080
- 공개
- 2025년 6월 18일
- 수정
- 2026년 11월 6일
- 조회
- 0
- 상태
- Analyzed
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
tee: add overflow check in register_shm_helper()
With special lengths supplied by user space, register_shm_helper() has an integer overflow when calculating the number of pages covered by a supplied user space memory region.
This causes internal_get_user_pages_fast() a helper function of pin_user_pages_fast() to do a NULL pointer dereference:
Unable to handle kernel NULL pointer dereference at virtual address 0000000000000010 Modules linked in: CPU: 1 PID: 173 Comm: optee_example_a Not tainted 5.19.0 #11 Hardware name: QEMU QEMU Virtual Machine, BIOS 0.0.0 02/06/2015 pc : internal_get_user_pages_fast+0x474/0xa80 Call trace: internal_get_user_pages_fast+0x474/0xa80 pin_user_pages_fast+0x24/0x4c register_shm_helper+0x194/0x330 tee_shm_register_user_buf+0x78/0x120 tee_ioctl+0xd0/0x11a0 __arm64_sys_ioctl+0xa8/0xec invoke_syscall+0x48/0x114
Fix this by adding an an explicit call to access_ok() in tee_shm_register_user_buf() to catch an invalid user space address early.
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| linux_kernellinux | 4.16 | ≤ | 취약 | < | 4.19.256 | 4.19.256이상 |
| 4.20 | ≤ | 취약 | < | 5.4.211 | 5.4.211이상 | |
| 5.5 | ≤ | 취약 | < | 5.10.137 | 5.10.137이상 | |
| 5.11 | ≤ | 취약 | < | 5.15.62 | 5.15.62이상 | |
| 5.16 | ≤ | 취약 | < | 5.18.19 | 5.18.19이상 | |
| 5.19 | ≤ | 취약 | < | 5.19.3 | 5.19.3이상 | |
| 이 버전만 | 취약 | = | 6.0 rc1 | 벤더 공지 확인 | ||
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 9줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 이 버전만 | 취약 | = | 4.16 | 벤더 공지 확인 | |
| 최초 버전 | ≤ | 영향 없음 | < | 4.16 | — | |
| 4.19.256 | ≤ | 영향 없음 | ≤ | 4.19.* | — | |
| 5.4.211 | ≤ | 영향 없음 | ≤ | 5.4.* | — | |
| 5.10.137 | ≤ | 영향 없음 | ≤ | 5.10.* | — | |
| 5.15.62 | ≤ | 영향 없음 | ≤ | 5.15.* | — | |
| 5.18.19 | ≤ | 영향 없음 | ≤ | 5.18.* | — | |
| 5.19.3 | ≤ | 영향 없음 | ≤ | 5.19.* | — | |
| 6.0 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
패치7
- git.kernel.org/stable/c/2f8e79a1a6128214cb9b205a9869341af5dfb16b
- git.kernel.org/stable/c/573ae4f13f630d6660008f1974c0a8a29c30e18a
- git.kernel.org/stable/c/578c349570d2a912401963783b36e0ec7a25c053
- git.kernel.org/stable/c/58c008d4d398f792ca67f35650610864725518fd
- git.kernel.org/stable/c/965333345fe952cc7eebc8e3a565ffc709441af2