[PATCH v2 0/1] cxl/core: Fix initialization of mbox_cmd.size_out in get event

From: Kwangjin Ko
Date: Tue Apr 02 2024 - 04:14:28 EST


This patch fixes the issue of accessing incorrect values when getting
multiple event records in cxl_mem_get_records_log().

Changes from v1:
1. Rewrite the commit message to indicate that it can read an
incorrect value, rather than causing a buffer overflow.
(feedbacked by Ira Weiny)
2. Remove the following commit that has already been added into
the 'fixes' branch of the CXL repository.
(feedbacked by Alison Schofield)

cxl/core: Fix incorrect array index in cxl_clear_event_record()

Kwangjin Ko (1):
cxl/core: Fix initialization of mbox_cmd.size_out in get event

drivers/cxl/core/mbox.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)


base-commit: 39cd87c4eb2b893354f3b850f916353f2658ae6f
--
2.34.1