🔍 CVE-2025-71073

7.8
CVSS Score
HIGH
2026-01-13
2026-10-30 13:18
✅ 완료

🇰🇷 한글 설명

리눅스 커널의 lkkbd 드라이버에서 장치 해제 시 대기 중인 작업이 적절히 중단되지 않아 발생하는 Use-After-Free 취약점입니다. 장치 연결 해제 과정에서 구조체가 메모리에서 해제된 후에도 작업 핸들러가 실행되어 메모리 참조 오류를 유발할 수 있습니다.

💡 쉬운 설명

컴퓨터 부품을 제거할 때, 시스템이 해당 부품이 아직 작동 중이라고 착각하여 이미 사라진 부품의 정보를 읽으려다 발생하는 오류입니다. 이로 인해 시스템이 멈추거나 해커가 시스템 권한을 탈취할 위험이 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: Input: lkkbd - disable pending work before freeing device lkkbd_interrupt() schedules lk->tq via schedule_work(), and the work handler lkkbd_reinit() dereferences the lkkbd structure and its serio/input_dev fields. lkkbd_disconnect() and error paths in lkkbd_connect() free the lkkbd structure without preventing the reinit work from being queued again until serio_close() returns. This can allow the work handler to run after the structure has been freed, leading to a potential use-after-free. Use disable_work_sync() instead of cancel_work_sync() to ensure the reinit work cannot be re-queued, and call it both in lkkbd_disconnect() and in lkkbd_connect() error paths after serio_open().

📍 영향받는 시스템

lkkbd 드라이버를 사용하는 리눅스 커널 버전

⚔️ 공격 벡터

장치 연결 및 해제 과정을 반복적으로 유도하여 메모리 오류를 일으키는 로컬 공격

🛡️ 대응 방법

커널 패치를 적용하여 lkkbd_disconnect 및 lkkbd_connect 오류 경로에 disable_work_sync()를 호출하도록 업데이트

🔧 검증 코드

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

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