CVE-2026-93827
published high CVSS 3.1 · 8.4virtio-fs: avoid double-free on failed queue setup
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxa8f62f50b4e4ea92a938fca2ec1bd108d7f210e9 to < 3fbc5ee776fefbc6ea34d2518f1f5f90aa2e1dad · a8f62f50b4e4ea92a938fca2ec1bd108d7f210e9 to < 20ef4739b329bb09cff11dd2458795a50674658e · a8f62f50b4e4ea92a938fca2ec1bd108d7f210e9 to < 6af3330ec5d5fb8c06c04eb520a71cf73ea5a765 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.9 (affected) · 0 to < 6.9 (unaffected · semver) · 6.12.111 through 6.12.* (unaffected · semver) · 6.18.53 through 6.18.* (unaffected · semver) · 7.2 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3192 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3193 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 10 | kernel-abi-stablelists | Advisory build | 6.12.0-211.72.1.el10_2 | ALSA-2026:93413 |
| AlmaLinux | 10 | kernel-doc | Advisory build | 6.12.0-211.72.1.el10_2 | ALSA-2026:93413 |
Show 98 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 9 | kernel | Advisory build | 5.14.0-687.64.1.el9_8 | ALSA-2026:93412 |
| AlmaLinux | 9 | kernel | Advisory build | 5.14.0-741.20.1.el9_9 | ALSA-2026:97873 |
| AlmaLinux | 9 | kernel-64k | Advisory build | 5.14.0-687.64.1.el9_8 | ALSA-2026:93412 |
| AlmaLinux | 9 | kernel-64k | Advisory build | 5.14.0-741.20.1.el9_9 | ALSA-2026:97873 |
| AlmaLinux | 9 | kernel-64k-core | Advisory build | 5.14.0-687.64.1.el9_8 | ALSA-2026:93412 |
| AlmaLinux | 9 | kernel-64k-core | Advisory build | 5.14.0-741.20.1.el9_9 | ALSA-2026:97873 |
| AlmaLinux | 9 | kernel-64k-debug | Advisory build | 5.14.0-687.64.1.el9_8 | ALSA-2026:93412 |
| AlmaLinux | 9 | kernel-64k-debug | Advisory build | 5.14.0-741.20.1.el9_9 | ALSA-2026:97873 |
| AlmaLinux | 9 | kernel-64k-debug-core | Advisory build | 5.14.0-687.64.1.el9_8 | ALSA-2026:93412 |
| AlmaLinux | 9 | kernel-64k-debug-core | Advisory build | 5.14.0-741.20.1.el9_9 | ALSA-2026:97873 |
| AlmaLinux | 9 | kernel-64k-debug-devel | Advisory build | 5.14.0-687.64.1.el9_8 | ALSA-2026:93412 |
| AlmaLinux | 9 | kernel-64k-debug-devel | Advisory build | 5.14.0-741.20.1.el9_9 | ALSA-2026:97873 |
| AlmaLinux | 9 | kernel-64k-debug-devel-matched | Advisory build | 5.14.0-687.64.1.el9_8 | ALSA-2026:93412 |
| AlmaLinux | 9 | kernel-64k-debug-devel-matched | Advisory build | 5.14.0-741.20.1.el9_9 | ALSA-2026:97873 |
| AlmaLinux | 9 | kernel-64k-debug-modules | Advisory build | 5.14.0-687.64.1.el9_8 | ALSA-2026:93412 |
| AlmaLinux | 9 | kernel-64k-debug-modules | Advisory build | 5.14.0-741.20.1.el9_9 | ALSA-2026:97873 |
| AlmaLinux | 9 | kernel-64k-debug-modules-core | Advisory build | 5.14.0-687.64.1.el9_8 | ALSA-2026:93412 |
| AlmaLinux | 9 | kernel-64k-debug-modules-core | Advisory build | 5.14.0-741.20.1.el9_9 | ALSA-2026:97873 |
| AlmaLinux | 9 | kernel-64k-debug-modules-extra | Advisory build | 5.14.0-687.64.1.el9_8 | ALSA-2026:93412 |
| AlmaLinux | 9 | kernel-64k-debug-modules-extra | Advisory build | 5.14.0-741.20.1.el9_9 | ALSA-2026:97873 |
| AlmaLinux | 9 | kernel-64k-devel | Advisory build | 5.14.0-687.64.1.el9_8 | ALSA-2026:93412 |
| AlmaLinux | 9 | kernel-64k-devel | Advisory build | 5.14.0-741.20.1.el9_9 | ALSA-2026:97873 |
| AlmaLinux | 9 | kernel-64k-devel-matched | Advisory build | 5.14.0-687.64.1.el9_8 | ALSA-2026:93412 |
| AlmaLinux | 9 | kernel-64k-devel-matched | Advisory build | 5.14.0-741.20.1.el9_9 | ALSA-2026:97873 |
| AlmaLinux | 9 | kernel-64k-modules | Advisory build | 5.14.0-687.64.1.el9_8 | ALSA-2026:93412 |
| AlmaLinux | 9 | kernel-64k-modules | Advisory build | 5.14.0-741.20.1.el9_9 | ALSA-2026:97873 |
| AlmaLinux | 9 | kernel-64k-modules-core | Advisory build | 5.14.0-687.64.1.el9_8 | ALSA-2026:93412 |
| AlmaLinux | 9 | kernel-64k-modules-core | Advisory build | 5.14.0-741.20.1.el9_9 | ALSA-2026:97873 |
| AlmaLinux | 9 | kernel-64k-modules-extra | Advisory build | 5.14.0-687.64.1.el9_8 | ALSA-2026:93412 |
| AlmaLinux | 9 | kernel-64k-modules-extra | Advisory build | 5.14.0-741.20.1.el9_9 | ALSA-2026:97873 |
| AlmaLinux | 9 | kernel-abi-stablelists | Advisory build | 5.14.0-687.64.1.el9_8 | ALSA-2026:93412 |
| AlmaLinux | 9 | kernel-abi-stablelists | Advisory build | 5.14.0-741.20.1.el9_9 | ALSA-2026:97873 |
| AlmaLinux | 9 | kernel-core | Advisory build | 5.14.0-687.64.1.el9_8 | ALSA-2026:93412 |
| AlmaLinux | 9 | kernel-core | Advisory build | 5.14.0-741.20.1.el9_9 | ALSA-2026:97873 |
| AlmaLinux | 9 | kernel-cross-headers | Advisory build | 5.14.0-687.64.1.el9_8 | ALSA-2026:93412 |
| AlmaLinux | 9 | kernel-cross-headers | Advisory build | 5.14.0-741.20.1.el9_9 | ALSA-2026:97873 |
| AlmaLinux | 9 | kernel-debug | Advisory build | 5.14.0-687.64.1.el9_8 | ALSA-2026:93412 |
| AlmaLinux | 9 | kernel-debug | Advisory build | 5.14.0-741.20.1.el9_9 | ALSA-2026:97873 |
| AlmaLinux | 9 | kernel-debug-core | Advisory build | 5.14.0-687.64.1.el9_8 | ALSA-2026:93412 |
| AlmaLinux | 9 | kernel-debug-core | Advisory build | 5.14.0-741.20.1.el9_9 | ALSA-2026:97873 |
| AlmaLinux | 9 | kernel-debug-devel | Advisory build | 5.14.0-687.64.1.el9_8 | ALSA-2026:93412 |
| AlmaLinux | 9 | kernel-debug-devel | Advisory build | 5.14.0-741.20.1.el9_9 | ALSA-2026:97873 |
| AlmaLinux | 9 | kernel-debug-devel-matched | Advisory build | 5.14.0-687.64.1.el9_8 | ALSA-2026:93412 |
| AlmaLinux | 9 | kernel-debug-devel-matched | Advisory build | 5.14.0-741.20.1.el9_9 | ALSA-2026:97873 |
| AlmaLinux | 9 | kernel-debug-modules | Advisory build | 5.14.0-687.64.1.el9_8 | ALSA-2026:93412 |
| AlmaLinux | 9 | kernel-debug-modules | Advisory build | 5.14.0-741.20.1.el9_9 | ALSA-2026:97873 |
| AlmaLinux | 9 | kernel-debug-modules-core | Advisory build | 5.14.0-687.64.1.el9_8 | ALSA-2026:93412 |
| AlmaLinux | 9 | kernel-debug-modules-core | Advisory build | 5.14.0-741.20.1.el9_9 | ALSA-2026:97873 |
| AlmaLinux | 9 | kernel-debug-modules-extra | Advisory build | 5.14.0-687.64.1.el9_8 | ALSA-2026:93412 |
| AlmaLinux | 9 | kernel-debug-modules-extra | Advisory build | 5.14.0-741.20.1.el9_9 | ALSA-2026:97873 |
| AlmaLinux | 9 | kernel-debug-uki-virt | Advisory build | 5.14.0-687.64.1.el9_8 | ALSA-2026:93412 |
| AlmaLinux | 9 | kernel-debug-uki-virt | Advisory build | 5.14.0-741.20.1.el9_9 | ALSA-2026:97873 |
| AlmaLinux | 9 | kernel-devel | Advisory build | 5.14.0-687.64.1.el9_8 | ALSA-2026:93412 |
| AlmaLinux | 9 | kernel-devel | Advisory build | 5.14.0-741.20.1.el9_9 | ALSA-2026:97873 |
| AlmaLinux | 9 | kernel-devel-matched | Advisory build | 5.14.0-687.64.1.el9_8 | ALSA-2026:93412 |
| AlmaLinux | 9 | kernel-devel-matched | Advisory build | 5.14.0-741.20.1.el9_9 | ALSA-2026:97873 |
| AlmaLinux | 9 | kernel-doc | Advisory build | 5.14.0-687.64.1.el9_8 | ALSA-2026:93412 |
| AlmaLinux | 9 | kernel-doc | Advisory build | 5.14.0-741.20.1.el9_9 | ALSA-2026:97873 |
| AlmaLinux | 9 | kernel-headers | Advisory build | 5.14.0-687.64.1.el9_8 | ALSA-2026:93412 |
| AlmaLinux | 9 | kernel-headers | Advisory build | 5.14.0-741.20.1.el9_9 | ALSA-2026:97873 |
| AlmaLinux | 9 | kernel-modules | Advisory build | 5.14.0-687.64.1.el9_8 | ALSA-2026:93412 |
| AlmaLinux | 9 | kernel-modules | Advisory build | 5.14.0-741.20.1.el9_9 | ALSA-2026:97873 |
| AlmaLinux | 9 | kernel-modules-core | Advisory build | 5.14.0-687.64.1.el9_8 | ALSA-2026:93412 |
| AlmaLinux | 9 | kernel-modules-core | Advisory build | 5.14.0-741.20.1.el9_9 | ALSA-2026:97873 |
| AlmaLinux | 9 | kernel-modules-extra | Advisory build | 5.14.0-687.64.1.el9_8 | ALSA-2026:93412 |
| AlmaLinux | 9 | kernel-modules-extra | Advisory build | 5.14.0-741.20.1.el9_9 | ALSA-2026:97873 |
| AlmaLinux | 9 | kernel-rt | Advisory build | 5.14.0-687.64.1.el9_8 | ALSA-2026:93412 |
| AlmaLinux | 9 | kernel-rt | Advisory build | 5.14.0-741.20.1.el9_9 | ALSA-2026:97873 |
| AlmaLinux | 9 | kernel-rt-64k | Advisory build | 5.14.0-687.64.1.el9_8 | ALSA-2026:93412 |
| AlmaLinux | 9 | kernel-rt-64k | Advisory build | 5.14.0-741.20.1.el9_9 | ALSA-2026:97873 |
| AlmaLinux | 9 | kernel-rt-64k-core | Advisory build | 5.14.0-687.64.1.el9_8 | ALSA-2026:93412 |
| AlmaLinux | 9 | kernel-rt-64k-core | Advisory build | 5.14.0-741.20.1.el9_9 | ALSA-2026:97873 |
| AlmaLinux | 9 | kernel-rt-64k-debug | Advisory build | 5.14.0-687.64.1.el9_8 | ALSA-2026:93412 |
| AlmaLinux | 9 | kernel-rt-64k-debug | Advisory build | 5.14.0-741.20.1.el9_9 | ALSA-2026:97873 |
| AlmaLinux | 9 | kernel-rt-64k-debug-core | Advisory build | 5.14.0-687.64.1.el9_8 | ALSA-2026:93412 |
| AlmaLinux | 9 | kernel-rt-64k-debug-core | Advisory build | 5.14.0-741.20.1.el9_9 | ALSA-2026:97873 |
| AlmaLinux | 9 | kernel-rt-64k-debug-devel | Advisory build | 5.14.0-687.64.1.el9_8 | ALSA-2026:93412 |
| AlmaLinux | 9 | kernel-rt-64k-debug-devel | Advisory build | 5.14.0-741.20.1.el9_9 | ALSA-2026:97873 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules | Advisory build | 5.14.0-687.64.1.el9_8 | ALSA-2026:93412 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules | Advisory build | 5.14.0-741.20.1.el9_9 | ALSA-2026:97873 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules-core | Advisory build | 5.14.0-687.64.1.el9_8 | ALSA-2026:93412 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules-core | Advisory build | 5.14.0-741.20.1.el9_9 | ALSA-2026:97873 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules-extra | Advisory build | 5.14.0-687.64.1.el9_8 | ALSA-2026:93412 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules-extra | Advisory build | 5.14.0-741.20.1.el9_9 | ALSA-2026:97873 |
| AlmaLinux | 9 | kernel-rt-64k-devel | Advisory build | 5.14.0-687.64.1.el9_8 | ALSA-2026:93412 |
| AlmaLinux | 9 | kernel-rt-64k-devel | Advisory build | 5.14.0-741.20.1.el9_9 | ALSA-2026:97873 |
| AlmaLinux | 9 | kernel-rt-64k-modules | Advisory build | 5.14.0-687.64.1.el9_8 | ALSA-2026:93412 |
| AlmaLinux | 9 | kernel-rt-64k-modules | Advisory build | 5.14.0-741.20.1.el9_9 | ALSA-2026:97873 |
| AlmaLinux | 9 | kernel-rt-64k-modules-core | Advisory build | 5.14.0-687.64.1.el9_8 | ALSA-2026:93412 |
| AlmaLinux | 9 | kernel-rt-64k-modules-core | Advisory build | 5.14.0-741.20.1.el9_9 | ALSA-2026:97873 |
| AlmaLinux | 9 | kernel-rt-64k-modules-extra | Advisory build | 5.14.0-687.64.1.el9_8 | ALSA-2026:93412 |
| AlmaLinux | 9 | kernel-rt-64k-modules-extra | Advisory build | 5.14.0-741.20.1.el9_9 | ALSA-2026:97873 |
| AlmaLinux | 9 | kernel-rt-core | Advisory build | 5.14.0-687.64.1.el9_8 | ALSA-2026:93412 |
| AlmaLinux | 9 | kernel-rt-core | Advisory build | 5.14.0-741.20.1.el9_9 | ALSA-2026:97873 |
| AlmaLinux | 9 | kernel-rt-debug | Advisory build | 5.14.0-687.64.1.el9_8 | ALSA-2026:93412 |
| AlmaLinux | 9 | kernel-rt-debug | Advisory build | 5.14.0-741.20.1.el9_9 | ALSA-2026:97873 |
| AlmaLinux | 9 | kernel-rt-debug-core | Advisory build | 5.14.0-687.64.1.el9_8 | ALSA-2026:93412 |
| AlmaLinux | 9 | kernel-rt-debug-core | Advisory build | 5.14.0-741.20.1.el9_9 | ALSA-2026:97873 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: virtio-fs: avoid double-free on failed queue setup virtio_fs_setup_vqs() allocates fs->vqs and fs->mq_map before calling virtio_find_vqs(). If virtio_find_vqs() fails, the error path frees both pointers and returns an error to virtio_fs_probe(). virtio_fs_probe() then drops the last kobject reference, and virtio_fs_ktype_release() frees fs->vqs and fs->mq_map again. This leaves dangling pointers in struct virtio_fs and can trigger a double-free during probe failure cleanup. Set fs->vqs and fs->mq_map to NULL immediately after kfree() in the virtio_fs_setup_vqs() error path so that the later kobject release sees an uninitialized state and kfree(NULL) becomes harmless. This can be reproduced when a broken virtio-fs device advertises more request queues than the transport actually provides. In that case virtio_find_vqs() fails while setting up the extra queue, and the probe path reaches the double-free cleanup sequence.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.4 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The triggering field is virtio_fs_config.num_request_queues, read by virtio_cread_le() in virtio_fs_setup_vqs() from virtio_fs_probe() via virtio_dev_probe() after virtio_pci_probe()/register_virtio_device() binds a VIRTIO_ID_FS device; those bytes come from local PCI/MMIO/vDPA config space, not a network protocol message. AC:L - A device that advertises more request queues than it exposes makes virtio_find_vqs()->vp_setup_vq() fail (-EINVAL when index >= vp_modern_get_num_queues(), or -ENOENT on queue size 0); virtio_fs_setup_vqs() then kfree's fs->vqs and fs->mq_map and virtio_fs_probe() always kobject_put()s into the second free, with no race. PR:N - virtio_fs_probe()/virtio_fs_setup_vqs() have no capable() or credential check; MODULE_DEVICE_TABLE(virtio, id_table) autoloads virtiofs and virtio_dev_probe() binds a VIRTIO_ID_FS device at enumeration or hotplug, so a malicious virtio-fs backend needs no account on the guest. UI:N - The double-free runs in the probe error path (virtio_fs_setup_vqs() failure, then kobject_put() into virtio_fs_ktype_release()) when the device appears; virtio_fs_add_instance() and a virtiofs mount are never reached, so no victim must mount or open anything. S:U - virtio_fs_ktype_release() double-frees the guest kernel kmalloc objects fs->vqs and fs->mq_map; that is device-to-guest heap corruption inside the same guest kernel, not a write into host virtiofsd or a KVM/IOMMU escape. C:H - kfree(fs->vqs) and kfree(fs->mq_map) in virtio_fs_setup_vqs() leave dangling pointers that virtio_fs_ktype_release() frees again; a slab double-free of that virtio_fs_vq array and per-CPU mq_map lets those objects overlap so the attacker can read adjacent kernel heap. I:H - The same second kfree of fs->vqs and fs->mq_map corrupts the SLUB freelist for those kmalloc objects and is an arbitrary-free primitive, enabling heap overwrite and control-flow hijack in the guest kernel. A:H - Double-free of fs->vqs and fs->mq_map in virtio_fs_ktype_release() after virtio_find_vqs() fails oopses or panics the guest during probe cleanup (KASAN invalid-free, SLUB poisoned-freelist BUG, or panic_on_oops).
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | a8f62f50b4e4ea92a938fca2ec1bd108d7f210e9 to < 3fbc5ee776fefbc6ea34d2518f1f5f90aa2e1dad (affected · git)a8f62f50b4e4ea92a938fca2ec1bd108d7f210e9 to < 20ef4739b329bb09cff11dd2458795a50674658e (affected · git)a8f62f50b4e4ea92a938fca2ec1bd108d7f210e9 to < 6af3330ec5d5fb8c06c04eb520a71cf73ea5a765 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.9 (affected)0 to < 6.9 (unaffected · semver)6.12.111 through 6.12.* (unaffected · semver)6.18.53 through 6.18.* (unaffected · semver)7.2 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
virtio-fs: avoid double-free on failed queue setup
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 38ed2ea30dafdcf42b8a97e6157349fd72e049eb712dce41b176e92704837b12
- Ingested
- 30 Sep 2026, 15:35:33 UTC
- Source record
- Official CVE record