aboutsummaryrefslogtreecommitdiff
path: root/chardev/char-io.c
diff options
context:
space:
mode:
authorLi Qiang <liq3ea@gmail.com>2018-11-01 18:22:43 -0700
committerKevin Wolf <kwolf@redhat.com>2018-11-19 12:51:16 +0100
commit5e3c0220d7e4f0361c4d36c697a8842f2b583402 (patch)
tree0b640cc5db681adc5ee152ac0d35b1054573da63 /chardev/char-io.c
parent9436e082de18b2fb2ceed2e9d1beef641ae64f23 (diff)
downloadqemu-5e3c0220d7e4f0361c4d36c697a8842f2b583402.zip
qemu-5e3c0220d7e4f0361c4d36c697a8842f2b583402.tar.gz
qemu-5e3c0220d7e4f0361c4d36c697a8842f2b583402.tar.bz2
nvme: fix oob access issue(CVE-2018-16847)
Currently, the nvme_cmb_ops mr doesn't check the addr and size. This can lead an oob access issue. This is triggerable in the guest. Add check to avoid this issue. Fixes CVE-2018-16847. Reported-by: Li Qiang <liq3ea@gmail.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Li Qiang <liq3ea@gmail.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'chardev/char-io.c')
0 files changed, 0 insertions, 0 deletions