diff options
| author | Johan Hovold <johan@kernel.org> | 2026-09-15 14:40:11 +0200 |
|---|---|---|
| committer | Johan Hovold <johan@kernel.org> | 2026-09-16 15:24:51 +0200 |
| commit | afc235a217360c6859068d2e37a4df305c4d1be2 (patch) | |
| tree | bde5733fb39e3d20a36e6e52ce958b50d096481e /tools/lib/python/kdoc | |
| parent | d84e27d87738634b92001500435ae4dadba10a13 (diff) | |
| download | linux-next-afc235a217360c6859068d2e37a4df305c4d1be2.tar.gz linux-next-afc235a217360c6859068d2e37a4df305c4d1be2.zip | |
USB: serial: ssu100: fix baud rate overflow
The requested baud rate is incorrectly truncated to 16 bits so that
line speeds above 65535 bps cannot be set.
Use 32 bits for the rate and remainder while rejecting rates outside of
[50,460800] to avoid having the divisor or remainder overflow.
This issue was flagged by an LLM.
Fixes: 52af95459939 ("USB: add USB serial ssu100 driver")
Cc: stable@vger.kernel.org # 2.6.36
Cc: Bill Pemberton <wfp5p@virginia.edu>
Assisted-by: LLM
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc')
0 files changed, 0 insertions, 0 deletions
