From: David Heidelberg <david@ixit.cz>
To: Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
"David S. Miller" <davem@davemloft.net>
Cc: netdev@vger.kernel.org, LKML <linux-kernel@vger.kernel.org>,
oe-linux-nfc@lists.linux.dev
Subject: [pull-request] NFC fixes for net 7.1-rc8
Date: Tue, 11 Aug 2026 18:27:50 +0200 [thread overview]
Message-ID: <4bcd0efa-cd97-485b-a7ba-6db8e3c4d3dd@ixit.cz> (raw)
The following changes since commit db2ddb87143519e20a95aa36c60b36107b736a58:
Linux 7.2-rc7 (2026-08-09 14:54:50 -0700)
are available in the Git repository at:
https://codeberg.org/linux-nfc/linux.git tags/nfc-7.1-rc8
for you to fetch changes up to 25519469972ef57c3edb1805dabd6c5612b90211:
nfc: microread: validate target discovery payload lengths (2026-08-11
18:10:04 +0200)
----------------------------------------------------------------
Mostly security fixes.
nci: add data_len bound checks to activation parameter extractors
nci: fix double completion race in nci_data_exchange_complete
nci: fix out-of-bounds write in nci_target_auto_activated()
nci: fix uninit-value in the RF discover/activated NTF handlers
nci: fix use of uninitialized memory in CORE_INIT_RSP parsing
nci: free destination parameters when closing a connection
llcp: avoid userspace overflow on invalid optlen
llcp: bound SNL TLV parsing to the skb and add length checks
llcp: bound the connect_sn TLV walk to the skb
llcp: fix OOB read and u8 offset wrap in TLV parsers
llcp: read llcp_sock->local under the socket lock in getsockopt
llcp: reject PDUs shorter than the LLCP header
digital: Do not dump a NULL response in command completion
digital: clamp SENSF_RES length to the destination buffer
fdp: bound the device-reported read length and fix an skb leak
microread: validate target discovery payload lengths
pn533: hold a reference to the request skb during send_frame
pn533: purge fragmented skbs during cleanup
st21nfca: validate ATR_REQ length against the received frame
Signed-off-by: David Heidelberg <david@ixit.cz>
----------------------------------------------------------------
Breno Leitao (2):
nfc: llcp: avoid userspace overflow on invalid optlen
nfc: llcp: read llcp_sock->local under the socket lock in getsockopt
Bryam Vargas (2):
nfc: nci: add data_len bound checks to activation parameter extractors
nfc: fdp: bound the device-reported read length and fix an skb leak
Doruk Tan Ozturk (5):
nfc: digital: clamp SENSF_RES length to the destination buffer
nfc: llcp: bound SNL TLV parsing to the skb and add length checks
nfc: llcp: reject PDUs shorter than the LLCP header
nfc: llcp: bound the connect_sn TLV walk to the skb
nfc: st21nfca: validate ATR_REQ length against the received frame
Linmao Li (2):
nfc: digital: Do not dump a NULL response in command completion
nfc: nci: free destination parameters when closing a connection
Muhammad Bilal (1):
nfc: llcp: fix OOB read and u8 offset wrap in TLV parsers
Pengpeng Hou (1):
nfc: microread: validate target discovery payload lengths
Samuel Page (2):
nfc: nci: fix out-of-bounds write in nci_target_auto_activated()
nfc: nci: fix uninit-value in the RF discover/activated NTF handlers
Xu Rao (1):
nfc: pn533: purge fragmented skbs during cleanup
Yinhao Hu (1):
nfc: pn533: hold a reference to the request skb during send_frame
Yun Zhou (1):
nfc: nci: fix use of uninitialized memory in CORE_INIT_RSP parsing
Zhenghang Xiao (1):
nfc: nci: fix double completion race in nci_data_exchange_complete
drivers/nfc/fdp/i2c.c | 27 +++++++++++++++++++++++++++
drivers/nfc/microread/microread.c | 31 +++++++++++++++++++++++++++++--
drivers/nfc/pn533/pn533.c | 22 ++++++++++++++++------
drivers/nfc/st21nfca/dep.c | 3 +++
net/nfc/digital_core.c | 2 +-
net/nfc/digital_technology.c | 2 ++
net/nfc/llcp_commands.c | 18 ++++++++++++++++--
net/nfc/llcp_core.c | 44
++++++++++++++++++++++++++++++++------------
net/nfc/llcp_sock.c | 14 +++++++++++---
net/nfc/nci/data.c | 10 +++++-----
net/nfc/nci/ntf.c | 36 ++++++++++++++++++++++++++++++------
net/nfc/nci/rsp.c | 42 +++++++++++++++++++++++++++++++++++++++---
12 files changed, 211 insertions(+), 40 deletions(-)
next reply other threads:[~2026-08-11 16:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-11 16:27 David Heidelberg [this message]
2026-08-17 19:45 ` [pull-request] NFC fixes for net 7.1-rc8 patchwork-bot+netdevbpf
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=4bcd0efa-cd97-485b-a7ba-6db8e3c4d3dd@ixit.cz \
--to=david@ixit.cz \
--cc=davem@davemloft.net \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=oe-linux-nfc@lists.linux.dev \
--cc=pabeni@redhat.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.