mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Elkin Cruz <elkin@google.com>
To: David Heidelberg <david@ixit.cz>, Nathan Chancellor <nathan@kernel.org>
Cc: Nick Desaulniers <ndesaulniers@google.com>,
	Bill Wendling <morbo@google.com>,
	 Justin Stitt <justinstitt@google.com>,
	oe-linux-nfc@lists.linux.dev, llvm@lists.linux.dev,
	 linux-kernel@vger.kernel.org, irogers@google.com,
	 Elkin Cruz <elkin@google.com>
Subject: [PATCH net 0/4] nfc: st95hf: fix SPI receive bounds, DMA safety, and teardown UAF
Date: Wed, 25 Nov 2026 22:22:55 +0000	[thread overview]
Message-ID: <20261125222300.1438398-1-elkin@google.com> (raw)

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


             reply	other threads:[~2026-11-25 22:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-25 22:22 Elkin Cruz [this message]
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

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=20261125222300.1438398-1-elkin@google.com \
    --to=elkin@google.com \
    --cc=david@ixit.cz \
    --cc=irogers@google.com \
    --cc=justinstitt@google.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    --cc=morbo@google.com \
    --cc=nathan@kernel.org \
    --cc=ndesaulniers@google.com \
    --cc=oe-linux-nfc@lists.linux.dev \
    /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

all inboxes | Powered by JetHome®