All reports
Low

Qemu: i386: leakage of stack memory to guest in kvmvapic.c

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2016-4020

Probability of exploitation in the next 30 days: 0.37%

FIRST EPSS · 2026-11-22

Description

The patch_instruction function in hw/i386/kvmvapic.c in QEMU does not initialize the imm32 variable, which allows local guest OS administrators to obtain sensitive information from host stack memory by accessing the Task Priority Register (TPR).

An information-exposure flaw was found in Quick Emulator (QEMU) in Task Priority Register (TPR) optimizations for 32-bit Windows guests. The flaw could occur while accessing TPR. A privileged user inside a guest could use this issue to read portions of the host memory.