CVE-2022-49990
- 공개
- 2025년 6월 18일
- 수정
- 2026년 10월 16일
- 조회
- 0
- 상태
- Modified
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
s390: fix double free of GS and RI CBs on fork() failure
The pointers for guarded storage and runtime instrumentation control blocks are stored in the thread_struct of the associated task. These pointers are initially copied on fork() via arch_dup_task_struct() and then cleared via copy_thread() before fork() returns. If fork() happens to fail after the initial task dup and before copy_thread(), the newly allocated task and associated thread_struct memory are freed via free_task() -> arch_release_task_struct(). This results in a double free of the guarded storage and runtime info structs because the fields in the failed task still refer to memory associated with the source task.
This problem can manifest as a BUG_ON() in set_freepointer() (with CONFIG_SLAB_FREELIST_HARDENED enabled) or KASAN splat (if enabled) when running trinity syscall fuzz tests on s390x. To avoid this problem, clear the associated pointer fields in arch_dup_task_struct() immediately after the new task is copied. Note that the RI flag is still cleared in copy_thread() because it resides in thread stack memory and that is where stack info is copied.
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| linux_kernellinux | 4.4.105 | ≤ | 취약 | < | 4.5 | 4.5이상 |
| 4.9.68 | ≤ | 취약 | < | 4.10 | 4.10이상 | |
| 4.14.5 | ≤ | 취약 | < | 4.19.257 | 4.19.257이상 | |
| 4.20 | ≤ | 취약 | < | 5.4.212 | 5.4.212이상 | |
| 5.5 | ≤ | 취약 | < | 5.10.140 | 5.10.140이상 | |
| 5.11 | ≤ | 취약 | < | 5.15.64 | 5.15.64이상 | |
| 5.16 | ≤ | 취약 | < | 5.19.6 | 5.19.6이상 | |
| 이 버전만 | 취약 | = | 6.0 rc1 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 6.0 rc2 | 벤더 공지 확인 | ||
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 11줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 4.4.105 | ≤ | 취약 | < | 4.5 | 4.5이상 |
| 4.9.68 | ≤ | 취약 | < | 4.10 | 4.10이상 | |
| 4.14.5 | ≤ | 취약 | < | 4.15 | 4.15이상 | |
| 이 버전만 | 취약 | = | 4.15 | 벤더 공지 확인 | ||
| 최초 버전 | ≤ | 영향 없음 | < | 4.15 | — | |
| 4.19.257 | ≤ | 영향 없음 | ≤ | 4.19.* | — | |
| 5.4.212 | ≤ | 영향 없음 | ≤ | 5.4.* | — | |
| 5.10.140 | ≤ | 영향 없음 | ≤ | 5.10.* | — | |
| 5.15.64 | ≤ | 영향 없음 | ≤ | 5.15.* | — | |
| 5.19.6 | ≤ | 영향 없음 | ≤ | 5.19.* | — | |
| 6.0 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
패치6
- git.kernel.org/stable/c/13cccafe0edcd03bf1c841de8ab8a1c8e34f77d9
- git.kernel.org/stable/c/25a95303b9e513cd2978aacc385d06e6fec23d07
- git.kernel.org/stable/c/297ae7e87a87a001dd3dfeac1cb26a42fd929708
- git.kernel.org/stable/c/8195e065abf3df84eb0ad2987e76a40f21d1791c
- git.kernel.org/stable/c/cacd522e6652fbc2dc0cc6ae11c4e30782fef14b