{"id":"CVE-2026-143000","summary":"serial: 8250_lpss: don't divide by 0 above 6.25 Mbaud","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nserial: 8250_lpss: don't divide by 0 above 6.25 Mbaud\n\nbyt_set_termios() derives the clock of the UART from the baud rate in\nthe termios, which nobody has looked at yet:\n\n\tfuart = baud * 16;\n\t...\n\tfuart *= rounddown_pow_of_two(fref / fuart);\n\t...\n\tp-\u003euartclk = fuart;\n\nfref is 100 MHz. For a baud rate above 6250000, which BOTHER allows,\nfref / fuart is 0, and rounddown_pow_of_two(0) shifts 1UL by -1. On x86\nthat is 1UL \u003c\u003c 63, the product with a multiple of 16 is 0, and so is\nuartclk. serial8250_get_baud_rate() then passes 0 for both limits,\nuart_get_baud_rate() finds no rate which fits, WARNs and returns 0, and\nuart_get_divisor() or dw8250_get_divisor() divide by 16 * 0.\n\nEverybody who may open the tty can oops the kernel with one TCSETS2.\n\nDon't ask for more than fref. The limits are those of a 100 MHz clock\nthen, and uart_get_baud_rate() falls back to the old rate as for any\nother rate that the port cannot do. 8250_mid, which has the same\nformula, treats this case separately.","modified":"2026-12-03T11:00:50.283393189Z","published":"2026-12-03T09:17:32.952Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143000.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/08daebfd63e9054e097eb2653eff9381de43a422"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3d6680bf46834eae8d943961192034bd562a18dc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7bcd1981107f084f6341ec38c5132329b8f12459"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7d7102b81406cf84a180699a07287eb093dce703"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7fce0b3f8a7d7afc8c16fcaaf2d66f652fc3b654"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f183a0fb89ef5b84dfb14cb415d34b9d0960e710"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143000.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143000"}],"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"},{"fixed":"08daebfd63e9054e097eb2653eff9381de43a422"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143000.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"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"}}],"schema_version":"1.9.2"}