VDB

CVE-2026-64457

CVE-2026-64457 PUBLISHED

virtio_pci: fix vq info pointer lookup via wrong index

Reported by linux · Published July 25, 2026

In the Linux kernel, the following vulnerability has been resolved: virtio_pci: fix vq info pointer lookup via wrong index Unbinding a virtio balloon device: echo virtio0 > /sys/bus/virtio/drivers/virtio_balloon/unbind triggers a NULL pointer dereference. The dmesg says: BUG: kernel NULL pointer dereference, address: 0000000000000008 [...] RIP: 0010:__list_del_entry_valid_or_report+0x5/0xf0 Call Trace: <TASK> vp_del_vqs+0x121/0x230 remove_common+0x135/0x150 virtballoon_remove+0xee/0x100 virtio_dev_remove+0x3b/0x80 device_release_driver_internal+0x187/0x2c0 unbind_store+0xb9/0xe0 kernfs_fop_write_iter.llvm.11660790530567441834+0xf6/0x180 vfs_write+0x2a9/0x3b0 ksys_write+0x5c/0xd0 do_syscall_64+0x54/0x230 entry_SYSCALL_64_after_hwframe+0x29/0x31 [...] </TASK> The virtio_balloon device registers 5 queues (inflate, deflate, stats, free_page, reporting) but only the first two are unconditional. The stats, free_page and reporting queues are each conditional on their respective feature bits. When any of these features are absent, the corresponding vqs_info entry has name == NULL, creating holes in the array. The root cause is an indexing mismatch introduced when vq info storage was changed to be passed as an argument. vp_find_vqs_msix() and vp_find_vqs_intx() store the info pointer at vp_dev->vqs[i], where 'i' is the caller's sparse array index. However, the virtqueue itself gets vq->index assigned from queue_idx, a dense index that skips NULL entries. When holes exist, 'i' and queue_idx diverge. Later, vp_del_vqs() looks up info via vp_dev->vqs[vq->index] using the dense index into the sparsely-populated array, and hits NULL. Fix this by storing info at vp_dev->vqs[queue_idx] instead of vp_dev->vqs[i], so the store index matches the lookup index (vq->index). Apply the fix to both the MSIX and INTX paths.

EPSS 0.13% · 2.5th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.12Amazon Linux1:6.12.100-125.179.amzn2023
kernel6.12-headersAmazon Linux1:6.12.100-125.179.amzn2023
kernel6.18-headersAmazon Linux1:6.18.39-79.141.amzn2023
python3-perf6.12Amazon Linux1:6.12.100-125.179.amzn2023
linux_kernellinux7.1.4, 6.18.39, 6.12.96

Risk scores

EPSS Score
0.13%
2.5th percentile

Affected products

VendorProductVersions
LinuxLinux89a1c435aec269d109ed46ca7bbb10fa8edf7ace, 89a1c435aec269d109ed46ca7bbb10fa8edf7ace, 89a1c435aec269d109ed46ca7bbb10fa8edf7ace
LinuxLinux6.11, 0, 6.12.96
amazon:2023kernel6.120
amazon:2023kernel6.12-headers0
amazon:2023kernel6.18-headers0
amazon:2023python3-perf6.120
linuxlinux_kernel6.11, 6.11, 6.11
amazon:2023kernel6.18-devel0
amazon:2023kernel6.12-tools0
amazon:2023kernel6.12-modules-extra0
LinuxLinux7.2, 89a1c435aec269d109ed46ca7bbb10fa8edf7ace, 89a1c435aec269d109ed46ca7bbb10fa8edf7ace
amazon:2023perf6.120
amazon:2023kernel6.18-tools0
amazon:2023kernel6.180
amazon:2023perf6.180
amazon:2023kernel-livepatch-6.12.100-125.1790
amazon:2023python3-perf6.180
amazon:2023kernel6.18-modules-extra-common0
amazon:2023kernel6.18-modules-extra0
amazon:2023kernel6.18-tools-devel0

…and 7 more

Timeline

  • Jul 25, 2026 EPSS Score (15 in total, the first dated here)
  • Jul 25, 2026 Coalition ESS Score
  • Jul 25, 2026 CVE Published
  • Jul 26, 2026 Security Advisory (20 in total, the first dated here)
  • Aug 12, 2026 Distribution Patch (21 in total, the first dated here)
  • Nov 12, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-64457
vulnetix vdb fixes CVE-2026-64457

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-64457/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›