summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMichael Thalmeier <michael.thalmeier@hale.at>2026-02-18 09:30:00 +0100
committerSasha Levin <sashal@kernel.org>2026-03-04 07:21:20 -0500
commitad058a4317db7fdb3f09caa6ed536d24a62ce6a0 (patch)
tree9ad72650cb03d568eb194ba1e084f14c28a71289 /tools
parentdc99b25ed4f71e5fe1b2f66a518f820e46356028 (diff)
net: nfc: nci: Fix parameter validation for packet data
[ Upstream commit 571dcbeb8e635182bb825ae758399831805693c2 ] Since commit 9c328f54741b ("net: nfc: nci: Add parameter validation for packet data") communication with nci nfc chips is not working any more. The mentioned commit tries to fix access of uninitialized data, but failed to understand that in some cases the data packet is of variable length and can therefore not be compared to the maximum packet length given by the sizeof(struct). Fixes: 9c328f54741b ("net: nfc: nci: Add parameter validation for packet data") Cc: stable@vger.kernel.org Signed-off-by: Michael Thalmeier <michael.thalmeier@hale.at> Reported-by: syzbot+740e04c2a93467a0f8c8@syzkaller.appspotmail.com Link: https://patch.msgid.link/20260218083000.301354-1-michael.thalmeier@hale.at Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions