CVE-2026-143000: serial: 8250_lpss: don't divide by 0 above 6.25 Mbaud

Published Dec 3, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

serial: 8250lpss: don't divide by 0 above 6.25 Mbaud

bytsettermios() derives the clock of the UART from the baud rate in the termios, which nobody has looked at yet:

fuart = baud 16; ... fuart = rounddownpowoftwo(fref / fuart); ... p->uartclk = fuart;

fref is 100 MHz. For a baud rate above 6250000, which BOTHER allows, fref / fuart is 0, and rounddownpowoftwo(0) shifts 1UL by -1. On x86 that is 1UL << 63, the product with a multiple of 16 is 0, and so is uartclk. serial8250getbaudrate() then passes 0 for both limits, uartgetbaudrate() finds no rate which fits, WARNs and returns 0, and uartgetdivisor() or dw8250getdivisor() divide by 16 0.

Everybody who may open the tty can oops the kernel with one TCSETS2.

Don't ask for more than fref. The limits are those of a 100 MHz clock then, and uartgetbaudrate() falls back to the old rate as for any other rate that the port cannot do. 8250mid, which has the same formula, treats this case separately.

Affected Software

1 affected component
Linux Linux kernel

Event History

Dec 3, 2026
CVE Published
via MITRE·09:17 AM
Data Sourced
via MITRE·09:17 AM
Description

Frequently Asked Questions

1

Who can trigger the kernel fault?

Any user or process that can open the affected tty can trigger it. No elevated privilege is stated as necessary.

2

What input is needed to exploit the issue?

The attacker must issue a TCSETS2 request using BOTHER to set a baud rate above 6,250,000. This causes the driver’s derived UART clock to become zero and can lead to a divide-by-zero fault.

3

What can be done before an update is available?

Do not allow baud-rate requests above 6,250,000 on affected ttys, and restrict access to those tty devices to trusted users and processes. The resolved behavior rejects rates beyond the 100 MHz reference-clock limit and falls back to the previous rate.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203