# CVE-2026-80783: HID: magicmouse: prevent unbounded recursion in magicmouse\_raw\_event()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.24% (percentile 9, 2026-11-26)
- **Published:** 2026-09-04T15:12:54.859Z
- **Modified:** 2026-10-19T09:17:12.543Z

## Who should check

- Anyone running Linux \>= a462230e16acc8664145216da3c928d03556691a, \< 26c45abed62536aabf4033fb6d64cf72e93374e9; \>= a462230e16acc8664145216da3c928d03556691a, \< 8a10a624996f16628234306b46f0cf36707d78bd; \>= a462230e16acc8664145216da3c928d03556691a, \< d16df755b4493b6d37803c628b2c621d096796a8; \>= a462230e16acc8664145216da3c928d03556691a, \< bec338b07beb883726b32192c8f01c601bc76fda; \>= a462230e16acc8664145216da3c928d03556691a, \< 70589b0c005db003f6d8ae4db3c4d54fed7b83e4; \>= a462230e16acc8664145216da3c928d03556691a, \< a33a596d3ad8dfe6c96a368097a028abeee16c17; \>= a462230e16acc8664145216da3c928d03556691a, \< d095de37f78c5f32a4252ef0f99b84ba76550b86; \>= a462230e16acc8664145216da3c928d03556691a, \< db8d634128d2ba88d79c0b601e983ebe14bb0519
- Anyone running Linux 2.6.37

## Description

In the Linux kernel, the following vulnerability has been resolved:

HID: magicmouse: prevent unbounded recursion in magicmouse\_raw\_event()

magicmouse\_raw\_event() handles DOUBLE\_REPORT\_ID (0xf7) packets, which pack
two touch reports into one, by splitting the packet and calling itself on
each half. The only guard against runaway recursion is a "size \< 1" check,
which stops zero-sized calls but does not bound the recursion depth.

A malicious HID device that matches this driver can send a report starting
with DOUBLE\_REPORT\_ID and filled with the sequence \[0xf7, 0x00\]. Each level
consumes two bytes and recurses on the remainder, so an incoming report of
up to HID\_MAX\_BUFFER\_SIZE (16 KiB) drives roughly 8000 nested calls. That
easily exhausts the 16 KiB kernel stack, leading to a stack overflow: a
panic with CONFIG\_VMAP\_STACK, or memory corruption without it.

A double report only ever wraps two normal reports; it is never
legitimately nested. Refuse to re-enter the DOUBLE\_REPORT\_ID case from a
recursive call so the recursion depth is bounded to two, while all valid
packets keep being parsed exactly as before.

## Affected and fixed versions

- Linux: \>= a462230e16acc8664145216da3c928d03556691a, \< 26c45abed62536aabf4033fb6d64cf72e93374e9; \>= a462230e16acc8664145216da3c928d03556691a, \< 8a10a624996f16628234306b46f0cf36707d78bd; \>= a462230e16acc8664145216da3c928d03556691a, \< d16df755b4493b6d37803c628b2c621d096796a8; \>= a462230e16acc8664145216da3c928d03556691a, \< bec338b07beb883726b32192c8f01c601bc76fda; \>= a462230e16acc8664145216da3c928d03556691a, \< 70589b0c005db003f6d8ae4db3c4d54fed7b83e4; \>= a462230e16acc8664145216da3c928d03556691a, \< a33a596d3ad8dfe6c96a368097a028abeee16c17; \>= a462230e16acc8664145216da3c928d03556691a, \< d095de37f78c5f32a4252ef0f99b84ba76550b86; \>= a462230e16acc8664145216da3c928d03556691a, \< db8d634128d2ba88d79c0b601e983ebe14bb0519 (cvelist)
- Linux: 2.6.37 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-80783. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-80783.md
Affected: Linux >= a462230e16acc8664145216da3c928d03556691a, < 26c45abed62536aabf4033fb6d64cf72e93374e9; >= a462230e16acc8664145216da3c928d03556691a, < 8a10a624996f16628234306b46f0cf36707d78bd; >= a462230e16acc8664145216da3c928d03556691a, < d16df755b4493b6d37803c628b2c621d096796a8; >= a462230e16acc8664145216…
Fixed in: Linux 26c45abed62536aabf4033fb6d64cf72e93374e9, Linux 8a10a624996f16628234306b46f0cf36707d78bd, Linux 70589b0c005db003f6d8ae4db3c4d54fed7b83e4

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-80783 being exploited?

There is no confirmed exploitation: CVE-2026-80783 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.24% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-80783?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-80783?

Linux \>= a462230e16acc8664145216da3c928d03556691a, \< 26c45abed62536aabf4033fb6d64cf72e93374e9; \>= a462230e16acc8664145216da3c928d03556691a, \< 8a10a624996f16628234306b46f0cf36707d78bd; \>= a462230e16acc8664145216da3c928d03556691a, \< d16df755b4493b6d37803c628b2c621d096796a8; \>= a462230e16acc8664145216da3c928d03556691a, \< bec338b07beb883726b32192c8f01c601bc76fda; \>= a462230e16acc8664145216da3c928d03556691a, \< 70589b0c005db003f6d8ae4db3c4d54fed7b83e4; \>= a462230e16acc8664145216da3c928d03556691a, \< a33a596d3ad8dfe6c96a368097a028abeee16c17; \>= a462230e16acc8664145216da3c928d03556691a, \< d095de37f78c5f32a4252ef0f99b84ba76550b86; \>= a462230e16acc8664145216da3c928d03556691a, \< db8d634128d2ba88d79c0b601e983ebe14bb0519; Linux 2.6.37.

### Is there a fix for CVE-2026-80783?

Yes. Fixed in Linux 26c45abed62536aabf4033fb6d64cf72e93374e9, Linux 8a10a624996f16628234306b46f0cf36707d78bd, Linux 70589b0c005db003f6d8ae4db3c4d54fed7b83e4. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-80783?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/26c45abed62536aabf4033fb6d64cf72e93374e9>
- other: <https://git.kernel.org/stable/c/8a10a624996f16628234306b46f0cf36707d78bd>
- other: <https://git.kernel.org/stable/c/d16df755b4493b6d37803c628b2c621d096796a8>
- other: <https://git.kernel.org/stable/c/bec338b07beb883726b32192c8f01c601bc76fda>
- other: <https://git.kernel.org/stable/c/70589b0c005db003f6d8ae4db3c4d54fed7b83e4>
- other: <https://git.kernel.org/stable/c/a33a596d3ad8dfe6c96a368097a028abeee16c17>
- other: <https://git.kernel.org/stable/c/d095de37f78c5f32a4252ef0f99b84ba76550b86>
- other: <https://git.kernel.org/stable/c/db8d634128d2ba88d79c0b601e983ebe14bb0519>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-80783>

HTML: <https://flawdb.com/CVE-2026-80783> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-80783>
