mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH net 0/4] nfc: st95hf: fix SPI receive bounds, DMA safety, and teardown UAF
@ 2026-11-25 22:22 Elkin Cruz
  2026-11-25 22:22 ` [PATCH net 1/4] nfc: st95hf: bound SPI receive length in st95hf_spi_recv_response() Elkin Cruz
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Elkin Cruz @ 2026-11-25 22:22 UTC (permalink / raw)
  To: David Heidelberg, Nathan Chancellor
  Cc: Nick Desaulniers, Bill Wendling, Justin Stitt, oe-linux-nfc,
	llvm, linux-kernel, irogers, Elkin Cruz

I am trying out new Clang static analysis checks for kernel bug
classes, and they flagged this code as possibly buggy. The findings
were triaged/fixed and commit descriptions were drafted with help of AI,
then checked against linux-next (not runtime-tested on hardware).

Thanks,
Elkin

Elkin Cruz (4):
  nfc: st95hf: bound SPI receive length in st95hf_spi_recv_response()
  nfc: st95hf: use DMA-safe buffers for SPI transfers
  nfc: st95hf: validate async tag response frame lengths
  nfc: st95hf: fix probe init order and remove teardown UAF

 drivers/nfc/st95hf/core.c | 151 +++++++++++++++++++++-----------------
 drivers/nfc/st95hf/spi.c  |  75 +++++++++++--------
 drivers/nfc/st95hf/spi.h  |  13 +++-
 3 files changed, 140 insertions(+), 99 deletions(-)

-- 
2.56.1.839.g22a8290db9-goog


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

end of thread, other threads:[~2026-11-25 22:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-25 22:22 [PATCH net 0/4] nfc: st95hf: fix SPI receive bounds, DMA safety, and teardown UAF Elkin Cruz
2026-11-25 22:22 ` [PATCH net 1/4] nfc: st95hf: bound SPI receive length in st95hf_spi_recv_response() Elkin Cruz
2026-11-25 22:22 ` [PATCH net 2/4] nfc: st95hf: use DMA-safe buffers for SPI transfers Elkin Cruz
2026-11-25 22:22 ` [PATCH net 3/4] nfc: st95hf: validate async tag response frame lengths Elkin Cruz
2026-11-25 22:22 ` [PATCH net 4/4] nfc: st95hf: fix probe init order and remove teardown UAF Elkin Cruz

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

all inboxes | Powered by JetHome®