CVE-2025-38262
- 공개
- 2025년 7월 9일
- 수정
- 2026년 10월 16일
- 조회
- 0
- 상태
- Modified
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
tty: serial: uartlite: register uart driver in init
When two instances of uart devices are probing, a concurrency race can occur. If one thread calls uart_register_driver function, which first allocates and assigns memory to 'uart_state' member of uart_driver structure, the other instance can bypass uart driver registration and call ulite_assign. This calls uart_add_one_port, which expects the uart driver to be fully initialized. This leads to a kernel panic due to a null pointer dereference:
[ 8.143581] BUG: kernel NULL pointer dereference, address: 00000000000002b8 [ 8.156982] #PF: supervisor write access in kernel mode [ 8.156984] #PF: error_code(0x0002) - not-present page [ 8.156986] PGD 0 P4D 0 ... [ 8.180668] RIP: 0010:mutex_lock+0x19/0x30 [ 8.188624] Call Trace: [ 8.188629] ? __die_body.cold+0x1a/0x1f [ 8.195260] ? page_fault_oops+0x15c/0x290 [ 8.209183] ? __irq_resolve_mapping+0x47/0x80 [ 8.209187] ? exc_page_fault+0x64/0x140 [ 8.209190] ? asm_exc_page_fault+0x22/0x30 [ 8.209196] ? mutex_lock+0x19/0x30 [ 8.223116] uart_add_one_port+0x60/0x440 [ 8.223122] ? proc_tty_register_driver+0x43/0x50 [ 8.223126] ? tty_register_driver+0x1ca/0x1e0 [ 8.246250] ulite_probe+0x357/0x4b0 [uartlite]
To prevent it, move uart driver registration in to init function. This will ensure that uart_driver is always registered when probe function is called.
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| debian_linuxdebian | 이 버전만 | 취약 | = | 11.0 | 벤더 공지 확인 | |
| linux_kernellinux | 2.6.20 | ≤ | 취약 | < | 5.4.296 | 5.4.296이상 |
| 5.5 | ≤ | 취약 | < | 5.15.187 | 5.15.187이상 | |
| 5.16 | ≤ | 취약 | < | 6.1.143 | 6.1.143이상 | |
| 6.2 | ≤ | 취약 | < | 6.6.96 | 6.6.96이상 | |
| 6.7 | ≤ | 취약 | < | 6.12.36 | 6.12.36이상 | |
| 6.13 | ≤ | 취약 | < | 6.15.5 | 6.15.5이상 | |
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 9줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 이 버전만 | 취약 | = | 2.6.20 | 벤더 공지 확인 | |
| 최초 버전 | ≤ | 영향 없음 | < | 2.6.20 | — | |
| 5.4.296 | ≤ | 영향 없음 | ≤ | 5.4.* | — | |
| 5.15.187 | ≤ | 영향 없음 | ≤ | 5.15.* | — | |
| 6.1.143 | ≤ | 영향 없음 | ≤ | 6.1.* | — | |
| 6.6.96 | ≤ | 영향 없음 | ≤ | 6.6.* | — | |
| 6.12.36 | ≤ | 영향 없음 | ≤ | 6.12.* | — | |
| 6.15.5 | ≤ | 영향 없음 | ≤ | 6.15.* | — | |
| 6.16 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
패치7
- git.kernel.org/stable/c/5015eed450005bab6e5cb6810f7a62eab0434fc4
- git.kernel.org/stable/c/685d29f2c5057b32c7b1b46f2a7d303b926c8f72
- git.kernel.org/stable/c/6bd697b5fc39fd24e2aa418c7b7d14469f550a93
- git.kernel.org/stable/c/6db06aaea07bb7c8e33a425cf7b98bf29ee6056e
- git.kernel.org/stable/c/8e958d10dd0ce5ae674cce460db5c9ca3f25243b