diff options
| author | Johan Hovold <johan@kernel.org> | 2026-05-22 16:22:18 +0200 |
|---|---|---|
| committer | Johan Hovold <johan@kernel.org> | 2026-05-23 09:07:36 +0200 |
| commit | 438061ed1ad85e6743e2dce826671772d81089ec (patch) | |
| tree | daaee33b20e214c31d701e365aa92820543ed011 /kernel | |
| parent | 60df93d30f9bdd27db17c4d80ed80ef718d7226b (diff) | |
USB: serial: safe_serial: fix memory corruption with small endpoint
Make sure that the bulk-out buffer size is at least eight bytes to avoid
user-controlled slab corruption in "safe" mode should a malicious device
report a smaller size.
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Cc: stable@vger.kernel.org
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions
