🔍 CVE-2024-36012

7.8
CVSS Score
HIGH
2024-05-23
2026-08-04 11:18
✅ 완료

🇰🇷 한글 설명

리눅스 커널의 Bluetooth MSFT 드라이버에서 msft_do_close() 함수 호출 시 slab-use-after-free 취약점이 발생합니다. 이는 msft->data의 수명 주기가 적절히 관리되지 않아, 이미 해제된 메모리 영역에 접근하여 커널 패닉이나 권한 상승을 유발할 수 있는 문제입니다.

💡 쉬운 설명

블루투스 기능을 사용하는 과정에서 컴퓨터가 이미 삭제한 메모리 정보를 다시 사용하려고 시도할 때 발생하는 오류입니다. 이로 인해 시스템이 갑자기 멈추거나 해커가 시스템 제어권을 얻을 위험이 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: msft: fix slab-use-after-free in msft_do_close() Tying the msft->data lifetime to hdev by freeing it in hci_release_dev() to fix the following case: [use] msft_do_close() msft = hdev->msft_data; if (!msft) ...(1) <- passed. return; mutex_lock(&msft->filter_lock); ...(4) <- used after freed. [free] msft_unregister() msft = hdev->msft_data; hdev->msft_data = NULL; ...(2) kfree(msft); ...(3) <- msft is freed. ================================================================== BUG: KASAN: slab-use-after-free in __mutex_lock_common kernel/locking/mutex.c:587 [inline] BUG: KASAN: slab-use-after-free in __mutex_lock+0x8f/0xc30 kernel/locking/mutex.c:752 Read of size 8 at addr ffff888106cbbca8 by task kworker/u5:2/309

📍 영향받는 시스템

Linux Kernel (Bluetooth MSFT driver 포함 버전)

⚔️ 공격 벡터

로컬 또는 원격 블루투스 연결 해제 과정을 통한 메모리 조작

🛡️ 대응 방법

리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.

🔧 검증 코드

출력된 커널 버전이 취약점이 해결된 최신 패치 버전인지 확인하십시오.

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