# CVE-2026-143453: serial: sifive: fix off-by-one in console port bounds check

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **Published:** 2026-12-05T01:41:32.995Z
- **Modified:** 2026-12-05T03:19:57.670Z

> **AI summary (AI-generated, claude-haiku-5-5):** An attacker can trigger an out-of-bounds write in the Linux kernel's SiFive serial console driver via an off-by-one bounds check on the port index during probe.

## Who should check

- Anyone running Linux \>= 45c054d0815b1530d7c7ff8441389a0421dd05e7, \< 0988d793cbf0005df77db8dfca1f212fa021d018; \>= 45c054d0815b1530d7c7ff8441389a0421dd05e7, \< e01942c60e50f2c8344e8d7baedc6591444ab7fc; \>= 45c054d0815b1530d7c7ff8441389a0421dd05e7, \< 8190354ecb49c643e31265f0aef8cc0b9f869f77; \>= 45c054d0815b1530d7c7ff8441389a0421dd05e7, \< d3156724b2f2ded36ab8af9a6dc9cd6ee1e3fa7b; \>= 45c054d0815b1530d7c7ff8441389a0421dd05e7, \< 5ab93776d4d7b9a4cfcbc63e3a249439deac45b6; \>= 45c054d0815b1530d7c7ff8441389a0421dd05e7, \< 4f23351fbbc90a1f0a299074f8b0dbf2d5ad94e4; \>= 45c054d0815b1530d7c7ff8441389a0421dd05e7, \< 5c455251ccab8abc7f66f9b54c0491a63fb8b94f; \>= 45c054d0815b1530d7c7ff8441389a0421dd05e7, \< bf961847813d9edcb5a9c089714069428d141fa9
- Anyone running Linux 5.2

## 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().

## Affected and fixed versions

- Linux: \>= 45c054d0815b1530d7c7ff8441389a0421dd05e7, \< 0988d793cbf0005df77db8dfca1f212fa021d018; \>= 45c054d0815b1530d7c7ff8441389a0421dd05e7, \< e01942c60e50f2c8344e8d7baedc6591444ab7fc; \>= 45c054d0815b1530d7c7ff8441389a0421dd05e7, \< 8190354ecb49c643e31265f0aef8cc0b9f869f77; \>= 45c054d0815b1530d7c7ff8441389a0421dd05e7, \< d3156724b2f2ded36ab8af9a6dc9cd6ee1e3fa7b; \>= 45c054d0815b1530d7c7ff8441389a0421dd05e7, \< 5ab93776d4d7b9a4cfcbc63e3a249439deac45b6; \>= 45c054d0815b1530d7c7ff8441389a0421dd05e7, \< 4f23351fbbc90a1f0a299074f8b0dbf2d5ad94e4; \>= 45c054d0815b1530d7c7ff8441389a0421dd05e7, \< 5c455251ccab8abc7f66f9b54c0491a63fb8b94f; \>= 45c054d0815b1530d7c7ff8441389a0421dd05e7, \< bf961847813d9edcb5a9c089714069428d141fa9 (cvelist)
- Linux: 5.2 (cvelist)

## Technologies

Linux kernel

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-143453. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-143453.md
Affected: Linux >= 45c054d0815b1530d7c7ff8441389a0421dd05e7, < 0988d793cbf0005df77db8dfca1f212fa021d018; >= 45c054d0815b1530d7c7ff8441389a0421dd05e7, < e01942c60e50f2c8344e8d7baedc6591444ab7fc; >= 45c054d0815b1530d7c7ff8441389a0421dd05e7, < 8190354ecb49c643e31265f0aef8cc0b9f869f77; >= 45c054d0815b1530d7c7ff8…
Fixed in: Linux 0988d793cbf0005df77db8dfca1f212fa021d018, Linux 8190354ecb49c643e31265f0aef8cc0b9f869f77, Linux 5ab93776d4d7b9a4cfcbc63e3a249439deac45b6, Linux 4f23351fbbc90a1f0a299074f8b0dbf2d5ad94e4, Linux 5c455251ccab8abc7f66f9b54c0491a63fb8b94f

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-143453 being exploited?

There is no confirmed exploitation: CVE-2026-143453 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

### How serious is CVE-2026-143453?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-143453?

Linux \>= 45c054d0815b1530d7c7ff8441389a0421dd05e7, \< 0988d793cbf0005df77db8dfca1f212fa021d018; \>= 45c054d0815b1530d7c7ff8441389a0421dd05e7, \< e01942c60e50f2c8344e8d7baedc6591444ab7fc; \>= 45c054d0815b1530d7c7ff8441389a0421dd05e7, \< 8190354ecb49c643e31265f0aef8cc0b9f869f77; \>= 45c054d0815b1530d7c7ff8441389a0421dd05e7, \< d3156724b2f2ded36ab8af9a6dc9cd6ee1e3fa7b; \>= 45c054d0815b1530d7c7ff8441389a0421dd05e7, \< 5ab93776d4d7b9a4cfcbc63e3a249439deac45b6; \>= 45c054d0815b1530d7c7ff8441389a0421dd05e7, \< 4f23351fbbc90a1f0a299074f8b0dbf2d5ad94e4; \>= 45c054d0815b1530d7c7ff8441389a0421dd05e7, \< 5c455251ccab8abc7f66f9b54c0491a63fb8b94f; \>= 45c054d0815b1530d7c7ff8441389a0421dd05e7, \< bf961847813d9edcb5a9c089714069428d141fa9; Linux 5.2.

### Is there a fix for CVE-2026-143453?

Yes. Fixed in Linux 0988d793cbf0005df77db8dfca1f212fa021d018, Linux 8190354ecb49c643e31265f0aef8cc0b9f869f77, Linux 5ab93776d4d7b9a4cfcbc63e3a249439deac45b6, Linux 4f23351fbbc90a1f0a299074f8b0dbf2d5ad94e4, Linux 5c455251ccab8abc7f66f9b54c0491a63fb8b94f. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-143453?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/0988d793cbf0005df77db8dfca1f212fa021d018>
- other: <https://git.kernel.org/stable/c/e01942c60e50f2c8344e8d7baedc6591444ab7fc>
- other: <https://git.kernel.org/stable/c/8190354ecb49c643e31265f0aef8cc0b9f869f77>
- other: <https://git.kernel.org/stable/c/d3156724b2f2ded36ab8af9a6dc9cd6ee1e3fa7b>
- other: <https://git.kernel.org/stable/c/5ab93776d4d7b9a4cfcbc63e3a249439deac45b6>
- other: <https://git.kernel.org/stable/c/4f23351fbbc90a1f0a299074f8b0dbf2d5ad94e4>
- other: <https://git.kernel.org/stable/c/5c455251ccab8abc7f66f9b54c0491a63fb8b94f>
- other: <https://git.kernel.org/stable/c/bf961847813d9edcb5a9c089714069428d141fa9>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-143453>

HTML: <https://flawdb.com/CVE-2026-143453> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-143453>
