🔍 CVE-2026-64427

5.5
CVSS Score
MEDIUM
2026-07-25
2026-09-04 14:58
✅ 완료

🇰🇷 한글 설명

Linux 커널의 HID Logitech DJ 드라이버에서 발생하는 취약점으로, 조작된 보고서 형식을 처리하는 과정에서 NULL 포인터 역참조가 발생합니다. 공격자가 uhid를 통해 패딩만 포함된 잘못된 보고서를 에뮬레이션할 경우, 커널 프로브 과정에서 시스템 충돌(Kernel Panic)이 발생할 수 있습니다.

💡 쉬운 설명

특수하게 제작된 가짜 로지텍 장치를 컴퓨터에 연결하는 것처럼 속이면, 컴퓨터의 운영체제 핵심 부분(커널)이 오류를 일으켜 멈추거나 꺼질 수 있는 문제입니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: HID: logitech-dj: Fix maxfield check in DJ short report validation Commit b6a57912854e ("HID: logitech-dj: Prevent REPORT_ID_DJ_SHORT related user initiated OOB write") added validation for the DJ short output report, but the error path dereferences rep->field[0] even when rep->maxfield is zero. Commit 8b9a097eb2fc ("HID: logitech-dj: fix wrong detection of bad DJ_SHORT output report") made the check conditional on rep being present, but a crafted descriptor can still create report ID 0x20 with only padding output items. hid-core registers the report, ignores the padding field, and leaves rep->maxfield as zero. In that case the validation enters the rep->maxfield < 1 branch and then dereferences rep->field[0]->report_count while printing the error message, causing a NULL pointer dereference during probe. This is reproducible with uhid by emulating a Logitech receiver with a padding-only DJ short output report: BUG: KASAN: null-ptr-deref in logi_dj_probe+0xb1/0x754 [hid_logitech_dj] Read of size 4 at addr 0000000000000028 by task kworker/4:1/129 ... Call Trace: logi_dj_probe+0xb1/0x754 [hid_logitech_dj] hid_device_probe+0x329/0x3f0 [hid] really_probe+0x162/0x570 __device_attach+0x137/0x2c0 bus_probe_device+0x38/0xc0 device_add+0xa56/0xce0 hid_add_device+0x19c/0x280 [hid] uhid_device_add_worker+0x2c/0xb0 [uhid] Reject the zero-field report before printing the field report_count.

📍 영향받는 시스템

Linux kernel (HID: logitech-dj driver 포함 버전)

⚔️ 공격 벡터

uhid를 사용하여 패딩만 포함된 조작된 DJ short 출력 보고서를 에뮬레이션하여 로컬에서 실행

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 해당 드라이버의 검증 로직을 수정해야 합니다.

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 수정된 커밋(b6a57912854e 이후)이 포함된 버전인지 확인합니다.

Shell / Script
uname -r

📊 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