public inbox for linux-cxl@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] cxl/mbox: fix undersized payload handling in cxl_payload_from_user_allowed()
@ 2026-02-20  0:16 Davidlohr Bueso
  2026-02-20  0:16 ` [PATCH 1/2] cxl/mbox: validate payload size before accessing contents " Davidlohr Bueso
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Davidlohr Bueso @ 2026-02-20  0:16 UTC (permalink / raw)
  To: dave.jiang
  Cc: jonathan.cameron, alison.schofield, vishal.l.verma, ira.weiny,
	dan.j.williams, linux-cxl, Davidlohr Bueso

Hi,

The first patch fixes a KSAN splat uncovered by cxl fuzzying, the second
is a follow up for maintain proper error code semantics.

Applies against 'next' from cxl.git.

Thanks!

Davidlohr Bueso (2):
  cxl/mbox: validate payload size before accessing contents in cxl_payload_from_user_allowed()
  cxl/mbox: return appropriate error in cxl_payload_from_user_allowed()

 drivers/cxl/core/mbox.c | 31 ++++++++++++++++++++++---------
 1 file changed, 22 insertions(+), 9 deletions(-)

--
2.39.5


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

end of thread, other threads:[~2026-02-27 13:38 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-20  0:16 [PATCH 0/2] cxl/mbox: fix undersized payload handling in cxl_payload_from_user_allowed() Davidlohr Bueso
2026-02-20  0:16 ` [PATCH 1/2] cxl/mbox: validate payload size before accessing contents " Davidlohr Bueso
2026-02-23 19:23   ` Alison Schofield
2026-02-23 22:39   ` Dave Jiang
2026-02-20  0:16 ` [PATCH 2/2] cxl/mbox: return appropriate error " Davidlohr Bueso
2026-02-20 22:14   ` Alison Schofield
2026-02-21 18:55     ` Davidlohr Bueso
2026-02-23 19:27   ` Alison Schofield
2026-02-23 22:40   ` Dave Jiang
2026-02-27 13:38   ` Jonathan Cameron
2026-02-20 17:23 ` [PATCH 0/2] cxl/mbox: fix undersized payload handling " Dave Jiang

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