CVE-2026-45891
- 공개
- 2026년 5월 27일
- 수정
- 2026년 11월 7일
- 조회
- 0
- 상태
- Analyzed
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
net: hns3: fix double free issue for tx spare buffer
In hns3_set_ringparam(), a temporary copy (tmp_rings) of the ring structure is created for rollback. However, the tx_spare pointer in the original ring handle is incorrectly left pointing to the old backup memory.
Later, if memory allocation fails in hns3_init_all_ring() during the setup, the error path attempts to free all newly allocated rings. Since tx_spare contains a stale (non-NULL) pointer from the backup, it is mistaken for a newly allocated buffer and is erroneously freed, leading to a double-free of the backup memory.
The root cause is that the tx_spare field was not cleared after its value was saved in tmp_rings, leaving a dangling pointer.
Fix this by setting tx_spare to NULL in the original ring structure when the creation of the new `tx_spare` fails. This ensures the error cleanup path only frees genuinely newly allocated buffers.
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| linux_kernellinux | 5.14 | ≤ | 취약 | < | 5.15.202 | 5.15.202이상 |
| 5.16 | ≤ | 취약 | < | 6.1.165 | 6.1.165이상 | |
| 6.2 | ≤ | 취약 | < | 6.6.128 | 6.6.128이상 | |
| 6.7 | ≤ | 취약 | < | 6.12.75 | 6.12.75이상 | |
| 6.13 | ≤ | 취약 | < | 6.18.14 | 6.18.14이상 | |
| 6.19 | ≤ | 취약 | < | 6.19.4 | 6.19.4이상 | |
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 9줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 이 버전만 | 취약 | = | 5.14 | 벤더 공지 확인 | |
| 최초 버전 | ≤ | 영향 없음 | < | 5.14 | — | |
| 5.15.202 | ≤ | 영향 없음 | ≤ | 5.15.* | — | |
| 6.1.165 | ≤ | 영향 없음 | ≤ | 6.1.* | — | |
| 6.6.128 | ≤ | 영향 없음 | ≤ | 6.6.* | — | |
| 6.12.75 | ≤ | 영향 없음 | ≤ | 6.12.* | — | |
| 6.18.14 | ≤ | 영향 없음 | ≤ | 6.18.* | — | |
| 6.19.4 | ≤ | 영향 없음 | ≤ | 6.19.* | — | |
| 7.0 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
패치7
- git.kernel.org/stable/c/43015461662d41dcfb3bb95fadd8a2a42ad8eacf
- git.kernel.org/stable/c/6d2f142b1e4b203387a92519d9d2e34752a79dbb
- git.kernel.org/stable/c/6dc10494cfe27b6f1e9adb7e293293ae39c50b7c
- git.kernel.org/stable/c/c3659273860bed0c8e573b865e3769abc51225a8
- git.kernel.org/stable/c/d2c785733dfb853ea0b53984c75662a1af230a94