CVE-2026-80770 HID: nintendo: stop device IO before hid_hw_stop on probe failure
A use-after-free in the Linux kernel Nintendo HID driver allows local attackers to execute code or escalate privileges via a race condition during device probe failure.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-80770?
CVE-2026-80770 is an use after free vulnerability in Linux, published on 4 Sep 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
HID: nintendo: stop device IO before hid_hw_stop on probe failure
nintendo_hid_probe() calls hid_device_io_start() before joycon_init() and joycon_leds_create(). If either fails, the error path jumps to err_close which calls hid_hw_close()/hid_hw_stop() without first calling hid_device_io_stop().
hid_hw_stop() does not stop device IO, so hid_input_report() may still run and access driver data that is being torn down, resulting in a use-after-free.
Add an err_io_stop label that calls hid_device_io_stop() before hid_hw_close(), and point the two post-io_start error paths at it.
Which versions are affected by CVE-2026-80770?
How do I fix CVE-2026-80770?
Apply the vendor's patch.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2026-80770 being exploited?
There is no known exploitation of CVE-2026-80770 in the wild and no public exploit code.
Sources
Also known as AZL-99591, BELL-CVE-2026-80770, DEBIAN-CVE-2026-80770, GHSA-ghrw-6c83-p2qc, UBUNTU-CVE-2026-80770.