# CVE-2026-89725: media: cec: stm32: prevent out-of-bounds write on RX overflow

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.41% (percentile 27, 2026-11-26)
- **Published:** 2026-09-11T19:46:36.679Z
- **Modified:** 2026-10-19T09:18:13.663Z

## Who should check

- Anyone running Linux \>= d69ae57453c80a2193bcdb3fd762efbec447eecf, \< f2499b720ea9b874d58770885c6c2e8445a8c3ef; \>= d69ae57453c80a2193bcdb3fd762efbec447eecf, \< 3df1a4026662121011187247897fe95fd84e8a3a; \>= d69ae57453c80a2193bcdb3fd762efbec447eecf, \< 37ac45f7d6e3a6a5dcf6452a0b7bad9a543e8344; \>= d69ae57453c80a2193bcdb3fd762efbec447eecf, \< 1b4fdefd788db990d1805feb5c7b2388de791ecd; \>= d69ae57453c80a2193bcdb3fd762efbec447eecf, \< c3edd7fb8e3692423a702705509947fc9c30b3d1; \>= d69ae57453c80a2193bcdb3fd762efbec447eecf, \< 0c260d3f97e52978a8c769bb095ac0901333a3ac; \>= d69ae57453c80a2193bcdb3fd762efbec447eecf, \< a85ce3b175615c2e13bc01e8a1b6b6b6910fde57; \>= d69ae57453c80a2193bcdb3fd762efbec447eecf, \< fb9dda38d4b9e90db07ed9a0ee2d35bf85494035
- Anyone running Linux 4.13

## Description

In the Linux kernel, the following vulnerability has been resolved:

media: cec: stm32: prevent out-of-bounds write on RX overflow

stm32\_rx\_done() appends each received CEC byte to rx\_msg.msg\[\] using
rx\_msg.len as the write index, incrementing it on every RXBR
(receive-byte-ready) interrupt without checking it against the buffer
size:

	cec-\>rx\_msg.msg\[cec-\>rx\_msg.len++\] = val & 0xFF;

rx\_msg.msg\[\] is a fixed CEC\_MAX\_MSG\_SIZE (16) byte array in struct
cec\_msg, and rx\_msg.len is only reset on RXACKE/RXOVR or after a
completed message (RXEND). The number of bytes received before RXEND is
decided by the remote CEC device (it sets EOM), not by the driver. A
peer that keeps sending bytes without ending the message drives RXBR
repeatedly, pushing rx\_msg.len past 16 and writing peer-controlled bytes
out of bounds into the surrounding memory. This is reachable in normal
operation once the driver has probed and receiving is enabled, from the
IRQ thread, without any local privilege.

The length check in the CEC core runs on the consumer side, after the
byte has been stored, so it does not prevent the overflow. Bound the
index in the driver before the store, as the other platform CEC drivers
already do (e.g. tegra\_cec), dropping the excess bytes of an overlong
frame.

Found by static analysis tool CodeQL.

## Affected and fixed versions

- Linux: \>= d69ae57453c80a2193bcdb3fd762efbec447eecf, \< f2499b720ea9b874d58770885c6c2e8445a8c3ef; \>= d69ae57453c80a2193bcdb3fd762efbec447eecf, \< 3df1a4026662121011187247897fe95fd84e8a3a; \>= d69ae57453c80a2193bcdb3fd762efbec447eecf, \< 37ac45f7d6e3a6a5dcf6452a0b7bad9a543e8344; \>= d69ae57453c80a2193bcdb3fd762efbec447eecf, \< 1b4fdefd788db990d1805feb5c7b2388de791ecd; \>= d69ae57453c80a2193bcdb3fd762efbec447eecf, \< c3edd7fb8e3692423a702705509947fc9c30b3d1; \>= d69ae57453c80a2193bcdb3fd762efbec447eecf, \< 0c260d3f97e52978a8c769bb095ac0901333a3ac; \>= d69ae57453c80a2193bcdb3fd762efbec447eecf, \< a85ce3b175615c2e13bc01e8a1b6b6b6910fde57; \>= d69ae57453c80a2193bcdb3fd762efbec447eecf, \< fb9dda38d4b9e90db07ed9a0ee2d35bf85494035 (cvelist)
- Linux: 4.13 (cvelist)

## 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-89725. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-89725.md
Affected: Linux >= d69ae57453c80a2193bcdb3fd762efbec447eecf, < f2499b720ea9b874d58770885c6c2e8445a8c3ef; >= d69ae57453c80a2193bcdb3fd762efbec447eecf, < 3df1a4026662121011187247897fe95fd84e8a3a; >= d69ae57453c80a2193bcdb3fd762efbec447eecf, < 37ac45f7d6e3a6a5dcf6452a0b7bad9a543e8344; >= d69ae57453c80a2193bcdb3…
Fixed in: Linux 3df1a4026662121011187247897fe95fd84e8a3a, Linux 37ac45f7d6e3a6a5dcf6452a0b7bad9a543e8344, Linux 1b4fdefd788db990d1805feb5c7b2388de791ecd, Linux 0c260d3f97e52978a8c769bb095ac0901333a3ac

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-89725 being exploited?

There is no confirmed exploitation: CVE-2026-89725 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.41% chance of exploitation in the next 30 days (as of 2026-11-26).

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

High: CVSS 8.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= d69ae57453c80a2193bcdb3fd762efbec447eecf, \< f2499b720ea9b874d58770885c6c2e8445a8c3ef; \>= d69ae57453c80a2193bcdb3fd762efbec447eecf, \< 3df1a4026662121011187247897fe95fd84e8a3a; \>= d69ae57453c80a2193bcdb3fd762efbec447eecf, \< 37ac45f7d6e3a6a5dcf6452a0b7bad9a543e8344; \>= d69ae57453c80a2193bcdb3fd762efbec447eecf, \< 1b4fdefd788db990d1805feb5c7b2388de791ecd; \>= d69ae57453c80a2193bcdb3fd762efbec447eecf, \< c3edd7fb8e3692423a702705509947fc9c30b3d1; \>= d69ae57453c80a2193bcdb3fd762efbec447eecf, \< 0c260d3f97e52978a8c769bb095ac0901333a3ac; \>= d69ae57453c80a2193bcdb3fd762efbec447eecf, \< a85ce3b175615c2e13bc01e8a1b6b6b6910fde57; \>= d69ae57453c80a2193bcdb3fd762efbec447eecf, \< fb9dda38d4b9e90db07ed9a0ee2d35bf85494035; Linux 4.13.

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

Yes. Fixed in Linux 3df1a4026662121011187247897fe95fd84e8a3a, Linux 37ac45f7d6e3a6a5dcf6452a0b7bad9a543e8344, Linux 1b4fdefd788db990d1805feb5c7b2388de791ecd, Linux 0c260d3f97e52978a8c769bb095ac0901333a3ac. No fix listed yet: follow the vendor advisory.

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

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/f2499b720ea9b874d58770885c6c2e8445a8c3ef>
- other: <https://git.kernel.org/stable/c/3df1a4026662121011187247897fe95fd84e8a3a>
- other: <https://git.kernel.org/stable/c/37ac45f7d6e3a6a5dcf6452a0b7bad9a543e8344>
- other: <https://git.kernel.org/stable/c/1b4fdefd788db990d1805feb5c7b2388de791ecd>
- other: <https://git.kernel.org/stable/c/c3edd7fb8e3692423a702705509947fc9c30b3d1>
- other: <https://git.kernel.org/stable/c/0c260d3f97e52978a8c769bb095ac0901333a3ac>
- other: <https://git.kernel.org/stable/c/a85ce3b175615c2e13bc01e8a1b6b6b6910fde57>
- other: <https://git.kernel.org/stable/c/fb9dda38d4b9e90db07ed9a0ee2d35bf85494035>

## 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-89725>

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