CVE-2026-80770 (GCVE-0-2026-80770)
Vulnerability from cvelistv5
Published
2026-09-04 15:12
Modified
2026-09-04 15:12
Severity ?
Summary
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.
Impacted products
Vendor Product Version
Linux Linux Version: 2af16c1f846bd60240745bbd3afa13d5f040c61a
Version: 2af16c1f846bd60240745bbd3afa13d5f040c61a
Version: 2af16c1f846bd60240745bbd3afa13d5f040c61a
Version: 2af16c1f846bd60240745bbd3afa13d5f040c61a
Version: 2af16c1f846bd60240745bbd3afa13d5f040c61a
Version: 2af16c1f846bd60240745bbd3afa13d5f040c61a
Version: 2af16c1f846bd60240745bbd3afa13d5f040c61a
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/hid/hid-nintendo.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "c2f3d51c7f5222f5b51e0c90f02258d82e1b44dd",
              "status": "affected",
              "version": "2af16c1f846bd60240745bbd3afa13d5f040c61a",
              "versionType": "git"
            },
            {
              "lessThan": "c023443f0e6cfd257846b6515c93c1ea08026593",
              "status": "affected",
              "version": "2af16c1f846bd60240745bbd3afa13d5f040c61a",
              "versionType": "git"
            },
            {
              "lessThan": "03a84f9f88b42cd49752ec0259922b67e4b88598",
              "status": "affected",
              "version": "2af16c1f846bd60240745bbd3afa13d5f040c61a",
              "versionType": "git"
            },
            {
              "lessThan": "5efcd7bbfaaec67d137c99aa0940fa34375db27f",
              "status": "affected",
              "version": "2af16c1f846bd60240745bbd3afa13d5f040c61a",
              "versionType": "git"
            },
            {
              "lessThan": "13a3edf96568a0b7aacadea07c2adec53ac8f630",
              "status": "affected",
              "version": "2af16c1f846bd60240745bbd3afa13d5f040c61a",
              "versionType": "git"
            },
            {
              "lessThan": "2e0d98dc8a6dea5fc2b72bf66e0dcbd5488644b4",
              "status": "affected",
              "version": "2af16c1f846bd60240745bbd3afa13d5f040c61a",
              "versionType": "git"
            },
            {
              "lessThan": "1f74d3bff6fe04a64e02ab3661d2e0d554565aa6",
              "status": "affected",
              "version": "2af16c1f846bd60240745bbd3afa13d5f040c61a",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/hid/hid-nintendo.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.16"
            },
            {
              "lessThan": "5.16",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.187",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.156",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.106",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.47",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.1.*",
              "status": "unaffected",
              "version": "7.1.11",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.1",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.187",
                  "versionStartIncluding": "5.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.156",
                  "versionStartIncluding": "5.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.106",
                  "versionStartIncluding": "5.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.47",
                  "versionStartIncluding": "5.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.11",
                  "versionStartIncluding": "5.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.1",
                  "versionStartIncluding": "5.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3-rc1",
                  "versionStartIncluding": "5.16",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nHID: nintendo: stop device IO before hid_hw_stop on probe failure\n\nnintendo_hid_probe() calls hid_device_io_start() before joycon_init()\nand joycon_leds_create().  If either fails, the error path jumps to\nerr_close which calls hid_hw_close()/hid_hw_stop() without first calling\nhid_device_io_stop().\n\nhid_hw_stop() does not stop device IO, so hid_input_report() may still\nrun and access driver data that is being torn down, resulting in a\nuse-after-free.\n\nAdd an err_io_stop label that calls hid_device_io_stop() before\nhid_hw_close(), and point the two post-io_start error paths at it."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-09-04T15:12:42.327Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/c2f3d51c7f5222f5b51e0c90f02258d82e1b44dd"
        },
        {
          "url": "https://git.kernel.org/stable/c/c023443f0e6cfd257846b6515c93c1ea08026593"
        },
        {
          "url": "https://git.kernel.org/stable/c/03a84f9f88b42cd49752ec0259922b67e4b88598"
        },
        {
          "url": "https://git.kernel.org/stable/c/5efcd7bbfaaec67d137c99aa0940fa34375db27f"
        },
        {
          "url": "https://git.kernel.org/stable/c/13a3edf96568a0b7aacadea07c2adec53ac8f630"
        },
        {
          "url": "https://git.kernel.org/stable/c/2e0d98dc8a6dea5fc2b72bf66e0dcbd5488644b4"
        },
        {
          "url": "https://git.kernel.org/stable/c/1f74d3bff6fe04a64e02ab3661d2e0d554565aa6"
        }
      ],
      "title": "HID: nintendo: stop device IO before hid_hw_stop on probe failure",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-80770",
    "datePublished": "2026-09-04T15:12:42.327Z",
    "dateReserved": "2026-08-26T14:34:25.792Z",
    "dateUpdated": "2026-09-04T15:12:42.327Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…