CVE-2026-143000

Source
https://cve.org/CVERecord?id=CVE-2026-143000
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143000.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-143000
Downstream
Published
2026-12-03T09:17:32Z
Modified
2026-12-03T11:00:50Z
Summary
serial: 8250_lpss: don't divide by 0 above 6.25 Mbaud
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143000.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
21947ba654a685ab48f2d4089c5c2d27443c2d0d
Fixed
7fce0b3f8a7d7afc8c16fcaaf2d66f652fc3b654
Fixed
f183a0fb89ef5b84dfb14cb415d34b9d0960e710
Fixed
7bcd1981107f084f6341ec38c5132329b8f12459
Fixed
3d6680bf46834eae8d943961192034bd562a18dc
Fixed
7d7102b81406cf84a180699a07287eb093dce703
Show 1 more event Show fewer events
Fixed
08daebfd63e9054e097eb2653eff9381de43a422

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143000.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.1.0
Fixed
5.10.276
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.227
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.12.120
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.66
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143000.json"