diff options
| author | Johan Hovold <johan@kernel.org> | 2026-10-23 14:15:23 +0200 |
|---|---|---|
| committer | Johan Hovold <johan@kernel.org> | 2026-10-29 16:22:05 +0100 |
| commit | 270f76c3b88c9cc3d6ca58c5c0c0f34c2373b27c (patch) | |
| tree | 555647d860078374f614027978c87e919db26ce4 /tools/perf/scripts/python | |
| parent | febadc65a4ef8d08a12e76d6ec50834d72cc0e59 (diff) | |
USB: serial: io_edgeport: fix potential fifo corruption
The device buffer size is determined during open() and the driver
allocates a TX FIFO of corresponding size.
Add the missing sanity check to prevent memory corruption in case a
malicious device sends a second open response with a different buffer
size.
This issue was flagged by Sashiko when reviewing a related fix.
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Cc: stable@vger.kernel.org
Link: https://sashiko.dev/#/patchset/20260714101316.823942-1-shpark061104%40gmail.com?part=1
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
