CVE-2026-80783
Description
A flaw was found in the Human Interface Device (HID) magicmouse driver in the Linux kernel. This vulnerability occurs because the magicmouse_raw_event() function, which processes input from Magic Mouse devices, can enter unbounded recursion when handling specially crafted DOUBLE_REPORT_ID packets from a malicious HID device. This excessive recursion can lead to a kernel stack overflow, resulting in a system panic (Denial of Service) or potentially memory corruption. A local attacker with a specially designed HID device could exploit this to cause system instability or potentially execute arbitrary code.
Statement
A kernel stack overflow in the HID magicmouse driver can occur because magicmouse_raw_event recursively handles DOUBLE_REPORT_ID packets without a recursion depth bound. A malicious HID device matching this driver can send crafted nested double reports up to the HID report buffer limit, causing thousands of nested calls and exhausting the kernel stack. With CONFIG_VMAP_STACK this is expected to cause a kernel panic and denial of service. Without that protection the same bug can become memory corruption with possible confidentiality and integrity impact. For the CVSS the PR:N is used because the attacker does not need privileges on the victim once the malicious HID device is connected or paired. The base vector uses AV:P because a malicious local peripheral is the most typical trigger. The paranoid vector uses AV:A to cover Bluetooth HID proximity scenarios where the attack can be delivered from an adjacent radio range after pairing or device trust is established.
Mitigation
Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
Common Vulnerability Scoring System (CVSS) Score Details
Info alert:Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).
The following CVSS metrics and score provided are preliminary and subject to review.
CVSS v3 Score Breakdown
| Red Hat | NVD | cve.org | |
|---|---|---|---|
| Base Score | 6.5 | N/A | N/A |
| Attack Vector | Adjacent Network | N/A | N/A |
| Attack Complexity | Low | N/A | N/A |
| Privileges Required | None | N/A | N/A |
| User Interaction | None | N/A | N/A |
| Scope | Unchanged | N/A | N/A |
| Confidentiality | None | N/A | N/A |
| Integrity Impact | None | N/A | N/A |
| Availability Impact | High | N/A | N/A |
Vector
Red Hat: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Understanding the Weakness (CWE)
Integrity
Technical Impact: Modify Memory; Execute Unauthorized Code or Commands
Write operations could cause memory corruption. In some cases, an adversary can modify control data such as return addresses in order to execute unexpected code.
Availability
Technical Impact: DoS: Crash, Exit, or Restart
Attempting to access out-of-range, invalid, or unauthorized memory could cause the product to crash.
Other
Technical Impact: Unexpected State
Subsequent write operations can produce undefined or unexpected results.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.