# CVE-2026-64293: iommufd: Use sizeof(\*hdr) instead of sizeof(hdr) in veventq read

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 4, 2026-11-26)
- **CWE:** CWE-787
- **Published:** 2026-07-25T08:49:31.945Z
- **Modified:** 2026-10-19T21:17:29.983Z

## Who should check

- Anyone running Linux \>= e36ba5ab808ef6237c3148d469c8238674230e2b, \< 04a177f91160ee18da98f5689482cf0f589ec869; \>= e36ba5ab808ef6237c3148d469c8238674230e2b, \< 0cdbb97a4dbd69abdd2ab998b4fbc7803d4b0b72; \>= e36ba5ab808ef6237c3148d469c8238674230e2b, \< be93d186ae88a92e7aa77e122d4e661fa57b1e39
- Anyone running Linux 6.15

## Description

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.

## Affected and fixed versions

- Linux: \>= e36ba5ab808ef6237c3148d469c8238674230e2b, \< 04a177f91160ee18da98f5689482cf0f589ec869; \>= e36ba5ab808ef6237c3148d469c8238674230e2b, \< 0cdbb97a4dbd69abdd2ab998b4fbc7803d4b0b72; \>= e36ba5ab808ef6237c3148d469c8238674230e2b, \< be93d186ae88a92e7aa77e122d4e661fa57b1e39 (cvelist)
- Linux: 6.15 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-64293. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-64293.md
Affected: Linux >= e36ba5ab808ef6237c3148d469c8238674230e2b, < 04a177f91160ee18da98f5689482cf0f589ec869; >= e36ba5ab808ef6237c3148d469c8238674230e2b, < 0cdbb97a4dbd69abdd2ab998b4fbc7803d4b0b72; >= e36ba5ab808ef6237c3148d469c8238674230e2b, < be93d186ae88a92e7aa77e122d4e661fa57b1e39; Linux 6.15
Fixed in: Linux 04a177f91160ee18da98f5689482cf0f589ec869, Linux 0cdbb97a4dbd69abdd2ab998b4fbc7803d4b0b72

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-64293 being exploited?

There is no confirmed exploitation: CVE-2026-64293 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-64293?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-64293?

Linux \>= e36ba5ab808ef6237c3148d469c8238674230e2b, \< 04a177f91160ee18da98f5689482cf0f589ec869; \>= e36ba5ab808ef6237c3148d469c8238674230e2b, \< 0cdbb97a4dbd69abdd2ab998b4fbc7803d4b0b72; \>= e36ba5ab808ef6237c3148d469c8238674230e2b, \< be93d186ae88a92e7aa77e122d4e661fa57b1e39; Linux 6.15.

### Is there a fix for CVE-2026-64293?

Yes. Fixed in Linux 04a177f91160ee18da98f5689482cf0f589ec869, Linux 0cdbb97a4dbd69abdd2ab998b4fbc7803d4b0b72. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-64293?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/04a177f91160ee18da98f5689482cf0f589ec869>
- patch: <https://git.kernel.org/stable/c/0cdbb97a4dbd69abdd2ab998b4fbc7803d4b0b72>
- patch: <https://git.kernel.org/stable/c/be93d186ae88a92e7aa77e122d4e661fa57b1e39>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-64293>

HTML: <https://flawdb.com/CVE-2026-64293> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-64293>
