Skip to content

[SECURITY] USB: serial: io_ti: fix div-by-zero in set_termios (CVE-2017-18360)#131

Open
Mifacopy wants to merge 1 commit intofacebookincubator:oculus-go-kernel-masterfrom
Mifacopy:patch-28
Open

[SECURITY] USB: serial: io_ti: fix div-by-zero in set_termios (CVE-2017-18360)#131
Mifacopy wants to merge 1 commit intofacebookincubator:oculus-go-kernel-masterfrom
Mifacopy:patch-28

Conversation

@Mifacopy
Copy link

Fix CVE-2017-18360.

Upstream commit: 6aeb75e6adfaed16e58780309613a578fe1ee90b

In drivers/usb/serial/io_ti.c, requesting an excessively high baud rate could
result in a zero divisor and trigger a division-by-zero in the port settings
path (set_termios / change_port_settings), causing a local denial-of-service.

Cap the requested baud rate to avoid a zero divisor (and prevent firmware
crashes observed with a zero divisor).

Reference: CVE-2017-18360

@meta-cla meta-cla bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Feb 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed Do not delete this pull request or issue due to inactivity.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant