mbox series

[PATCH-for-6.2,v2,0/2] hw/nvme/ctrl: Fix buffer overrun (CVE-2021-3947)

Message ID 20211117123534.2900334-1-philmd@redhat.com
Headers show
Series hw/nvme/ctrl: Fix buffer overrun (CVE-2021-3947) | expand

Message

Philippe Mathieu-Daudé Nov. 17, 2021, 12:35 p.m. UTC
Since v1:
- Do not add more buffer overflows in modify nvme_smart_info(),
  nvme_fw_log_info() and nvme_cmd_effects() (Klaus)
- Split nvme_error_info() change in another patch

Philippe Mathieu-Daudé (2):
  hw/nvme/ctrl: Fix buffer overrun in nvme_changed_nslist
    (CVE-2021-3947)
  hw/nvme/ctrl: Prevent buffer overrun in nvme_error_info()

 hw/nvme/ctrl.c | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)