← Back to CVE Explorer

CVE-2026-97987

Full vulnerability record from the local CVENow database.

Description

In the Linux kernel, the following vulnerability has been resolved: virtio_input: reset device if input_register_device() fails Probe marks the device DRIVER_OK with virtio_device_ready() before calling input_register_device(). If registration fails, the error path cleared vi->ready and called del_vqs() while the device was still live, so the device could keep DMA to queues that were already torn down. Match remove/freeze: call virtio_reset_device() on that path before tearing down the virtqueues.

Severity
Not scored
CVSS score
Not available
Vulnerability status
Received
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2026-09-25 11:17:26.797000
Last modified
2026-10-19 10:17:50.063000
View original CVE JSON
{
  "id": "CVE-2026-97987",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "published": "2026-09-25T11:17:26.797",
  "lastModified": "2026-10-19T10:17:50.063",
  "vulnStatus": "Received",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nvirtio_input: reset device if input_register_device() fails\n\nProbe marks the device DRIVER_OK with virtio_device_ready() before\ncalling input_register_device(). If registration fails, the error path\ncleared vi->ready and called del_vqs() while the device was still live,\nso the device could keep DMA to queues that were already torn down.\n\nMatch remove/freeze: call virtio_reset_device() on that path before\ntearing down the virtqueues."
    }
  ],
  "affected": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "programFiles": [
            "drivers/virtio/virtio_input.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "271c865161c57cfabca45b93eaa712b19da365bc",
              "lessThan": "087b9ee4d36968329c846e6846e4e50f66532888",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "271c865161c57cfabca45b93eaa712b19da365bc",
              "lessThan": "16c90260ae7ae32d7ac9128fb5da404c37154765",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "271c865161c57cfabca45b93eaa712b19da365bc",
              "lessThan": "9a7e107734137f098f9b81e5615aa5a02c5395c7",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "271c865161c57cfabca45b93eaa712b19da365bc",
              "lessThan": "8407da8974326c1ffdfe6a5a9bfc8fed3212bbdf",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "271c865161c57cfabca45b93eaa712b19da365bc",
              "lessThan": "668ebfea7ba623450b12fdeaa0d080464d0c0a14",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "271c865161c57cfabca45b93eaa712b19da365bc",
              "lessThan": "81489b32a21c9360f8750d1fb600155d27452e19",
              "versionType": "git",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "programFiles": [
            "drivers/virtio/virtio_input.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "4.1",
              "status": "affected"
            },
            {
              "version": "0",
              "lessThan": "4.1",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.1.189",
              "lessThanOrEqual": "6.1.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.6.158",
              "lessThanOrEqual": "6.6.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.12.111",
              "lessThanOrEqual": "6.12.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.18.53",
              "lessThanOrEqual": "6.18.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.2.7",
              "lessThanOrEqual": "7.2.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.3",
              "lessThanOrEqual": "*",
              "versionType": "original_commit_for_fix",
              "status": "unaffected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {},
  "references": [
    {
      "url": "https://git.kernel.org/stable/c/087b9ee4d36968329c846e6846e4e50f66532888",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/16c90260ae7ae32d7ac9128fb5da404c37154765",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/668ebfea7ba623450b12fdeaa0d080464d0c0a14",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/81489b32a21c9360f8750d1fb600155d27452e19",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/8407da8974326c1ffdfe6a5a9bfc8fed3212bbdf",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/9a7e107734137f098f9b81e5615aa5a02c5395c7",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ]
}