CVE-2026-64595 (GCVE-0-2026-64595)

Vulnerability from cvelistv5 – Published: 2026-08-06 07:13 – Updated: 2026-08-06 07:13
VLAI
Title
HID: hid-lenovo-go: cancel cfg_setup work in hid_go_cfg_remove()
Summary
In the Linux kernel, the following vulnerability has been resolved: HID: hid-lenovo-go: cancel cfg_setup work in hid_go_cfg_remove() hid_go_cfg_probe() initialises drvdata.go_cfg_setup and schedules it to run 2 ms later: INIT_DELAYED_WORK(&drvdata.go_cfg_setup, &cfg_setup); schedule_delayed_work(&drvdata.go_cfg_setup, msecs_to_jiffies(2)); cfg_setup() dereferences drvdata.hdev to issue MCU command requests. hid_go_cfg_remove() tears down sysfs and stops the HID device, but never drains the delayed work. If the device is unbound within the 2 ms scheduling delay (a probe failure rolling back via remove, or a fast rmmod after probe), the work fires after hid_destroy_device() has dropped its reference and released the underlying hdev struct, leaving cfg_setup() with a stale drvdata.hdev pointer. Mirror the sibling driver hid-lenovo-go-s.c, whose hid_gos_cfg_remove() already calls cancel_delayed_work_sync() on its analogous work, and drain go_cfg_setup at the top of hid_go_cfg_remove(). The cancel must come before guard(mutex)(&drvdata.cfg_mutex) because cfg_setup() acquires that mutex; reversing the order would deadlock.
Severity
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: d69ccfcbc9551988190895bc125a8bf709aa5931 , < 3e7761f7bf9f0187bb18cf52b5119bdf4940e686 (git)
Affected: d69ccfcbc9551988190895bc125a8bf709aa5931 , < 73fde0cbff7d9d618591774a12c23434232752c1 (git)
Create a notification for this product.
Linux Linux Affected: 7.1
Unaffected: 0 , < 7.1 (semver)
Unaffected: 7.1.4 , ≤ 7.1.* (semver)
Unaffected: 7.2-rc1 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/hid/hid-lenovo-go.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "3e7761f7bf9f0187bb18cf52b5119bdf4940e686",
              "status": "affected",
              "version": "d69ccfcbc9551988190895bc125a8bf709aa5931",
              "versionType": "git"
            },
            {
              "lessThan": "73fde0cbff7d9d618591774a12c23434232752c1",
              "status": "affected",
              "version": "d69ccfcbc9551988190895bc125a8bf709aa5931",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/hid/hid-lenovo-go.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "7.1"
            },
            {
              "lessThan": "7.1",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.1.*",
              "status": "unaffected",
              "version": "7.1.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.2-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.4",
                  "versionStartIncluding": "7.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2-rc1",
                  "versionStartIncluding": "7.1",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nHID: hid-lenovo-go: cancel cfg_setup work in hid_go_cfg_remove()\n\nhid_go_cfg_probe() initialises drvdata.go_cfg_setup and schedules it\nto run 2 ms later:\n\n    INIT_DELAYED_WORK(\u0026drvdata.go_cfg_setup, \u0026cfg_setup);\n    schedule_delayed_work(\u0026drvdata.go_cfg_setup, msecs_to_jiffies(2));\n\ncfg_setup() dereferences drvdata.hdev to issue MCU command requests.\nhid_go_cfg_remove() tears down sysfs and stops the HID device, but\nnever drains the delayed work.  If the device is unbound within the\n2 ms scheduling delay (a probe failure rolling back via remove, or a\nfast rmmod after probe), the work fires after hid_destroy_device()\nhas dropped its reference and released the underlying hdev struct,\nleaving cfg_setup() with a stale drvdata.hdev pointer.\n\nMirror the sibling driver hid-lenovo-go-s.c, whose hid_gos_cfg_remove()\nalready calls cancel_delayed_work_sync() on its analogous work, and\ndrain go_cfg_setup at the top of hid_go_cfg_remove().  The cancel\nmust come before guard(mutex)(\u0026drvdata.cfg_mutex) because cfg_setup()\nacquires that mutex; reversing the order would deadlock."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-06T07:13:50.918Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/3e7761f7bf9f0187bb18cf52b5119bdf4940e686"
        },
        {
          "url": "https://git.kernel.org/stable/c/73fde0cbff7d9d618591774a12c23434232752c1"
        }
      ],
      "title": "HID: hid-lenovo-go: cancel cfg_setup work in hid_go_cfg_remove()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-64595",
    "datePublished": "2026-08-06T07:13:50.918Z",
    "dateReserved": "2026-07-19T15:36:31.799Z",
    "dateUpdated": "2026-08-06T07:13:50.918Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-64595",
      "date": "2026-08-06",
      "epss": "0.00145",
      "percentile": "0.04201"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-64595\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-08-06T08:16:35.097\",\"lastModified\":\"2026-08-06T08:16:35.097\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nHID: hid-lenovo-go: cancel cfg_setup work in hid_go_cfg_remove()\\n\\nhid_go_cfg_probe() initialises drvdata.go_cfg_setup and schedules it\\nto run 2 ms later:\\n\\n    INIT_DELAYED_WORK(\u0026drvdata.go_cfg_setup, \u0026cfg_setup);\\n    schedule_delayed_work(\u0026drvdata.go_cfg_setup, msecs_to_jiffies(2));\\n\\ncfg_setup() dereferences drvdata.hdev to issue MCU command requests.\\nhid_go_cfg_remove() tears down sysfs and stops the HID device, but\\nnever drains the delayed work.  If the device is unbound within the\\n2 ms scheduling delay (a probe failure rolling back via remove, or a\\nfast rmmod after probe), the work fires after hid_destroy_device()\\nhas dropped its reference and released the underlying hdev struct,\\nleaving cfg_setup() with a stale drvdata.hdev pointer.\\n\\nMirror the sibling driver hid-lenovo-go-s.c, whose hid_gos_cfg_remove()\\nalready calls cancel_delayed_work_sync() on its analogous work, and\\ndrain go_cfg_setup at the top of hid_go_cfg_remove().  The cancel\\nmust come before guard(mutex)(\u0026drvdata.cfg_mutex) because cfg_setup()\\nacquires that mutex; reversing the order would deadlock.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"drivers/hid/hid-lenovo-go.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"d69ccfcbc9551988190895bc125a8bf709aa5931\",\"lessThan\":\"3e7761f7bf9f0187bb18cf52b5119bdf4940e686\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"d69ccfcbc9551988190895bc125a8bf709aa5931\",\"lessThan\":\"73fde0cbff7d9d618591774a12c23434232752c1\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"drivers/hid/hid-lenovo-go.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"7.1\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"7.1\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1.4\",\"lessThanOrEqual\":\"7.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.2-rc1\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/3e7761f7bf9f0187bb18cf52b5119bdf4940e686\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/73fde0cbff7d9d618591774a12c23434232752c1\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…