CVE-2026-143453
serial: sifive: fix off- by- one in console port bounds check
- Scores
- UnknownNo source reports a CVSS or EPSS score yet.
- Exploitation
- UnknownNo source reports exploitation yet.
- Listed fix
5.10.275for KernelFrom OSV6 more listed versions
Overview
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().
Discussion
Affected
Packages 1
| Package | Affected | Fixed |
|---|---|---|
KernelLinux | 5.2.0 up to 5.10.275, 5.11.0 up to 5.15.226, 5.16.0 up to 6.1.193, 6.2.0 up to 6.6.163, 6.7.0 up to 6.12.119, 6.13.0 up to 6.18.65, 6.19.0 up to 7.3.6 | 5.10.2755.15.2266.1.1936.6.1636.12.1196.18.657.3.6 |
Products 1
Sources
CVE ListNo score
serial: sifive: fix off-by-one in console port bounds check
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().
- Record
CVE-2026-143453- Updated
- 2026-12-05
EUVDEUVD-2026-145082No score
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().
- Record
EUVD-2026-145082- Updated
- 2026-12-05
GitHub AdvisoriesGHSA-qfj2-g85x-8w22No score
In the Linux kernel, the following vulnerability has been resolved: serial: sifive: fix off-by...
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().
- Record
GHSA-qfj2-g85x-8w22- Updated
- 2026-12-05
NVDNo score
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().
- Record
CVE-2026-143453- Updated
- 2026-12-05
OSVNo score
serial: sifive: fix off-by-one in console port bounds check
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().
- Record
CVE-2026-143453- Updated
- 2026-12-05
History
Recorded by Every CVE
| Day | Changed | Sources |
|---|---|---|
| Other IDs, published date | EUVD | |
| Other IDs, references | GitHub Advisories, NVD | |
| Affected packages, key facts, references | OSV | |
| First indexed | CVE List |
Upstream dates may differ.
References
git.kernel.org/stable/c/0988d793cbf0005df77db8dfca1f212fa021d018
git.kernel.org/stable/c/e01942c60e50f2c8344e8d7baedc6591444ab7fc
git.kernel.org/stable/c/8190354ecb49c643e31265f0aef8cc0b9f869f77
git.kernel.org/stable/c/d3156724b2f2ded36ab8af9a6dc9cd6ee1e3fa7b
git.kernel.org/stable/c/5ab93776d4d7b9a4cfcbc63e3a249439deac45b6
git.kernel.org/stable/c/4f23351fbbc90a1f0a299074f8b0dbf2d5ad94e4
git.kernel.org/stable/c/5c455251ccab8abc7f66f9b54c0491a63fb8b94f
git.kernel.org/stable/c/bf961847813d9edcb5a9c089714069428d141fa9