CVE-2024-58093
- 공개
- 2025년 4월 17일
- 수정
- 2026년 11월 6일
- 조회
- 0
- 상태
- Modified
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
PCI/ASPM: Fix link state exit during switch upstream function removal
Before 456d8aa37d0f ("PCI/ASPM: Disable ASPM on MFD function removal to avoid use-after-free"), we would free the ASPM link only after the last function on the bus pertaining to the given link was removed.
That was too late. If function 0 is removed before sibling function, link->downstream would point to free'd memory after.
After above change, we freed the ASPM parent link state upon any function removal on the bus pertaining to a given link.
That is too early. If the link is to a PCIe switch with MFD on the upstream port, then removing functions other than 0 first would free a link which still remains parent_link to the remaining downstream ports.
The resulting GPFs are especially frequent during hot-unplug, because pciehp removes devices on the link bus in reverse order.
On that switch, function 0 is the virtual P2P bridge to the internal bus. Free exactly when function 0 is removed -- before the parent link is obsolete, but after all subordinate links are gone.
[kwilczynski: commit log]
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| linux_kernellinux | 5.4.251 | ≤ | 취약 | < | 5.5 | 5.5이상 |
| 5.10.188 | ≤ | 취약 | < | 5.11 | 5.11이상 | |
| 5.15.121 | ≤ | 취약 | < | 5.16 | 5.16이상 | |
| 6.1.39 | ≤ | 취약 | < | 6.2 | 6.2이상 | |
| 6.3.13 | ≤ | 취약 | < | 6.4 | 6.4이상 | |
| 6.4.4 | ≤ | 취약 | < | 6.15 | 6.15이상 | |
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 17줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 5.4.251 | ≤ | 취약 | < | 5.4.292 | 5.4.292이상 |
| 5.10.188 | ≤ | 취약 | < | 5.10.236 | 5.10.236이상 | |
| 5.15.121 | ≤ | 취약 | < | 5.15.180 | 5.15.180이상 | |
| 6.1.39 | ≤ | 취약 | < | 6.1.134 | 6.1.134이상 | |
| 6.3.13 | ≤ | 취약 | < | 6.4 | 6.4이상 | |
| 6.4.4 | ≤ | 취약 | < | 6.5 | 6.5이상 | |
| 이 버전만 | 취약 | = | 6.5 | 벤더 공지 확인 | ||
| 최초 버전 | ≤ | 영향 없음 | < | 6.5 | — | |
| 5.4.292 | ≤ | 영향 없음 | ≤ | 5.4.* | — | |
| 5.10.236 | ≤ | 영향 없음 | ≤ | 5.10.* | — | |
| 5.15.180 | ≤ | 영향 없음 | ≤ | 5.15.* | — | |
| 6.1.134 | ≤ | 영향 없음 | ≤ | 6.1.* | — | |
| 6.6.87 | ≤ | 영향 없음 | ≤ | 6.6.* | — | |
| 6.12.23 | ≤ | 영향 없음 | ≤ | 6.12.* | — | |
| 6.13.11 | ≤ | 영향 없음 | ≤ | 6.13.* | — | |
| 6.14.2 | ≤ | 영향 없음 | ≤ | 6.14.* | — | |
| 6.15 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
기타8
- git.kernel.org/stable/c/0a0f9aecf66b98959aab7fb5764b4b3e522f4f5b
- git.kernel.org/stable/c/4d96930239981f312821a4065db8cc0f8240a173
- git.kernel.org/stable/c/62db339ecc3d58d8fd83a9e4d80061cd943bb6e2
- git.kernel.org/stable/c/8b930ddc2044e36866c41423e89889e0258695a3
- git.kernel.org/stable/c/ba4cdc14c0d4df00d3e99bff7fe545303db98183