---
id: CVE-2026-97987
title: |-
  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()
summary: |-
  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 regi…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 271c865161c57cfabca45b93eaa712b19da365bc <
    9a7e107734137f098f9b81e5615aa5a02c5395c7
  - >-
    Linux >= 271c865161c57cfabca45b93eaa712b19da365bc <
    8407da8974326c1ffdfe6a5a9bfc8fed3212bbdf
  - >-
    Linux >= 271c865161c57cfabca45b93eaa712b19da365bc <
    668ebfea7ba623450b12fdeaa0d080464d0c0a14
  - >-
    Linux >= 271c865161c57cfabca45b93eaa712b19da365bc <
    81489b32a21c9360f8750d1fb600155d27452e19
  - Linux 4.1
published: '2026-09-25'
updated: '2026-09-25'
sourceUpdated: '2026-09-25T11:17:26.797'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-97987'
references:
  - url: 'https://git.kernel.org/stable/c/668ebfea7ba623450b12fdeaa0d080464d0c0a14'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/81489b32a21c9360f8750d1fb600155d27452e19'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/8407da8974326c1ffdfe6a5a9bfc8fed3212bbdf'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/9a7e107734137f098f9b81e5615aa5a02c5395c7'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
  - cve.org
ingestedAt: '2026-09-25T11:06:38.866Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
