Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 271c865161c57cfabca45b93eaa712b19da365bc before 087b9ee4d36968329c846e6846e4e50f66532888; affected 271c865161c57cfabca45b93eaa712b19da365bc before 16c90260ae7ae32d7ac9128fb5da404c37154765; affected 271c865161c57cfabca45b93eaa712b19da365bc before 9a7e107734137f098f9b81e5615aa5a02c5395c7; affected 271c865161c57cfabca45b93eaa712b19da365bc before 8407da8974326c1ffdfe6a5a9bfc8fed3212bbdf; affected 271c865161c57cfabca45b93eaa712b19da365bc before 668ebfea7ba623450b12fdeaa0d080464d0c0a14; affected 271c865161c57cfabca45b93eaa712b19da365bc before 81489b32a21c9360f8750d1fb600155d27452e19 |
| Linux / Linux | affected 4.1; unaffected 0 before 4.1; unaffected 6.1.189 through 6.1.*; unaffected 6.6.158 through 6.6.*; unaffected 6.12.111 through 6.12.*; unaffected 6.18.53 through 6.18.*; unaffected 7.2.7 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.
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