Linux CXL
 help / color / mirror / Atom feed
* [PATCH 0/2] cxl: fortify string fixups
@ 2026-05-19 22:12 Dan Williams
  2026-05-19 22:12 ` [PATCH 1/2] cxl/fwctl: Fix __fortify_panic Dan Williams
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Dan Williams @ 2026-05-19 22:12 UTC (permalink / raw)
  To: linux-cxl; +Cc: dave.jiang, alison.schofield

It seems nobody is running cxl_test with CONFIG_FORTIFY_SOURCE=y. A
couple instances of __fortify_panic can be triggered.

Move some counted_by initialization before associated buffer /
object-array access so that it does not falsely assume a buffer overflow
is occurring.

Dan Williams (2):
  cxl/fwctl: Fix __fortify_panic
  cxl/test: Fix __fortify_panic

 drivers/cxl/core/features.c            | 2 +-
 tools/testing/cxl/test/cxl_translate.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


base-commit: 5200f5f493f79f14bbdc349e402a40dfb32f23c8
-- 
2.53.0


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

end of thread, other threads:[~2026-06-02 16:20 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-19 22:12 [PATCH 0/2] cxl: fortify string fixups Dan Williams
2026-05-19 22:12 ` [PATCH 1/2] cxl/fwctl: Fix __fortify_panic Dan Williams
2026-05-19 23:10   ` Dave Jiang
2026-05-20  2:51   ` Alison Schofield
2026-05-19 22:12 ` [PATCH 2/2] cxl/test: " Dan Williams
2026-05-19 23:13   ` Dave Jiang
2026-05-20  2:50   ` Alison Schofield
2026-05-20  2:55 ` [PATCH 0/2] cxl: fortify string fixups Alison Schofield
2026-06-02 16:20 ` Dave Jiang

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