CVE-2026-53252 Bluetooth: fix memory leak in error path of hci_alloc_dev()
설명
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: fix memory leak in error path of hci_alloc_dev() Early failures in Bluetooth HCI UART configuration leak SRCU percpu memory. When device initialization fails before hci_register_dev() completes, the HCI_UNREGISTER flag is never set. As a result, when the device reference count reaches zero, bt_host_release() evaluates this flag as false and falls back to a direct kfree(hdev). Because hci_release_dev() is bypassed, the SRCU struct initialized early in hci_alloc_dev() is never cleaned up, resulting in a leak of percpu memory. Fix the leak by explicitly calling cleanup_srcu_struct() in the fallback (unregistered) branch of bt_host_release() before freeing the device.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 5.15.209 이상 5.15.210 미만
- 6.1.167 이상 6.1.176 미만
- 6.6.97 이상 6.6.143 미만
- 6.12.36 이상 6.12.94 미만
- 5.10.259 이상 5.11 미만
- 6.15.5 이상 6.16 미만
- 6.16
해결 버전
- 5.15.210 이상
- 6.1.176 이상
- 6.6.143 이상
- 6.12.94 이상
- 5.11 이상
- 6.16 이상
- 6.16 미만
- 6.18.36 이상
외 1개 구간 펼치기
- 7.0.13 이상
참고 자료 7건
- git.kernel.org https://git.kernel.org/stable/c/0622e527a31d4b44737fed5c1a2ac1fc2cfb5184 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/37b3009bf5976e8ab77c8b9a9bc3bbd7ff49e37f (새 창)
- git.kernel.org https://git.kernel.org/stable/c/5b7dfca6f852e6b9d809fd0263b5427cc9fb33fd (새 창)
- git.kernel.org https://git.kernel.org/stable/c/bc2efe73c194a74839d7cf57b63880d97e21d309 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/c016118b9e51eeaf5bc93850d4c455a3b583c0aa (새 창)
- git.kernel.org https://git.kernel.org/stable/c/ce4b4cac3c5749b6aa75e62e2991ae2263f2f889 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/f82799407a50af7bcacacf09cc9b279af8fe9b81 (새 창)