ALSA: virtio: reset device before deleting virtqueues
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.1.189, 6.6.158, 6.12.112, 6.18.54, 7.2.8
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
In the Linux kernel, the following vulnerability has been resolved: ALSA: virtio: reset device before deleting virtqueues virtsnd_remove() and virtsnd_freeze() delete the virtqueues before resetting the device. del_vqs() frees the vring backing, but does not provide a generic device quiesce operation. In particular, modern virtio-pci keeps enabled queues active until the device is reset. Reset the device before deleting the virtqueues so it can no longer access the vring memory when that memory is released. This also covers probe failures after DRIVER_OK, which unwind through virtsnd_remove().
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From de3a9980d8c34b2479173e809afa820473db676a · fixed in 8edc3669e3e22f0123a1114c3a03df9abc4cd465; From de3a9980d8c34b2479173e809afa820473db676a · fixed in 830012feadc228a938514a6487862dcf56af7e66; From de3a9980d8c34b2479173e809afa820473db676a · fixed in 500a8401415ab085555785c3c339747e378abd36; From de3a9980d8c34b2479173e809afa820473db676a · fixed in 3e24b4a6acfd3bedb2200334595facd767c9a897; From de3a9980d8c34b2479173e809afa820473db676a · fixed in f070cce7cb361d5389b18f3ff6bd3d25a7596369; From de3a9980d8c34b2479173e809afa820473db676a · fixed in 6c05d00af307560e6a9f1631d6270d3df5aa2272
- Linux Linux
5.13
- KernelLinux
From 5.13.0 · fixed in 6.1.189; From 6.2.0 · fixed in 6.6.158; From 6.7.0 · fixed in 6.12.112; From 6.13.0 · fixed in 6.18.54; From 6.19.0 · fixed in 7.2.8