Skip to main content

In the Linux kernel, the following vulnerability has been resolved: media: cec: stm32: prevent out-of-bounds write on RX overflow stm32_rx_done()… (CVE-2026-89725)

0
High
Published: 09/11/2026 (09/11/2026, 21:31:38 UTC)
Source: GCVE Database

Description

A vulnerability in the Linux kernel's media subsystem for the stm32 CEC driver allows an out-of-bounds write due to improper bounds checking on received bytes. The driver increments a length index without verifying it against the fixed buffer size, enabling a remote CEC device to overflow the buffer by sending excessive bytes. This flaw can be triggered from the IRQ thread without local privileges once the driver is enabled. The issue was found by static analysis and has been resolved by adding proper bounds checking before storing bytes.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/12/2026, 00:50:41 UTC

Technical Analysis

The Linux kernel's stm32 CEC driver function stm32_rx_done() appends received CEC bytes to a fixed-size buffer using an index that is incremented on each receive-byte-ready interrupt without checking if it exceeds the buffer size (16 bytes). Because the remote CEC device controls the message length, it can send more bytes than the buffer can hold, causing an out-of-bounds write into adjacent memory. The existing length check occurs after the write, so it does not prevent overflow. The fix bounds the index before storing bytes, dropping excess bytes, aligning with other platform CEC drivers.

Potential Impact

This vulnerability allows a remote device on the CEC bus to cause an out-of-bounds write in kernel memory, potentially leading to memory corruption. The flaw is exploitable without local privileges and can be triggered during normal operation once the driver is active. No specific exploit or active in-the-wild usage is reported. The impact could include system instability or potential escalation depending on the memory corruption consequences.

Mitigation Recommendations

A fix is available that adds bounds checking before writing received bytes to the buffer, preventing out-of-bounds writes. Users should apply the official Linux kernel update that includes this patch. Until patched, disabling or restricting CEC functionality on stm32 devices may reduce exposure.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-946x-47hf-5c7p
Osv Schema Version
1.4.0
Aliases
["CVE-2026-89725"]

Threat ID: 6aa49ffb55bf5e2cf5a865d7

Added to database: 09/12/2026, 00:42:35 UTC

Last enriched: 09/12/2026, 00:50:41 UTC

Last updated: 09/12/2026, 00:50:41 UTC

Views: 1

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses