[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240402081404.1106-1-kwangjin.ko@sk.com>
Date: Tue, 2 Apr 2024 17:14:02 +0900
From: Kwangjin Ko <kwangjin.ko@...com>
To: dave@...olabs.net,
jonathan.cameron@...wei.com,
dave.jiang@...el.com,
alison.schofield@...el.com,
vishal.l.verma@...el.com,
ira.weiny@...el.com,
dan.j.williams@...el.com
Cc: linux-cxl@...r.kernel.org,
linux-kernel@...r.kernel.org,
kernel_team@...ynix.com
Subject: [PATCH v2 0/1] cxl/core: Fix initialization of mbox_cmd.size_out in get event
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
Powered by blists - more mailing lists