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.
Published: 2026-09-04
Score: n/a
EPSS: < 1% Very Low
KEV: No
Impact: Use‑After‑Free in kernel HID driver potentially leading to memory corruption or privilege escalation
Action: Immediate Patch
AI Analysis

Impact

During promotion of the Nintendo Joy‑Con HID driver, the kernel starts HID device IO before fully initializing driver state. If initialization fails, the error path closes the hardware without stopping IO, so background reporting still runs and accesses freed memory. This creates a classic use‑after‑free in the kernel, which can corrupt kernel memory and may let an attacker execute arbitrary code or gain elevated privileges. The flaw is a direct failure to clean up after IO start, rather than a logic error in data handling.

Affected Systems

The vulnerability exists in the Linux kernel’s HID Nintendo driver. All kernel builds that include the affected nintendo_hid module are impacted, as the code path is generic to the Linux kernel. No specific version strings are listed, so any recent kernel that ships the driver is potentially vulnerable. The affected vendor is Linux:Linux.

Risk and Exploitability

The vulnerability has a use‑after‑free type weakness, which is high severity for kernel space. No public exploit is known and the flaw is not listed in CISA KEV, suggesting no widespread exploitation yet. Because the flaw is triggered by a USB device, a local attacker with control over a system’s USB ports could connect a malicious Joy‑Con or emulate one to trigger the bug. The EPSS score is unavailable, so the current likelihood of exploitation cannot be quantified, but the potential impact warrants prompt remediation.

Generated by OpenCVE AI on September 4, 2026 at 21:22 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the kernel patch that adds an error path calling hid_device_io_stop before closing the device during probe failure
  • If an immediate patch is unavailable, upgrade to a kernel release that includes the fix or apply the relevant Git commit from the Linux kernel source
  • Rebuild or reload the kernel module after applying the patch or upgrade, and reboot the system to ensure the change takes effect

Generated by OpenCVE AI on September 4, 2026 at 21:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4777-1 linux security update
Debian DLA Debian DLA DLA-4788-1 linux-6.12 security update
History

Fri, 04 Sep 2026 21:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Fri, 04 Sep 2026 15:30:00 +0000

Type Values Removed Values Added
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.
Title HID: nintendo: stop device IO before hid_hw_stop on probe failure
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-09-04T15:12:42.327Z

Reserved: 2026-08-26T14:34:25.792Z

Link: CVE-2026-80770

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-04T16:18:02.483

Modified: 2026-09-04T16:18:02.483

Link: CVE-2026-80770

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-04T21:30:07Z

Weaknesses