FKIE_CVE-2026-99491

Vulnerability from fkie_nvd - Published: 2026-11-19 15:18 - Updated: 2026-11-23 08:17
Severity
Summary
In the Linux kernel, the following vulnerability has been resolved: HID: wacom: Fix Use-After-Free in wacom_intuos_pad wacom_intuos_pad() accesses wacom->shared->touch_input locklessly inside the interrupt handler context. If the Touch sibling device is disconnected, wacom_remove_shared_data() clears 'touch_input' outside any lock, creating a Time-of-Check to Time-of-Use (TOCTOU) race condition where a preempted reader in interrupt context dereferences the freed pointer, leading to a Use-After-Free. Resolve this by introducing RCU protection for the touch_input pointer: - Annotate 'touch_input' in wacom_shared struct with __rcu - Wrap all lockless readers in wacom_wac.c with guard(rcu)() and rcu_dereference() using a unified wacom_report_touch_mute() helper - Update writers in wacom_sys.c using rcu_assign_pointer() - Call synchronize_rcu() in wacom_remove_shared_data() to ensure all active RCU readers have finished before the input device is freed Also wrap wacom_set_shared_values() and touch/pen assignments in wacom_add_shared_data() inside the wacom_udev_list_lock to serialize concurrent probe assignments, and verify that 'shared->touch == hdev' before setting touch_input to prevent concurrent sibling probe state desynchronization.
Impacted products
Vendor Product Version

{
  "affected": [
    {
      "affectedData": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/hid/wacom_sys.c",
            "drivers/hid/wacom_wac.c",
            "drivers/hid/wacom_wac.h"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "ddf09302779e6add98c1f2fb4b01ae8e75964cda",
              "status": "affected",
              "version": "961794a00eab03f4344b7d5e825e8e789e55da87",
              "versionType": "git"
            },
            {
              "lessThan": "d1dabfbcbc6993baec60925bf4d02d0cd597e479",
              "status": "affected",
              "version": "961794a00eab03f4344b7d5e825e8e789e55da87",
              "versionType": "git"
            },
            {
              "lessThan": "e106375d2e34c338a05e1b0a99c281b038fea996",
              "status": "affected",
              "version": "961794a00eab03f4344b7d5e825e8e789e55da87",
              "versionType": "git"
            },
            {
              "lessThan": "d7fba097f368001ea094ce8f3470708a901f31e0",
              "status": "affected",
              "version": "961794a00eab03f4344b7d5e825e8e789e55da87",
              "versionType": "git"
            },
            {
              "lessThan": "1178927ffa54a1f9e52fa4e5974862023237fce6",
              "status": "affected",
              "version": "961794a00eab03f4344b7d5e825e8e789e55da87",
              "versionType": "git"
            },
            {
              "lessThan": "ef74a8a685e272dbe0d21844c6e70841ccc9b1bc",
              "status": "affected",
              "version": "961794a00eab03f4344b7d5e825e8e789e55da87",
              "versionType": "git"
            },
            {
              "lessThan": "4e1bf2f5fe28cb8719aee7ca9d99ea529224ed1f",
              "status": "affected",
              "version": "961794a00eab03f4344b7d5e825e8e789e55da87",
              "versionType": "git"
            },
            {
              "lessThan": "ef32877368a7013c060ef6bd03a30b6da2fe0c41",
              "status": "affected",
              "version": "961794a00eab03f4344b7d5e825e8e789e55da87",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "37a5b5f89fe4e8367fb123b1892d79f0234a2903",
              "versionType": "git"
            },
            {
              "lessThan": "3.14",
              "status": "affected",
              "version": "3.13.8",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/hid/wacom_sys.c",
            "drivers/hid/wacom_wac.c",
            "drivers/hid/wacom_wac.h"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3.14"
            },
            {
              "lessThan": "3.14",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.275",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.226",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.193",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.163",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.117",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.61",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.2",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.4-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ],
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nHID: wacom: Fix Use-After-Free in wacom_intuos_pad\n\nwacom_intuos_pad() accesses wacom-\u003eshared-\u003etouch_input locklessly\ninside the interrupt handler context.  If the Touch sibling device\nis disconnected, wacom_remove_shared_data() clears \u0027touch_input\u0027\noutside any lock, creating a Time-of-Check to Time-of-Use (TOCTOU)\nrace condition where a preempted reader in interrupt context\ndereferences the freed pointer, leading to a Use-After-Free.\n\nResolve this by introducing RCU protection for the touch_input\npointer:\n\n - Annotate \u0027touch_input\u0027 in wacom_shared struct with __rcu\n - Wrap all lockless readers in wacom_wac.c with guard(rcu)() and\n   rcu_dereference() using a unified wacom_report_touch_mute()\n   helper\n - Update writers in wacom_sys.c using rcu_assign_pointer()\n - Call synchronize_rcu() in wacom_remove_shared_data() to ensure\n   all active RCU readers have finished before the input device is\n   freed\n\nAlso wrap wacom_set_shared_values() and touch/pen assignments in\nwacom_add_shared_data() inside the wacom_udev_list_lock to serialize\nconcurrent probe assignments, and verify that \u0027shared-\u003etouch == hdev\u0027\nbefore setting touch_input to prevent concurrent sibling probe state\ndesynchronization."
    }
  ],
  "id": "CVE-2026-99491",
  "lastModified": "2026-11-23T08:17:52.127",
  "metrics": {},
  "published": "2026-11-19T15:18:03.993",
  "references": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/1178927ffa54a1f9e52fa4e5974862023237fce6"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/4e1bf2f5fe28cb8719aee7ca9d99ea529224ed1f"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/d1dabfbcbc6993baec60925bf4d02d0cd597e479"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/d7fba097f368001ea094ce8f3470708a901f31e0"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/ddf09302779e6add98c1f2fb4b01ae8e75964cda"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/e106375d2e34c338a05e1b0a99c281b038fea996"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/ef32877368a7013c060ef6bd03a30b6da2fe0c41"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/ef74a8a685e272dbe0d21844c6e70841ccc9b1bc"
    }
  ],
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "vulnStatus": "Received"
}



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…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…