{"id":"CVE-2026-143453","aliases":["EUVD-2026-145082","GHSA-qfj2-g85x-8w22"],"status":"published","title":"serial: sifive: fix off-by-one in console port bounds check","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nserial: sifive: fix off-by-one in console port bounds check\n\nsifive_serial_console_ports[] is sized SIFIVE_SERIAL_MAX_PORTS (8), so\nvalid indices are 0..7. The bounds check in sifive_serial_probe() uses\n\"id \u003e SIFIVE_SERIAL_MAX_PORTS\", which lets id == 8 pass and causes an\nout-of-bounds write in __ssp_add_console_port() through\nsifive_serial_console_ports[ssp-\u003eport.line].\n\nFix the check to use \u003e= instead, matching the check already used in\nsifive_serial_console_setup().","buzz":{"score":1,"authors":2},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2026-12-05T01:41:32Z","modified":"2026-12-05T03:30:37Z","fixes":[{"ecosystem":"Linux","package":"Kernel","fixed_in":["5.10.275","5.15.226","6.1.193","6.6.163","6.12.119","6.18.65","7.3.6"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Linux","package":"Kernel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.2.0"},{"fixed":"5.10.275"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.226"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.193"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.119"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.65"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.6"}]}]}],"products":[{"vendor":"linux","product":"linux"}],"references":[{"url":"https://git.kernel.org/stable/c/0988d793cbf0005df77db8dfca1f212fa021d018","tags":["web"]},{"url":"https://git.kernel.org/stable/c/e01942c60e50f2c8344e8d7baedc6591444ab7fc","tags":["web"]},{"url":"https://git.kernel.org/stable/c/8190354ecb49c643e31265f0aef8cc0b9f869f77","tags":["web"]},{"url":"https://git.kernel.org/stable/c/d3156724b2f2ded36ab8af9a6dc9cd6ee1e3fa7b","tags":["web"]},{"url":"https://git.kernel.org/stable/c/5ab93776d4d7b9a4cfcbc63e3a249439deac45b6","tags":["web"]},{"url":"https://git.kernel.org/stable/c/4f23351fbbc90a1f0a299074f8b0dbf2d5ad94e4","tags":["web"]},{"url":"https://git.kernel.org/stable/c/5c455251ccab8abc7f66f9b54c0491a63fb8b94f","tags":["web"]},{"url":"https://git.kernel.org/stable/c/bf961847813d9edcb5a9c089714069428d141fa9","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143453","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-qfj2-g85x-8w22"},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143453.json","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2026-143453","title":"serial: sifive: fix off-by-one in console port bounds check","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nserial: sifive: fix off-by-one in console port bounds check\n\nsifive_serial_console_ports[] is sized SIFIVE_SERIAL_MAX_PORTS (8), so\nvalid indices are 0..7. The bounds check in sifive_serial_probe() uses\n\"id \u003e SIFIVE_SERIAL_MAX_PORTS\", which lets id == 8 pass and causes an\nout-of-bounds write in __ssp_add_console_port() through\nsifive_serial_console_ports[ssp-\u003eport.line].\n\nFix the check to use \u003e= instead, matching the check already used in\nsifive_serial_console_setup().","status":"published","published":"2026-12-05T01:41:32.995Z","modified":"2026-12-05T01:41:32.995Z","updated_at":"2026-12-05T01:48:47.517798Z"}],"euvd":[{"id":"EUVD-2026-145082","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nserial: sifive: fix off-by-one in console port bounds check\n\nsifive_serial_console_ports[] is sized SIFIVE_SERIAL_MAX_PORTS (8), so\nvalid indices are 0..7. The bounds check in sifive_serial_probe() uses\n\"id \u003e SIFIVE_SERIAL_MAX_PORTS\", which lets id == 8 pass and causes an\nout-of-bounds write in __ssp_add_console_port() through\nsifive_serial_console_ports[ssp-\u003eport.line].\n\nFix the check to use \u003e= instead, matching the check already used in\nsifive_serial_console_setup().","status":"published","published":"2026-12-05T01:41:32Z","modified":"2026-12-05T01:41:32Z","updated_at":"2026-12-05T03:44:21.912352Z"}],"ghsa":[{"id":"GHSA-qfj2-g85x-8w22","title":"In the Linux kernel, the following vulnerability has been resolved:\n\nserial: sifive: fix off-by...","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nserial: sifive: fix off-by-one in console port bounds check\n\nsifive_serial_console_ports[] is sized SIFIVE_SERIAL_MAX_PORTS (8), so\nvalid indices are 0..7. The bounds check in sifive_serial_probe() uses\n\"id \u003e SIFIVE_SERIAL_MAX_PORTS\", which lets id == 8 pass and causes an\nout-of-bounds write in __ssp_add_console_port() through\nsifive_serial_console_ports[ssp-\u003eport.line].\n\nFix the check to use \u003e= instead, matching the check already used in\nsifive_serial_console_setup().","status":"published","published":"2026-12-05T03:30:29Z","modified":"2026-12-05T03:30:37Z","updated_at":"2026-12-05T03:31:20.896926Z"}],"nvd":[{"id":"CVE-2026-143453","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nserial: sifive: fix off-by-one in console port bounds check\n\nsifive_serial_console_ports[] is sized SIFIVE_SERIAL_MAX_PORTS (8), so\nvalid indices are 0..7. The bounds check in sifive_serial_probe() uses\n\"id \u003e SIFIVE_SERIAL_MAX_PORTS\", which lets id == 8 pass and causes an\nout-of-bounds write in __ssp_add_console_port() through\nsifive_serial_console_ports[ssp-\u003eport.line].\n\nFix the check to use \u003e= instead, matching the check already used in\nsifive_serial_console_setup().","status":"published","published":"2026-12-05T03:19:57.67Z","modified":"2026-12-05T03:19:57.67Z","updated_at":"2026-12-05T03:21:31.003878Z"}],"osv":[{"id":"CVE-2026-143453","title":"serial: sifive: fix off-by-one in console port bounds check","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nserial: sifive: fix off-by-one in console port bounds check\n\nsifive_serial_console_ports[] is sized SIFIVE_SERIAL_MAX_PORTS (8), so\nvalid indices are 0..7. The bounds check in sifive_serial_probe() uses\n\"id \u003e SIFIVE_SERIAL_MAX_PORTS\", which lets id == 8 pass and causes an\nout-of-bounds write in __ssp_add_console_port() through\nsifive_serial_console_ports[ssp-\u003eport.line].\n\nFix the check to use \u003e= instead, matching the check already used in\nsifive_serial_console_setup().","status":"published","published":"2026-12-05T01:41:32.995Z","modified":"2026-12-05T03:01:09.155311097Z","updated_at":"2026-12-05T03:12:25.120111Z"}]}}
