{"id":"CVE-2026-97987","state":"PUBLISHED","title":"virtio_input: reset device if input_register_device() fails","description":"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.","publishedAt":"2026-09-25T10:23:21.388Z","updatedAt":"2026-10-19T09:11:54.271Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"271c865161c57cfabca45b93eaa712b19da365bc","status":"affected","lessThan":"087b9ee4d36968329c846e6846e4e50f66532888","versionType":"git"},{"version":"271c865161c57cfabca45b93eaa712b19da365bc","status":"affected","lessThan":"16c90260ae7ae32d7ac9128fb5da404c37154765","versionType":"git"},{"version":"271c865161c57cfabca45b93eaa712b19da365bc","status":"affected","lessThan":"9a7e107734137f098f9b81e5615aa5a02c5395c7","versionType":"git"},{"version":"271c865161c57cfabca45b93eaa712b19da365bc","status":"affected","lessThan":"8407da8974326c1ffdfe6a5a9bfc8fed3212bbdf","versionType":"git"},{"version":"271c865161c57cfabca45b93eaa712b19da365bc","status":"affected","lessThan":"668ebfea7ba623450b12fdeaa0d080464d0c0a14","versionType":"git"},{"version":"271c865161c57cfabca45b93eaa712b19da365bc","status":"affected","lessThan":"81489b32a21c9360f8750d1fb600155d27452e19","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/virtio/virtio_input.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.1","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.1","versionType":"semver"},{"version":"6.1.189","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.158","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.111","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.53","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.7","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/virtio/virtio_input.c"]}],"references":["https://git.kernel.org/stable/c/087b9ee4d36968329c846e6846e4e50f66532888","https://git.kernel.org/stable/c/16c90260ae7ae32d7ac9128fb5da404c37154765","https://git.kernel.org/stable/c/9a7e107734137f098f9b81e5615aa5a02c5395c7","https://git.kernel.org/stable/c/8407da8974326c1ffdfe6a5a9bfc8fed3212bbdf","https://git.kernel.org/stable/c/668ebfea7ba623450b12fdeaa0d080464d0c0a14","https://git.kernel.org/stable/c/81489b32a21c9360f8750d1fb600155d27452e19"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:43.249Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/97xxx/CVE-2026-97987.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-97987","state":"PUBLISHED","datePublished":"2026-09-25T10:23:21.388Z","dateUpdated":"2026-10-19T09:11:54.271Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:18:58.209Z"},"containers":{"cna":{"title":"virtio_input: reset device if input_register_device() fails","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":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"271c865161c57cfabca45b93eaa712b19da365bc","status":"affected","lessThan":"087b9ee4d36968329c846e6846e4e50f66532888","versionType":"git"},{"version":"271c865161c57cfabca45b93eaa712b19da365bc","status":"affected","lessThan":"16c90260ae7ae32d7ac9128fb5da404c37154765","versionType":"git"},{"version":"271c865161c57cfabca45b93eaa712b19da365bc","status":"affected","lessThan":"9a7e107734137f098f9b81e5615aa5a02c5395c7","versionType":"git"},{"version":"271c865161c57cfabca45b93eaa712b19da365bc","status":"affected","lessThan":"8407da8974326c1ffdfe6a5a9bfc8fed3212bbdf","versionType":"git"},{"version":"271c865161c57cfabca45b93eaa712b19da365bc","status":"affected","lessThan":"668ebfea7ba623450b12fdeaa0d080464d0c0a14","versionType":"git"},{"version":"271c865161c57cfabca45b93eaa712b19da365bc","status":"affected","lessThan":"81489b32a21c9360f8750d1fb600155d27452e19","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/virtio/virtio_input.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.1","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.1","versionType":"semver"},{"version":"6.1.189","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.158","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.111","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.53","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.7","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/virtio/virtio_input.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/087b9ee4d36968329c846e6846e4e50f66532888"},{"url":"https://git.kernel.org/stable/c/16c90260ae7ae32d7ac9128fb5da404c37154765"},{"url":"https://git.kernel.org/stable/c/9a7e107734137f098f9b81e5615aa5a02c5395c7"},{"url":"https://git.kernel.org/stable/c/8407da8974326c1ffdfe6a5a9bfc8fed3212bbdf"},{"url":"https://git.kernel.org/stable/c/668ebfea7ba623450b12fdeaa0d080464d0c0a14"},{"url":"https://git.kernel.org/stable/c/81489b32a21c9360f8750d1fb600155d27452e19"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-19T09:11:54.271Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.1","versionEndExcluding":"6.1.189"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.1","versionEndExcluding":"6.6.158"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.1","versionEndExcluding":"6.12.111"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.1","versionEndExcluding":"6.18.53"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.1","versionEndExcluding":"7.2.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.1","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}