Description
An unchecked return value in the illumos bhyve virtio implementation allows a guest to write to memory of the bhyve process outside the guest. _vq_record() in usr/src/cmd/bhyve/common/virtio.c builds the I/O vector for a descriptor chain, and stores the result of paddr_guest2host() as the base of each element. It does not check for NULL, which is returned for a guest physical address range that has no backing memory. Device models then receive elements with a NULL base and a guest-chosen length. The virtio-blk device model computes the location of the request status byte as the last byte of the final element. A privileged user within a guest VM can submit a block request in which the final descriptor refers to unbacked guest physical memory. The one-byte completion status is then written to a chosen address in the first 4 GiB of the bhyve process's address space. The bhyve process typically runs as root within the zone that hosts the VM. The flaw has been present since bhyve was imported (illumos-gate commit bf21cd93), and affects any illumos distribution prior to illumos-gate commit 988c96cf.
Details
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X · Attack vector: LocalA short explanation of who is affected, the impact and what to do, written only from this record's data.
AI isn't configured on this server (set AI_PROVIDER and an API key).
Learn about this vulnerability
What Is Remote Code Execution (RCE)?RCE lets an attacker run their own commands on a system they don't control. Learn the common causes, real examples and how to reduce the risk.Beginner · 4-minute readCVSS vs EPSS vs CISA KEV: Understanding the DifferencesThree signals, three different questions. CVSS measures how bad a flaw could be, EPSS estimates how likely exploitation is, and KEV confirms attackers are already using it.Intermediate · 4-minute readWhat Is a CVE? A Beginner's Guide to VulnerabilitiesCVE IDs are the common names for publicly known security flaws. Learn who assigns them, what a CVE record contains, and what a CVE does and doesn't tell you.Beginner · 4-minute readTrack this software
Add the affected products to your watchlist and get an e-mail when new CVEs list your versions.
Affected products appear after NVD analysis.