# CVE-2024-46794: x86/tdx: Fix data leak in mmio\_read()

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

- **Severity:** LOW 3.3
- **CVSS:** 3.3 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: None; Availability impact: None
- **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.29% (percentile 14, 2026-11-26)
- **Published:** 2024-09-18T07:12:49.323Z
- **Modified:** 2026-06-17T07:55:56.870Z

## Who should check

- Anyone running Linux \>= 31d58c4e557d46fa7f8557714250fb6f89c941ae, \< 26c6af49d26ffc377e392e30d4086db19eed0ef7; \>= 31d58c4e557d46fa7f8557714250fb6f89c941ae, \< ef00818c50cf55a3a56bd9a9fae867c92dfb84e7; \>= 31d58c4e557d46fa7f8557714250fb6f89c941ae, \< b55ce742afcb8e8189d82f2f1e635ba1b5a461fa; \>= 31d58c4e557d46fa7f8557714250fb6f89c941ae, \< b6fb565a2d15277896583d471b21bc14a0c99661
- Anyone running Linux 5.19

## Description

In the Linux kernel, the following vulnerability has been resolved:

x86/tdx: Fix data leak in mmio\_read()

The mmio\_read() function makes a TDVMCALL to retrieve MMIO data for an
address from the VMM.

Sean noticed that mmio\_read() unintentionally exposes the value of an
initialized variable (val) on the stack to the VMM.

This variable is only needed as an output value. It did not need to be
passed to the VMM in the first place.

Do not send the original value of \*val to the VMM.

\[ dhansen: clarify what 'val' is used for. \]

## Affected and fixed versions

- Linux: \>= 31d58c4e557d46fa7f8557714250fb6f89c941ae, \< 26c6af49d26ffc377e392e30d4086db19eed0ef7; \>= 31d58c4e557d46fa7f8557714250fb6f89c941ae, \< ef00818c50cf55a3a56bd9a9fae867c92dfb84e7; \>= 31d58c4e557d46fa7f8557714250fb6f89c941ae, \< b55ce742afcb8e8189d82f2f1e635ba1b5a461fa; \>= 31d58c4e557d46fa7f8557714250fb6f89c941ae, \< b6fb565a2d15277896583d471b21bc14a0c99661 (cvelist)
- Linux: 5.19 (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-2024-46794. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-46794.md
Affected: Linux >= 31d58c4e557d46fa7f8557714250fb6f89c941ae, < 26c6af49d26ffc377e392e30d4086db19eed0ef7; >= 31d58c4e557d46fa7f8557714250fb6f89c941ae, < ef00818c50cf55a3a56bd9a9fae867c92dfb84e7; >= 31d58c4e557d46fa7f8557714250fb6f89c941ae, < b55ce742afcb8e8189d82f2f1e635ba1b5a461fa; >= 31d58c4e557d46fa7f85577…
Fixed in: Linux 26c6af49d26ffc377e392e30d4086db19eed0ef7

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-2024-46794 being exploited?

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

### How serious is CVE-2024-46794?

Low: CVSS 3.3 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-46794?

Linux \>= 31d58c4e557d46fa7f8557714250fb6f89c941ae, \< 26c6af49d26ffc377e392e30d4086db19eed0ef7; \>= 31d58c4e557d46fa7f8557714250fb6f89c941ae, \< ef00818c50cf55a3a56bd9a9fae867c92dfb84e7; \>= 31d58c4e557d46fa7f8557714250fb6f89c941ae, \< b55ce742afcb8e8189d82f2f1e635ba1b5a461fa; \>= 31d58c4e557d46fa7f8557714250fb6f89c941ae, \< b6fb565a2d15277896583d471b21bc14a0c99661; Linux 5.19.

### Is there a fix for CVE-2024-46794?

Yes. Fixed in Linux 26c6af49d26ffc377e392e30d4086db19eed0ef7. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-46794?

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/26c6af49d26ffc377e392e30d4086db19eed0ef7>
- patch: <https://git.kernel.org/stable/c/ef00818c50cf55a3a56bd9a9fae867c92dfb84e7>
- patch: <https://git.kernel.org/stable/c/b55ce742afcb8e8189d82f2f1e635ba1b5a461fa>
- patch: <https://git.kernel.org/stable/c/b6fb565a2d15277896583d471b21bc14a0c99661>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## 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-2024-46794>

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