CVE-2025-71079
- 공개
- 2026년 1월 14일
- 수정
- 2026년 11월 10일
- 조회
- 0
- 상태
- Modified
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
net: nfc: fix deadlock between nfc_unregister_device and rfkill_fop_write
A deadlock can occur between nfc_unregister_device() and rfkill_fop_write() due to lock ordering inversion between device_lock and rfkill_global_mutex.
The problematic lock order is:
Thread A (rfkill_fop_write): rfkill_fop_write() mutex_lock(&rfkill_global_mutex) rfkill_set_block() nfc_rfkill_set_block() nfc_dev_down() device_lock(&dev->dev) <- waits for device_lock
Thread B (nfc_unregister_device): nfc_unregister_device() device_lock(&dev->dev) rfkill_unregister() mutex_lock(&rfkill_global_mutex) <- waits for rfkill_global_mutex
This creates a classic ABBA deadlock scenario.
Fix this by moving rfkill_unregister() and rfkill_destroy() outside the device_lock critical section. Store the rfkill pointer in a local variable before releasing the lock, then call rfkill_unregister() after releasing device_lock.
This change is safe because rfkill_fop_write() holds rfkill_global_mutex while calling the rfkill callbacks, and rfkill_unregister() also acquires rfkill_global_mutex before cleanup. Therefore, rfkill_unregister() will wait for any ongoing callback to complete before proceeding, and device_del() is only called after rfkill_unregister() returns, preventing any use-after-free.
The similar lock ordering in nfc_register_device() (device_lock -> rfkill_global_mutex via rfkill_register) is safe because during registration the device is not yet in rfkill_list, so no concurrent rfkill operations can occur on this device.
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| linux_kernellinux | 4.4.293 | ≤ | 취약 | < | 4.5 | 4.5이상 |
| 4.9.291 | ≤ | 취약 | < | 4.10 | 4.10이상 | |
| 4.14.256 | ≤ | 취약 | < | 4.15 | 4.15이상 | |
| 4.19.218 | ≤ | 취약 | < | 4.20 | 4.20이상 | |
| 5.4.162 | ≤ | 취약 | < | 5.5 | 5.5이상 | |
| 5.10.82 | ≤ | 취약 | < | 5.10.248 | 5.10.248이상 | |
| 5.15.5 | ≤ | 취약 | < | 5.15.198 | 5.15.198이상 | |
| 5.16.1 | ≤ | 취약 | < | 6.1.160 | 6.1.160이상 | |
| 6.2 | ≤ | 취약 | < | 6.6.120 | 6.6.120이상 | |
| 6.7 | ≤ | 취약 | < | 6.12.64 | 6.12.64이상 | |
| 6.13 | ≤ | 취약 | < | 6.18.4 | 6.18.4이상 | |
| 이 버전만 | 취약 | = | 5.16 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 6.19 rc1 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 6.19 rc2 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 6.19 rc3 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 6.19 rc4 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 6.19 rc5 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 6.19 rc6 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 6.19 rc7 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 6.19 rc8 | 벤더 공지 확인 | ||
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 16줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 5.10.82 | ≤ | 취약 | < | 5.10.248 | 5.10.248이상 |
| 5.15.5 | ≤ | 취약 | < | 5.15.198 | 5.15.198이상 | |
| 4.4.293 | ≤ | 취약 | < | 4.5 | 4.5이상 | |
| 4.9.291 | ≤ | 취약 | < | 4.10 | 4.10이상 | |
| 4.14.256 | ≤ | 취약 | < | 4.15 | 4.15이상 | |
| 4.19.218 | ≤ | 취약 | < | 4.20 | 4.20이상 | |
| 5.4.162 | ≤ | 취약 | < | 5.5 | 5.5이상 | |
| 이 버전만 | 취약 | = | 5.16 | 벤더 공지 확인 | ||
| 최초 버전 | ≤ | 영향 없음 | < | 5.16 | — | |
| 5.10.248 | ≤ | 영향 없음 | ≤ | 5.10.* | — | |
| 5.15.198 | ≤ | 영향 없음 | ≤ | 5.15.* | — | |
| 6.1.160 | ≤ | 영향 없음 | ≤ | 6.1.* | — | |
| 6.6.120 | ≤ | 영향 없음 | ≤ | 6.6.* | — | |
| 6.12.64 | ≤ | 영향 없음 | ≤ | 6.12.* | — | |
| 6.18.4 | ≤ | 영향 없음 | ≤ | 6.18.* | — | |
| 6.19 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
패치7
- git.kernel.org/stable/c/1ab526d97a57e44d26fadcc0e9adeb9c0c0182f5
- git.kernel.org/stable/c/2e0831e9fc46a06daa6d4d8d57a2738e343130c3
- git.kernel.org/stable/c/6b93c8ab6f6cda8818983a4ae3fcf84b023037b4
- git.kernel.org/stable/c/8fc4632fb508432895430cd02b38086bdd649083
- git.kernel.org/stable/c/e02a1c33f10a0ed3aba855ab8ae2b6c4c5be8012