CVE-2024-57951
- 공개
- 2025년 2월 12일
- 수정
- 2026년 10월 15일
- 조회
- 0
- 상태
- Modified
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
hrtimers: Handle CPU state correctly on hotplug
Consider a scenario where a CPU transitions from CPUHP_ONLINE to halfway through a CPU hotunplug down to CPUHP_HRTIMERS_PREPARE, and then back to CPUHP_ONLINE:
Since hrtimers_prepare_cpu() does not run, cpu_base.hres_active remains set to 1 throughout. However, during a CPU unplug operation, the tick and the clockevents are shut down at CPUHP_AP_TICK_DYING. On return to the online state, for instance CFS incorrectly assumes that the hrtick is already active, and the chance of the clockevent device to transition to oneshot mode is also lost forever for the CPU, unless it goes back to a lower state than CPUHP_HRTIMERS_PREPARE once.
This round-trip reveals another issue; cpu_base.online is not set to 1 after the transition, which appears as a WARN_ON_ONCE in enqueue_hrtimer().
Aside of that, the bulk of the per CPU state is not reset either, which means there are dangling pointers in the worst case.
Address this by adding a corresponding startup() callback, which resets the stale per CPU state and sets the online flag.
[ tglx: Make the new callback unconditionally available, remove the online modification in the prepare() callback and clear the remaining state in the starting callback instead of the prepare callback ]
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| linux_kernellinux | 4.19.302 | ≤ | 취약 | < | 4.20 | 4.20이상 |
| 5.4.264 | ≤ | 취약 | < | 5.4.290 | 5.4.290이상 | |
| 5.10.204 | ≤ | 취약 | < | 5.10.234 | 5.10.234이상 | |
| 5.15.143 | ≤ | 취약 | < | 5.15.177 | 5.15.177이상 | |
| 6.1.68 | ≤ | 취약 | < | 6.1.127 | 6.1.127이상 | |
| 6.6.7 | ≤ | 취약 | < | 6.6.74 | 6.6.74이상 | |
| 6.7 | ≤ | 취약 | < | 6.12.11 | 6.12.11이상 | |
| 이 버전만 | 취약 | = | 6.13 rc1 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 6.13 rc2 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 6.13 rc3 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 6.13 rc4 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 6.13 rc5 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 6.13 rc6 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 6.13 rc7 | 벤더 공지 확인 | ||
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 15줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 5.4.264 | ≤ | 취약 | < | 5.4.290 | 5.4.290이상 |
| 5.10.204 | ≤ | 취약 | < | 5.10.234 | 5.10.234이상 | |
| 5.15.143 | ≤ | 취약 | < | 5.15.177 | 5.15.177이상 | |
| 6.1.68 | ≤ | 취약 | < | 6.1.127 | 6.1.127이상 | |
| 6.6.7 | ≤ | 취약 | < | 6.6.74 | 6.6.74이상 | |
| 4.19.302 | ≤ | 취약 | < | 4.20 | 4.20이상 | |
| 이 버전만 | 취약 | = | 6.7 | 벤더 공지 확인 | ||
| 최초 버전 | ≤ | 영향 없음 | < | 6.7 | — | |
| 5.4.290 | ≤ | 영향 없음 | ≤ | 5.4.* | — | |
| 5.10.234 | ≤ | 영향 없음 | ≤ | 5.10.* | — | |
| 5.15.177 | ≤ | 영향 없음 | ≤ | 5.15.* | — | |
| 6.1.127 | ≤ | 영향 없음 | ≤ | 6.1.* | — | |
| 6.6.74 | ≤ | 영향 없음 | ≤ | 6.6.* | — | |
| 6.12.11 | ≤ | 영향 없음 | ≤ | 6.12.* | — | |
| 6.13 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
패치7
- git.kernel.org/stable/c/14984139f1f2768883332965db566ef26db609e7
- git.kernel.org/stable/c/15b453db41d36184cf0ccc21e7df624014ab6a1a
- git.kernel.org/stable/c/2f8dea1692eef2b7ba6a256246ed82c365fdc686
- git.kernel.org/stable/c/38492f6ee883c7b1d33338bf531a62cff69b4b28
- git.kernel.org/stable/c/3d41dbf82e10c44e53ea602398ab002baec27e75