CVE-2026-64293
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel6.18-modules-extra | Amazon Linux | 1:6.18.39-79.141.amzn2023 |
| kernel-livepatch-6.18.39-79.141 | Amazon Linux | 1:1.0-0.amzn2023 |
| microvm-kernel6.18 | Amazon Linux | 1:6.18.39-79.141.amzn2023 |
| kernel6.18-headers | Amazon Linux | 1:6.18.39-79.141.amzn2023 |
| python3-perf6.18 | Amazon Linux | 1:6.18.39-79.141.amzn2023 |
| kernel6.18-tools-devel | Amazon Linux | 1:6.18.39-79.141.amzn2023 |
| kernel6.18 | Amazon Linux | 1:6.18.39-79.141.amzn2023 |
| bpftool6.18 | Amazon Linux | 1:6.18.39-79.141.amzn2023 |
| linux-gcp-6.18 | Chainguard | 6.18.44-r0 |
| kernel6.18-devel | Amazon Linux | 1:6.18.39-79.141.amzn2023 |
| Linux | Linux | 6.15, 04a177f91160ee18da98f5689482cf0f589ec869 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | e36ba5ab808ef6237c3148d469c8238674230e2b, e36ba5ab808ef6237c3148d469c8238674230e2b, e36ba5ab808ef6237c3148d469c8238674230e2b |
| Linux | Linux | 6.15, 0, 6.18.39 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2023 | kernel-livepatch-6.18.39-79.141 | 0 |
| amazon:2023 | microvm-kernel6.18 | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | kernel6.18 | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| chainguard | linux-gcp-6.18 | 0 |
| amazon:2023 | kernel6.18-devel | 0 |
| Linux | Linux | 7.2, *, * |
| linux | linux_kernel | 6.15, 6.15, 6.15 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | perf6.18 | 0 |
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