Skip to content

hw/nvme/ctrl: Fix buffer overrun (CVE-2021-3947)

Philippe Mathieu-Daudé qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 2 repliesIn review

Changes in v2 from the cover letter

- 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

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2hw/nvme/ctrl: Fix buffer overrun in nvme_changed_nslist (CVE-2021-3947)hw/nvme/ctrl.c+4 -11 reply
2/2hw/nvme/ctrl: Prevent buffer overrun in nvme_error_info()hw/nvme/ctrl.c+2 -21 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

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

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(-)
Signature · 1 line
2.31.1