CVE-2025-21820
- 공개
- 2025년 2월 28일
- 수정
- 2026년 6월 17일
- 조회
- 0
- 상태
- Modified
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
tty: xilinx_uartps: split sysrq handling
lockdep detects the following circular locking dependency:
CPU 0 CPU 1 ========================== ============================ cdns_uart_isr() printk() uart_port_lock(port) console_lock() cdns_uart_console_write() if (!port->sysrq) uart_port_lock(port) uart_handle_break() port->sysrq = ... uart_handle_sysrq_char() printk() console_lock()
The fixed commit attempts to avoid this situation by only taking the port lock in cdns_uart_console_write if port->sysrq unset. However, if (as shown above) cdns_uart_console_write runs before port->sysrq is set, then it will try to take the port lock anyway. This may result in a deadlock.
Fix this by splitting sysrq handling into two parts. We use the prepare helper under the port lock and defer handling until we release the lock.
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| linux_kernellinux | 4.6 | ≤ | 취약 | < | 6.1.129 | 6.1.129이상 |
| 6.2 | ≤ | 취약 | < | 6.6.78 | 6.6.78이상 | |
| 6.7 | ≤ | 취약 | < | 6.12.14 | 6.12.14이상 | |
| 6.13 | ≤ | 취약 | < | 6.13.3 | 6.13.3이상 | |
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 8줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 이 버전만 | 취약 | = | 4.6 | 벤더 공지 확인 | |
| 최초 버전 | ≤ | 영향 없음 | < | 4.6 | — | |
| 5.15.179 | ≤ | 영향 없음 | ≤ | 5.15.* | — | |
| 6.1.129 | ≤ | 영향 없음 | ≤ | 6.1.* | — | |
| 6.6.78 | ≤ | 영향 없음 | ≤ | 6.6.* | — | |
| 6.12.14 | ≤ | 영향 없음 | ≤ | 6.12.* | — | |
| 6.13.3 | ≤ | 영향 없음 | ≤ | 6.13.* | — | |
| 6.14 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
패치5
- git.kernel.org/stable/c/4410dba9807a17a93f649a9f5870ceaf30a675a3
- git.kernel.org/stable/c/8ea0e7b3d7b8f2f0fc9db491ff22a0abe120801c
- git.kernel.org/stable/c/9b88a7c4584ba67267a051069b8abe44fc9595b2
- git.kernel.org/stable/c/b06f388994500297bb91be60ffaf6825ecfd2afe
- git.kernel.org/stable/c/de5bd24197bd9ee37ec1e379a3d882bbd15c5065