public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/1] cxl/core: Fix initialization of mbox_cmd.size_out in get event
@ 2024-04-02  8:14 Kwangjin Ko
  2024-04-02  8:14 ` [PATCH v2 1/1] " Kwangjin Ko
  0 siblings, 1 reply; 12+ messages in thread
From: Kwangjin Ko @ 2024-04-02  8:14 UTC (permalink / raw)
  To: dave, jonathan.cameron, dave.jiang, alison.schofield,
	vishal.l.verma, ira.weiny, dan.j.williams
  Cc: linux-cxl, linux-kernel, kernel_team

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


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2024-04-05 17:45 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-02  8:14 [PATCH v2 0/1] cxl/core: Fix initialization of mbox_cmd.size_out in get event Kwangjin Ko
2024-04-02  8:14 ` [PATCH v2 1/1] " Kwangjin Ko
2024-04-02 14:38   ` Jonathan Cameron
2024-04-02 16:25   ` Ira Weiny
2024-04-03 14:53   ` Dan Williams
2024-04-04 13:30     ` Jonathan Cameron
2024-04-04 17:35       ` Dan Williams
2024-04-04 20:20         ` Ira Weiny
2024-04-05 16:04   ` Alison Schofield
2024-04-05 16:40     ` Jonathan Cameron
2024-04-05 17:37       ` Alison Schofield
2024-04-05 17:45         ` Dan Williams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox