summaryrefslogtreecommitdiff
path: root/tools/include
diff options
context:
space:
mode:
authorMichael Thalmeier <michael.thalmeier@hale.at>2026-02-18 09:30:00 +0100
committerJakub Kicinski <kuba@kernel.org>2026-02-19 09:32:51 -0800
commit571dcbeb8e635182bb825ae758399831805693c2 (patch)
tree36f9bbf30544f2d9af0b64498f41024687445ee2 /tools/include
parent7997bca6c2b00310161fbcd628dc0161fd3b040c (diff)
net: nfc: nci: Fix parameter validation for packet data
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>
Diffstat (limited to 'tools/include')
0 files changed, 0 insertions, 0 deletions