qemu/hw/nvme
Klaus Jensen 5029de44b5 hw/nvme: fix out-of-bounds reads
Peter noticed that mmio access may read into the NvmeParams member in
the NvmeCtrl struct.

Fix the bounds check.

Reported-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
2021-07-26 21:09:39 +02:00
..
ctrl.c hw/nvme: fix out-of-bounds reads 2021-07-26 21:09:39 +02:00
dif.c hw/nvme: use prinfo directly in nvme_check_prinfo and nvme_dif_check 2021-06-29 07:16:25 +02:00
Kconfig hw/nvme: move nvme emulation out of hw/block 2021-05-17 09:19:00 +02:00
meson.build hw/nvme: move nvme emulation out of hw/block 2021-05-17 09:19:00 +02:00
ns.c hw/nvme: fix controller hot unplugging 2021-07-26 21:09:38 +02:00
nvme.h hw/nvme: fix controller hot unplugging 2021-07-26 21:09:38 +02:00
subsys.c hw/nvme: fix controller hot unplugging 2021-07-26 21:09:38 +02:00
trace-events hw/nvme: error handling for too many mappings 2021-07-26 21:09:38 +02:00
trace.h hw/nvme: move nvme emulation out of hw/block 2021-05-17 09:19:00 +02:00