diff options
| author | Michael Thalmeier <michael.thalmeier@hale.at> | 2026-02-18 11:30:00 +0300 |
|---|---|---|
| committer | Sasha Levin <sashal@kernel.org> | 2026-03-04 15:20:56 +0300 |
| commit | f5218426f765eee22e178df9c126d974792fb6a5 (patch) | |
| tree | 6dc6499329d58459d916e77b3e7e229b89e2cf24 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 27c731ce8287f3e40c3d451dd0aab1b7b7633ccc (diff) | |
| download | linux-f5218426f765eee22e178df9c126d974792fb6a5.tar.xz | |
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/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
