CVE-2026-80782
- 공개
- 2026년 9월 5일
- 수정
- 2026년 10월 19일
- 조회
- 0
- 상태
- Received
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
HID: magicmouse: do not keep a stale msc->input if no input is claimed
magicmouse_input_mapping() caches the first hid_input's input_dev in msc->input while the report descriptor is parsed, and the rest of the driver treats a non-NULL msc->input as proof that an input device was registered.
That does not hold on the hid-input error path. If hidinput_connect() fails -- for instance because input_register_device() returns an error -- it unwinds through hidinput_disconnect(), which frees every input_dev it created, including the one cached in msc->input.
The failure does not abort the probe. hid_connect() only skips the claim:
if ((connect_mask & HID_CONNECT_HIDINPUT) && !hidinput_connect(hdev, connect_mask & HID_CONNECT_HIDINPUT_FORCE)) hdev->claimed |= HID_CLAIMED_INPUT;
and the "device has no listeners" bailout below it does not fire for this driver, which sets ->raw_event; on the USB Magic Mouse 2 / Magic Trackpad 2 paths hidraw and hiddev are claimed as well. hid_hw_start() therefore returns 0 and magicmouse_probe() continues with msc->input pointing at freed memory. Being non-NULL, it passes the "input not registered" check in probe and the NULL checks in ->raw_event and ->event, so the next input report dereferences freed memory.
Clear msc->input when the HID core did not claim an input device, so the existing NULL checks cover this case as well.
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 3.8.7 | ≤ | 취약 | < | 3.9 | 3.9이상 |
| 이 버전만 | 취약 | = | 3.9 | 벤더 공지 확인 | ||
| 최초 버전 | ≤ | 영향 없음 | < | 3.9 | — | |
| 5.10.269 | ≤ | 영향 없음 | ≤ | 5.10.* | — | |
| 5.15.218 | ≤ | 영향 없음 | ≤ | 5.15.* | — | |
| 6.1.185 | ≤ | 영향 없음 | ≤ | 6.1.* | — | |
| 6.6.154 | ≤ | 영향 없음 | ≤ | 6.6.* | — | |
| 6.12.106 | ≤ | 영향 없음 | ≤ | 6.12.* | — | |
| 6.18.47 | ≤ | 영향 없음 | ≤ | 6.18.* | — | |
| 7.1.11 | ≤ | 영향 없음 | ≤ | 7.1.* | — | |
| 7.2.1 | ≤ | 영향 없음 | ≤ | 7.2.* | — | |
| 7.3 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
할당 기관(CNA) 레코드 기준 (NVD 분석 전). 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
기타9
- git.kernel.org/stable/c/0af3b89705688af01aa06025b84fa7a1e06ba6cc
- git.kernel.org/stable/c/0bf253e9ac994cb5329bc87b00bb4eeca9136791
- git.kernel.org/stable/c/15b60ade825c8ce9ec560048a4ae3747e4572be3
- git.kernel.org/stable/c/2ef16934e069d5f771e989d6ee5c3ece5042f3cd
- git.kernel.org/stable/c/3d7a7bac4c75f25b2513505a0ac5ba909588ed2b