summaryrefslogtreecommitdiff
path: root/include/net/aligned_data.h
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:34 -0500
commitc692db813a7e3b7c3c17d6e9a3ad2a018bf1142b (patch)
treeddf20950cad56f831433f26b56934ae09e7823c2 /include/net/aligned_data.h
parentb1e034af484a4b58a16af19d6777a2ce8d6fd24b (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 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions