{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-80771",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-08-26T14:34:25.792Z",
        "datePublished": "2026-09-04T15:12:43.246Z",
        "dateUpdated": "2026-10-19T08:43:27.721Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-10-19T08:43:27.721Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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->ff.\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."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/hid/hid-nintendo.c"
                    ],
                    "versions": [
                        {
                            "version": "2af16c1f846bd60240745bbd3afa13d5f040c61a",
                            "lessThan": "3288bec1a21d582b504344380139cdc0e88ebe4d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "2af16c1f846bd60240745bbd3afa13d5f040c61a",
                            "lessThan": "268679f501386ad46405d42c2bcf89384cb5e256",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "2af16c1f846bd60240745bbd3afa13d5f040c61a",
                            "lessThan": "a9fc7547f911ada09da33c5e204e5acda38e765a",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "2af16c1f846bd60240745bbd3afa13d5f040c61a",
                            "lessThan": "27dc4b8eadac73b3c3cc526c8547d8b4ae8528be",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "2af16c1f846bd60240745bbd3afa13d5f040c61a",
                            "lessThan": "d723bc1fe2e72b9252234e94c11af644ec477bf7",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/hid/hid-nintendo.c"
                    ],
                    "versions": [
                        {
                            "version": "5.16",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "5.16",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.106",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.47",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.1.11",
                            "lessThanOrEqual": "7.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.2.1",
                            "lessThanOrEqual": "7.2.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.16",
                                    "versionEndExcluding": "6.12.106"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.16",
                                    "versionEndExcluding": "6.18.47"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.16",
                                    "versionEndExcluding": "7.1.11"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.16",
                                    "versionEndExcluding": "7.2.1"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.16",
                                    "versionEndExcluding": "7.3"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/3288bec1a21d582b504344380139cdc0e88ebe4d"
                },
                {
                    "url": "https://git.kernel.org/stable/c/268679f501386ad46405d42c2bcf89384cb5e256"
                },
                {
                    "url": "https://git.kernel.org/stable/c/a9fc7547f911ada09da33c5e204e5acda38e765a"
                },
                {
                    "url": "https://git.kernel.org/stable/c/27dc4b8eadac73b3c3cc526c8547d8b4ae8528be"
                },
                {
                    "url": "https://git.kernel.org/stable/c/d723bc1fe2e72b9252234e94c11af644ec477bf7"
                }
            ],
            "title": "HID: nintendo: register input device after capabilities are set",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}