CVEvulnerability
CVE-2026-80771
- Status
- Received
- Published
- 2026-09-04
- Last modified
- 2026-10-19
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Description
In the Linux kernel, the following vulnerability has been resolved:
HID: nintendo: register input device after capabilities are set
input_register_device() exposes the device to userspace immediately.
In joycon_input_create() it was called before joycon_config_rumble()
configures the FF_RUMBLE capability and the memless force-feedback
device, so a concurrent EVIOCSFF could dereference a NULL dev->ff.
Registering early also means the initial udev event lacks button and
axis information, which can make input managers ignore the device.
Move input_register_device() to the end of joycon_input_create(), after
all capabilities, the IMU input device and the force-feedback callbacks
have been configured.
References
- https://git.kernel.org/stable/c/268679f501386ad46405d42c2bcf89384cb5e256 git.kernel.org
- https://git.kernel.org/stable/c/27dc4b8eadac73b3c3cc526c8547d8b4ae8528be git.kernel.org
- https://git.kernel.org/stable/c/3288bec1a21d582b504344380139cdc0e88ebe4d git.kernel.org
- https://git.kernel.org/stable/c/a9fc7547f911ada09da33c5e204e5acda38e765a git.kernel.org
- https://git.kernel.org/stable/c/d723bc1fe2e72b9252234e94c11af644ec477bf7 git.kernel.org