qemu/hw/nvme
Klaus Jensen bb5f9036d5 hw/nvme: fix null pointer access in ruh update
The Reclaim Unit Update operation in I/O Management Receive does not
verify the presence of a configured endurance group prior to accessing
it.

Fix this.

Cc: qemu-stable@nongnu.org
Fixes: 73064edfb8 ("hw/nvme: flexible data placement emulation")
Reviewed-by: Jesper Wendel Devantier <j.devantier@samsung.com>
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
(cherry picked from commit 3439ba9c5d)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2023-09-10 19:39:41 +03:00
..
ctrl.c hw/nvme: fix null pointer access in ruh update 2023-09-10 19:39:41 +03:00
dif.c hw/nvme: fix CRC64 for guard tag 2023-09-10 19:39:41 +03:00
dif.h hw/nvme: 64-bit pi support 2022-03-03 09:30:21 +01: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 memory leak in fdp ruhid parsing 2023-04-12 12:03:02 +02:00
nvme.h hw/nvme: fix compliance issue wrt. iosqes/iocqes 2023-09-10 19:39:41 +03:00
subsys.c hw/nvme: flexible data placement emulation 2023-03-06 15:28:02 +01:00
trace-events hw/nvme: fix compliance issue wrt. iosqes/iocqes 2023-09-10 19:39:41 +03:00
trace.h hw/nvme: move nvme emulation out of hw/block 2021-05-17 09:19:00 +02:00