🔍 CVE-2026-31408

8.8
CVSS Score
HIGH
2026-04-06
2026-10-19 19:17
✅ 완료

🇰🇷 한글 설명

Linux 커널 Bluetooth SCO 모듈의 use-after-free 취약점. sco_recv_frame() 함수가 소켓 참조를 증가시키지 않은 채 락을 해제하여, 동시 close() 호출 시 해제된 메모리에 접근하는 문제입니다.

💡 쉬운 설명

Bluetooth 통신 처리 중 메모리가 너무 일찍 해제되고, 프로그램이 그 해제된 메모리를 다시 사용하려고 시도합니다. 공격자는 이를 악용하여 시스템 권한을 탈취하거나 시스템을 충돌시킬 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: SCO: Fix use-after-free in sco_recv_frame() due to missing sock_hold sco_recv_frame() reads conn->sk under sco_conn_lock() but immediately releases the lock without holding a reference to the socket. A concurrent close() can free the socket between the lock release and the subsequent sk->sk_state access, resulting in a use-after-free. Other functions in the same file (sco_sock_timeout(), sco_conn_del()) correctly use sco_sock_hold() to safely hold a reference under the lock. Fix by using sco_sock_hold() to take a reference before releasing the lock, and adding sock_put() on all exit paths.

📍 영향받는 시스템

Bluetooth SCO 기능을 지원하는 모든 Linux 커널 버전 (특정 패치 전)

⚔️ 공격 벡터

로컬 공격자가 Bluetooth 장치에서 동시에 여러 SCO 연결을 종료하여 use-after-free 조건 트리거

🛡️ 대응 방법

영향받는 Linux 커널 버전에 대한 보안 업데이트 설치 (sco_sock_hold/sock_put 패치 포함)

🔧 검증 코드

커널 버전과 Bluetooth 모듈 버전 확인 후 보안 업데이트 권고 사항과 비교하여 최신 패치가 적용되었는지 확인

Shell / Script
cat /proc/version && modinfo bluetooth 2>/dev/null | grep -i version

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel