diff options
| author | Johan Hovold <johan@kernel.org> | 2026-05-22 16:19:50 +0200 |
|---|---|---|
| committer | Johan Hovold <johan@kernel.org> | 2026-05-23 09:07:18 +0200 |
| commit | 4085f0dbb1ce2251c9a5938d693de6593f0ab2bd (patch) | |
| tree | 7a4c25cbd134dc6eea2e73c4a71f5807cfddfa1a /scripts/kernel-doc | |
| parent | e1a9d791fd66ab2431b9e6f6f835823809869047 (diff) | |
USB: serial: mxuport: fix memory corruption with small endpoint
Make sure that the bulk-out endpoint max packet size is at least eight
bytes to avoid user-controlled slab corruption should a malicious device
report a smaller size.
Fixes: ee467a1f2066 ("USB: serial: add Moxa UPORT 12XX/14XX/16XX driver")
Cc: stable@vger.kernel.org # 3.14
Cc: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'scripts/kernel-doc')
0 files changed, 0 insertions, 0 deletions
