VDB

CVE-2026-64293

CVE-2026-64293 PUBLISHED CVSS 7.8 HIGH

iommufd: Use sizeof(*hdr) instead of sizeof(hdr) in veventq read

Reported by linux · Published July 25, 2026

In the Linux kernel, the following vulnerability has been resolved: iommufd: Use sizeof(*hdr) instead of sizeof(hdr) in veventq read The bound-check in iommufd_veventq_fops_read() for the normal vEVENT path uses sizeof(hdr) where the surrounding code uses sizeof(*hdr): if (!vevent_for_lost_events_header(cur) && sizeof(hdr) + cur->data_len > count - done) { hdr is declared as struct iommufd_vevent_header *, so sizeof(hdr) evaluates to the size of the pointer. Surrounding code uses sizeof(*hdr) consistently: if (done >= count || sizeof(*hdr) > count - done) { ... if (copy_to_user(buf + done, hdr, sizeof(*hdr))) { ... done += sizeof(*hdr); struct iommufd_vevent_header is currently 8 bytes (two __u32 fields, flags and sequence), so on 64-bit (sizeof(void *) == 8) the two expressions happen to be equal and the check works as intended. On 32-bit (sizeof(void *) == 4) the check under-counts the header by 4 bytes: a vEVENT whose data_len causes 8 + cur->data_len to exceed count - done while 4 + cur->data_len does not will pass the check, then the loop will copy_to_user 8 bytes of header followed by data_len bytes of payload, writing past the user-supplied buffer. It is also a latent bug for any future expansion of struct iommufd_vevent_header beyond sizeof(void *) on 64-bit; the check should not depend on the type happening to match the host pointer width. Use sizeof(*hdr) to match the rest of the function and the actual amount that will be copied.

Fixed versions

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

PackageEcosystemFixed in
kernel6.18-modules-extraAmazon Linux1:6.18.39-79.141.amzn2023
kernel-livepatch-6.18.39-79.141Amazon Linux1:1.0-0.amzn2023
microvm-kernel6.18Amazon Linux1:6.18.39-79.141.amzn2023
kernel6.18-headersAmazon Linux1:6.18.39-79.141.amzn2023
python3-perf6.18Amazon Linux1:6.18.39-79.141.amzn2023
kernel6.18-tools-develAmazon Linux1:6.18.39-79.141.amzn2023
kernel6.18Amazon Linux1:6.18.39-79.141.amzn2023
bpftool6.18Amazon Linux1:6.18.39-79.141.amzn2023
linux-gcp-6.18Chainguard6.18.44-r0
kernel6.18-develAmazon Linux1:6.18.39-79.141.amzn2023
LinuxLinux6.15, 04a177f91160ee18da98f5689482cf0f589ec869

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinuxe36ba5ab808ef6237c3148d469c8238674230e2b, e36ba5ab808ef6237c3148d469c8238674230e2b, e36ba5ab808ef6237c3148d469c8238674230e2b
LinuxLinux6.15, 0, 6.18.39
amazon:2023kernel6.18-modules-extra0
amazon:2023kernel-livepatch-6.18.39-79.1410
amazon:2023microvm-kernel6.180
amazon:2023kernel6.18-headers0
amazon:2023python3-perf6.180
amazon:2023kernel6.18-tools-devel0
amazon:2023kernel6.180
amazon:2023bpftool6.180
chainguardlinux-gcp-6.180
amazon:2023kernel6.18-devel0
LinuxLinux7.2, *, *
linuxlinux_kernel6.15, 6.15, 6.15
amazon:2023kernel6.18-tools0
amazon:2023kernel6.18-modules-extra-common0
amazon:2023perf6.180

Timeline

  • Jul 25, 2026 EPSS Score (13 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)
  • Sep 15, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-64293
vulnetix vdb fixes CVE-2026-64293

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-64293/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 ›