CVE-2026-97975
- 공개
- 2026년 9월 25일
- 수정
- 2026년 10월 21일
- 조회
- 0
- 상태
- Received
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: hci_sysfs: Fix NULL pointer dereference in device_del()
A NULL pointer dereference in klist_put() occurs when a child device (such as a BNEP network device in bnep_session) is concurrently being unregistered while hci_conn_del_sysfs() reparents child devices.
This is caused by a race condition between hci_conn_del_sysfs() and concurrent child device unregistration (e.g. bnep_session calling unregister_netdev()). During device unregistration, device_del() snapshots a non-NULL parent pointer. Concurrently, hci_conn_del_sysfs() finds the child device using device_find_any_child() and calls device_move() to reparent it to NULL, which removes the node from its parent's klist and clears knode_parent. Subsequently, device_del() calls klist_del(&dev->p->knode_parent) using the stale parent snapshot, causing klist_put() to dereference knode_klist(n)->put on an already removed node, resulting in a NULL pointer dereference.
This race was introduced by commit 27aabf27fd01 ("Bluetooth: fix use-after-free in device_for_each_child()"), which replaced device_find_child(..., __match_tty) with device_find_any_child() in hci_conn_del_sysfs(). That change was intended to avoid a use-after-free where conn->dev outlived its parent hdev->dev when child devices held references to conn->dev, because conn->dev only held a reference to hdev->dev while registered in sysfs.
Fix the issue properly by taking an explicit reference to the parent device with get_device(&hdev->dev) in hci_conn_init_sysfs() and dropping it with put_device(parent) in bt_link_release() when the conn device is freed. This ensures that hdev->dev remains valid for the entire lifecycle of conn->dev, resolving the underlying use-after-free. With the parent reference held properly, restore the __match_tty filter in hci_conn_del_sysfs() so that device_move() is only invoked on persistent RFCOMM TTY devices as originally intended, eliminating the race condition with unregistering network devices.
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 6.6.64 | ≤ | 취약 | < | 6.6.160 | 6.6.160이상 |
| 6.12.2 | ≤ | 취약 | < | 6.12.114 | 6.12.114이상 | |
| 5.4.297 | ≤ | 취약 | < | 5.5 | 5.5이상 | |
| 5.10.231 | ≤ | 취약 | < | 5.11 | 5.11이상 | |
| 5.15.174 | ≤ | 취약 | < | 5.16 | 5.16이상 | |
| 6.1.120 | ≤ | 취약 | < | 6.2 | 6.2이상 | |
| 6.11.11 | ≤ | 취약 | < | 6.12 | 6.12이상 | |
| 이 버전만 | 취약 | = | 6.13 | 벤더 공지 확인 | ||
| 최초 버전 | ≤ | 영향 없음 | < | 6.13 | — | |
| 6.6.160 | ≤ | 영향 없음 | ≤ | 6.6.* | — | |
| 6.12.114 | ≤ | 영향 없음 | ≤ | 6.12.* | — | |
| 6.18.53 | ≤ | 영향 없음 | ≤ | 6.18.* | — | |
| 7.2.7 | ≤ | 영향 없음 | ≤ | 7.2.* | — | |
| 7.3 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
할당 기관(CNA) 레코드 기준 (NVD 분석 전). 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
기타5
- git.kernel.org/stable/c/55b76500546e5f2e7fdd7ae7283530b620de6e61
- git.kernel.org/stable/c/66cc55b69928b742d24b4c5b66d195ae96900e48
- git.kernel.org/stable/c/9b851b09b392da68bd715601f10a5adb2d8d19b8
- git.kernel.org/stable/c/9e9ece97b8e716890793de261574b8efef7d8702
- git.kernel.org/stable/c/eeabdb25c3209569367e99a85ca9a503b64a646d