Impact
The Linux kernel HID driver for Nintendo Joy‑Con and Pro Controllers performs a premature length check in the joycon_ctlr_read_handler routine, allowing an attacker to supply a 12‑byte report that is incorrectly processed as a 49‑byte IMU report. The over‑read propagates kernel memory into the (IMU) input device and forwards the data to userspace, causing a kernel memory disclosure. The flaw arises from the absence of a sizeof() comparison for the structure being parsed.
Affected Systems
All Linux kernel builds that include the HID driver for Nintendo Joy‑Con or Pro Controllers and that have not applied the commit adding a proper sizeof(struct joycon_input_report) guard are vulnerable. This includes all kernels released before the patch, regardless of major version.
Risk and Exploitability
An attacker only needs the ability to send a crafted HID report to a connected or spoofed Joy‑Con/Pro controller; no elevated privileges are required. The vulnerability is not listed in the CISA KEV catalog and no EPSS score is available, but the low barrier to exploitation and kernel memory leakage give the flaw a moderate‑to‑high risk potential.
OpenCVE Enrichment
Debian DLA