{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "2af16c1f846bd60240745bbd3afa13d5f040c61a"
            },
            {
              "fixed": "3288bec1a21d582b504344380139cdc0e88ebe4d"
            },
            {
              "fixed": "268679f501386ad46405d42c2bcf89384cb5e256"
            },
            {
              "fixed": "a9fc7547f911ada09da33c5e204e5acda38e765a"
            },
            {
              "fixed": "27dc4b8eadac73b3c3cc526c8547d8b4ae8528be"
            },
            {
              "fixed": "d723bc1fe2e72b9252234e94c11af644ec477bf7"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.12.106"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.47"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.1.11"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "7.2.0"
            },
            {
              "fixed": "7.2.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80771.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nHID: nintendo: register input device after capabilities are set\n\ninput_register_device() exposes the device to userspace immediately.\nIn joycon_input_create() it was called before joycon_config_rumble()\nconfigures the FF_RUMBLE capability and the memless force-feedback\ndevice, so a concurrent EVIOCSFF could dereference a NULL dev-\u003eff.\n\nRegistering early also means the initial udev event lacks button and\naxis information, which can make input managers ignore the device.\n\nMove input_register_device() to the end of joycon_input_create(), after\nall capabilities, the IMU input device and the force-feedback callbacks\nhave been configured.",
  "id": "CVE-2026-80771",
  "modified": "2026-09-06T03:30:39.180172342Z",
  "published": "2026-09-04T15:12:43.246Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/268679f501386ad46405d42c2bcf89384cb5e256"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/27dc4b8eadac73b3c3cc526c8547d8b4ae8528be"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/3288bec1a21d582b504344380139cdc0e88ebe4d"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/a9fc7547f911ada09da33c5e204e5acda38e765a"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/d723bc1fe2e72b9252234e94c11af644ec477bf7"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80771.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-80771"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "HID: nintendo: register input device after capabilities are set"
}