AZL-117908: CVE-2026-143000 affecting package kernel 6.6.161.1-1
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
Event History
Frequently Asked Questions
Who can trigger this issue?
Any user or process that can open the affected serial TTY may be able to trigger it by issuing a TCSETS2 request. The issue does not require access beyond the ability to open that TTY.
What baud rate is needed to trigger the fault?
A baud rate above 6,250,000 can cause the derived UART clock calculation to reach zero when the reference clock is 100 MHz. BOTHER permits such rates, and the subsequent divisor calculation can divide by zero.
What is the practical impact of exploitation?
The described result is a kernel oops caused by a divide-by-zero path in the serial driver. This can disrupt the affected system.
What mitigation is available before updating?
Restrict untrusted users and processes from opening affected serial TTY devices, particularly where they could issue TCSETS2 and request baud rates above 6,250,000.
How does the resolved behavior prevent the issue?
The fix rejects requests above the 100 MHz reference-clock limit rather than deriving a zero UART clock. For unsupported rates, baud-rate handling falls back to the old rate.