🔍 CVE-2025-71291

5.5
CVSS Score
MEDIUM
2026-05-06
2026-10-14 13:10
✅ 완료

🇰🇷 한글 설명

Linux 커널의 bcm_vk 드라이버 bcm_vk_read() 함수에서 entry 포인터가 NULL일 수 있음에도 불구하고 특정 조건에서 NULL 포인터를 역참조하는 취약점입니다. rc가 -EMSGSIZE일 때 entry->to_h_msg, entry->usr_msg_id, entry->to_h_blks에 접근하면서 커널 panic이 발생할 수 있습니다.

💡 쉬운 설명

특정 상황에서 프로그램이 존재하지 않는 메모리 주소에 접근하려고 합니다. 이로 인해 커널이 충돌하고 시스템 서비스가 중단될 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: misc: bcm_vk: Fix possible null-pointer dereferences in bcm_vk_read() In the function bcm_vk_read(), the pointer entry is checked, indicating that it can be NULL. If entry is NULL and rc is set to -EMSGSIZE, the following code may cause null-pointer dereferences: struct vk_msg_blk tmp_msg = entry->to_h_msg[0]; set_msg_id(&tmp_msg, entry->usr_msg_id); tmp_msg.size = entry->to_h_blks - 1; To prevent these possible null-pointer dereferences, copy to_h_msg, usr_msg_id, and to_h_blks from iter into temporary variables, and return these temporary variables to the application instead of accessing them through a potentially NULL entry.

📍 영향받는 시스템

Linux kernel의 bcm_vk 드라이버가 활성화된 모든 버전 (패치 이전)

⚔️ 공격 벡터

bcm_vk 장치에 대한 읽기(read) 작업을 통해 NULL 포인터 역참조 조건 트리거

🛡️ 대응 방법

Linux kernel을 CVE-2025-71291 패치가 적용된 최신 버전으로 업그레이드

🔧 검증 코드

현재 커널 버전과 bcm_vk 드라이버 활성화 상태를 확인합니다. CONFIG_BCM_VK=y이면 해당 드라이버가 활성화되어 있고 시스템이 영향받을 수 있습니다.

Shell / Script
uname -r && grep -E '^CONFIG_BCM_VK' /boot/config-$(uname -r) 2>/dev/null || echo 'bcm_vk not found'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel