CVE-2025-21799
- 공개
- 2025년 2월 28일
- 수정
- 2026년 6월 17일
- 조회
- 0
- 상태
- Modified
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
net: ethernet: ti: am65-cpsw: fix freeing IRQ in am65_cpsw_nuss_remove_tx_chns()
When getting the IRQ we use k3_udma_glue_tx_get_irq() which returns negative error value on error. So not NULL check is not sufficient to deteremine if IRQ is valid. Check that IRQ is greater then zero to ensure it is valid.
There is no issue at probe time but at runtime user can invoke .set_channels which results in the following call chain. am65_cpsw_set_channels() am65_cpsw_nuss_update_tx_rx_chns() am65_cpsw_nuss_remove_tx_chns() am65_cpsw_nuss_init_tx_chns()
At this point if am65_cpsw_nuss_init_tx_chns() fails due to k3_udma_glue_tx_get_irq() then tx_chn->irq will be set to a negative value.
Then, at subsequent .set_channels with higher channel count we will attempt to free an invalid IRQ in am65_cpsw_nuss_remove_tx_chns() leading to a kernel warning.
The issue is present in the original commit that introduced this driver, although there, am65_cpsw_nuss_update_tx_rx_chns() existed as am65_cpsw_nuss_update_tx_chns().
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| linux_kernellinux | 5.7 | ≤ | 취약 | < | 5.10.235 | 5.10.235이상 |
| 5.11 | ≤ | 취약 | < | 5.15.179 | 5.15.179이상 | |
| 5.16 | ≤ | 취약 | < | 6.1.129 | 6.1.129이상 | |
| 6.2 | ≤ | 취약 | < | 6.6.76 | 6.6.76이상 | |
| 6.7 | ≤ | 취약 | < | 6.12.13 | 6.12.13이상 | |
| 6.13 | ≤ | 취약 | < | 6.13.2 | 6.13.2이상 | |
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 9줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 이 버전만 | 취약 | = | 5.7 | 벤더 공지 확인 | |
| 최초 버전 | ≤ | 영향 없음 | < | 5.7 | — | |
| 5.10.235 | ≤ | 영향 없음 | ≤ | 5.10.* | — | |
| 5.15.179 | ≤ | 영향 없음 | ≤ | 5.15.* | — | |
| 6.1.129 | ≤ | 영향 없음 | ≤ | 6.1.* | — | |
| 6.6.76 | ≤ | 영향 없음 | ≤ | 6.6.* | — | |
| 6.12.13 | ≤ | 영향 없음 | ≤ | 6.12.* | — | |
| 6.13.2 | ≤ | 영향 없음 | ≤ | 6.13.* | — | |
| 6.14 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
패치7
- git.kernel.org/stable/c/321990fdf4f1bb64e818c7140688bf33d129e48d
- git.kernel.org/stable/c/4395a44acb15850e492dd1de9ec4b6479d96bc80
- git.kernel.org/stable/c/8448c87b3af68bebca21e3136913f7f77e363515
- git.kernel.org/stable/c/88fd5db8c0073bd91d18391feb5741aeb0a2b475
- git.kernel.org/stable/c/8aae91ae1c65782a169ec070e023d4d269e5d6e6