🔍 CVE-2026-53256

8.0
CVSS Score
HIGH
2026-06-25
2026-10-19 20:19
✅ 완료

🇰🇷 한글 설명

Linux 커널의 Bluetooth RFCOMM 프로토콜에서 발생하는 Use-After-Free 취약점입니다. rfcomm_get_sock_by_channel() 함수가 리스너 소켓을 찾은 후 참조(reference)를 유지하지 않고 잠금을 해제하여, 연결 시도 중에 리스너 소켓이 먼저 닫히고 메모리에서 해제될 수 있습니다.

💡 쉬운 설명

블루투스 연결을 시도하는 도중에 연결을 기다리는 통로가 갑자기 사라지면서 컴퓨터 메모리 오류를 일으키는 문제입니다. 이로 인해 시스템이 충돌하거나 해커가 시스템 권한을 탈취할 위험이 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: RFCOMM: hold listener socket in rfcomm_connect_ind() rfcomm_get_sock_by_channel() scans rfcomm_sk_list under the list lock, but returns the selected listener after dropping that lock without taking a reference. rfcomm_connect_ind() then locks the listener, queues a child socket on it, and may notify it after unlocking it. The buggy scenario involves two paths, with each column showing the order within that path: rfcomm_connect_ind(): listener close: 1. Find parent in 1. close() enters rfcomm_get_sock_by_channel() rfcomm_sock_release(). 2. Drop rfcomm_sk_list.lock 2. rfcomm_sock_shutdown() without pinning parent. closes the listener. 3. Call lock_sock(parent) and 3. rfcomm_sock_kill() bt_accept_enqueue(parent, unlinks and puts parent. sk, true). 4. Read parent flags and may 4. parent can be freed. call sk_state_change(). If close wins the race, parent can be freed before rfcomm_connect_ind() reaches lock_sock(), bt_accept_enqueue(), or the deferred-setup callback. Take a reference on the listener before leaving rfcomm_sk_list.lock. After lock_sock() succeeds, recheck that it is still in BT_LISTEN before queueing a child, cache the deferred-setup bit while the parent is locked, and drop the reference after the last parent use. KASAN reported a slab-use-after-free in lock_sock_nested() from rfcomm_connect_ind(), with the freeing stack going through rfcomm_sock_kill() and rfcomm_sock_release().

📍 영향받는 시스템

Linux Kernel (Bluetooth RFCOMM 모듈 사용 환경)

⚔️ 공격 벡터

특수하게 조작된 블루투스 연결 요청을 통해 Race Condition(경쟁 상태) 유도

🛡️ 대응 방법

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

🔧 검증 코드

현재 실행 중인 커널 버전을 확인하여 해당 취약점이 해결된 패치 버전인지 확인합니다.

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel