🔍 CVE-2025-39861

7.8
CVSS Score
HIGH
2025-09-19
2026-10-19 21:10
✅ 완료

🇰🇷 한글 설명

Linux 커널의 Bluetooth vhci 모듈에서 debugfs 파일이 적절한 시점에 삭제되지 않아 발생하는 Use-After-Free 취약점입니다. vhci_release() 함수 호출 시 관련 데이터 구조체가 해제되기 전에 debugfs 파일들을 먼저 제거하도록 수정되었습니다.

💡 쉬운 설명

블루투스 관련 시스템 파일이 메모리에서 데이터가 사라진 뒤에도 남아 있어 발생하는 오류입니다. 공격자가 이 파일을 잘못 건드리면 시스템이 충돌하거나 보안 문제가 생길 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: vhci: Prevent use-after-free by removing debugfs files early Move the creation of debugfs files into a dedicated function, and ensure they are explicitly removed during vhci_release(), before associated data structures are freed. Previously, debugfs files such as "force_suspend", "force_wakeup", and others were created under hdev->debugfs but not removed in vhci_release(). Since vhci_release() frees the backing vhci_data structure, any access to these files after release would result in use-after-free errors. Although hdev->debugfs is later freed in hci_release_dev(), user can access files after vhci_data is freed but before hdev->debugfs is released.

📍 영향받는 시스템

Linux kernel (Bluetooth vhci module)

⚔️ 공격 벡터

로컬 사용자가 vhci_release() 호출 이후 남아있는 debugfs 파일을 통해 메모리에 접근

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인

Shell / Script
uname -r

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

💻 영향받는 소프트웨어

Linux Kernel