CVE-2026-143453 - serial: sifive: fix off-by-one in console port bounds check
CVE ID :CVE-2026-143453
Published : Dec. 5, 2026, 3:19 a.m. | 20 minutes ago
Description :In the Linux kernel, the following vulnerability has been resolved: serial: sifive: fix off-by-one in console port bounds check sifive_serial_console_ports[] is sized SIFIVE_SERIAL_MAX_PORTS (8), so valid indices are 0..7. The bounds check in sifive_serial_probe() uses "id > SIFIVE_SERIAL_MAX_PORTS", which lets id == 8 pass and causes an out-of-bounds write in __ssp_add_console_port() through sifive_serial_console_ports[ssp->port.line]. Fix the check to use >= instead, matching the check already used in sifive_serial_console_setup().
Severity: 0.0 | NA
Visit the link for more details, such as CVSS details, affected products, timeline, and more...
Published : Dec. 5, 2026, 3:19 a.m. | 20 minutes ago
Description :In the Linux kernel, the following vulnerability has been resolved: serial: sifive: fix off-by-one in console port bounds check sifive_serial_console_ports[] is sized SIFIVE_SERIAL_MAX_PORTS (8), so valid indices are 0..7. The bounds check in sifive_serial_probe() uses "id > SIFIVE_SERIAL_MAX_PORTS", which lets id == 8 pass and causes an out-of-bounds write in __ssp_add_console_port() through sifive_serial_console_ports[ssp->port.line]. Fix the check to use >= instead, matching the check already used in sifive_serial_console_setup().
Severity: 0.0 | NA
Visit the link for more details, such as CVSS details, affected products, timeline, and more...