PT-2026-166855

CVE-2026-143000

·

Published

2026-12-03

·

Updated

2026-12-03

Description by

Score
N/A
Not available

No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.

In the Linux kernel, the following vulnerability has been resolved:
serial: 8250 lpss: don't divide by 0 above 6.25 Mbaud
byt set termios() derives the clock of the UART from the baud rate in the termios, which nobody has looked at yet:
fuart = baud * 16;
...
fuart *= rounddown pow of two(fref / fuart);
...
p->uartclk = fuart;
fref is 100 MHz. For a baud rate above 6250000, which BOTHER allows, fref / fuart is 0, and rounddown pow of two(0) shifts 1UL by -1. On x86 that is 1UL << 63, the product with a multiple of 16 is 0, and so is uartclk. serial8250 get baud rate() then passes 0 for both limits, uart get baud rate() finds no rate which fits, WARNs and returns 0, and uart get divisor() or dw8250 get divisor() 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 uart get baud rate() falls back to the old rate as for any other rate that the port cannot do. 8250 mid, which has the same formula, treats this case separately.
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾