Linux CXL
 help / color / mirror / Atom feed
From: Kwangjin Ko <kwangjin.ko@sk.com>
To: dave@stgolabs.net, jonathan.cameron@huawei.com,
	dave.jiang@intel.com, alison.schofield@intel.com,
	vishal.l.verma@intel.com, ira.weiny@intel.com,
	dan.j.williams@intel.com
Cc: linux-cxl@vger.kernel.org, linux-kernel@vger.kernel.org,
	kernel_team@skhynix.com
Subject: [PATCH v2 0/1] cxl/core: Fix initialization of mbox_cmd.size_out in get event
Date: Tue,  2 Apr 2024 17:14:02 +0900	[thread overview]
Message-ID: <20240402081404.1106-1-kwangjin.ko@sk.com> (raw)

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


             reply	other threads:[~2024-04-02  8:14 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-02  8:14 Kwangjin Ko [this message]
2024-04-02  8:14 ` [PATCH v2 1/1] cxl/core: Fix initialization of mbox_cmd.size_out in get event 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240402081404.1106-1-kwangjin.ko@sk.com \
    --to=kwangjin.ko@sk.com \
    --cc=alison.schofield@intel.com \
    --cc=dan.j.williams@intel.com \
    --cc=dave.jiang@intel.com \
    --cc=dave@stgolabs.net \
    --cc=ira.weiny@intel.com \
    --cc=jonathan.cameron@huawei.com \
    --cc=kernel_team@skhynix.com \
    --cc=linux-cxl@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=vishal.l.verma@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox