CVE-2026-89725 (GCVE-0-2026-89725)
Vulnerability from cvelistv5 – Published: 2026-09-11 19:46 – Updated: 2026-09-11 19:46
VLAI
EPSS
VEX
Title
media: cec: stm32: prevent out-of-bounds write on RX overflow
Summary
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.
Severity
No CVSS data available.
Assigner
References
Impacted products
2 products
| Vendor | Product | Version | CPE status | |
|---|---|---|---|---|
| Linux | Linux |
Affected:
d69ae57453c80a2193bcdb3fd762efbec447eecf , < c3edd7fb8e3692423a702705509947fc9c30b3d1
(git)
Affected: d69ae57453c80a2193bcdb3fd762efbec447eecf , < 0c260d3f97e52978a8c769bb095ac0901333a3ac (git) Affected: d69ae57453c80a2193bcdb3fd762efbec447eecf , < a85ce3b175615c2e13bc01e8a1b6b6b6910fde57 (git) Affected: d69ae57453c80a2193bcdb3fd762efbec447eecf , < fb9dda38d4b9e90db07ed9a0ee2d35bf85494035 (git) |
guessed | |
| Linux | Linux |
Affected:
4.13
Unaffected: 0 , < 4.13 (semver) Unaffected: 6.12.109 , ≤ 6.12.* (semver) Unaffected: 6.18.50 , ≤ 6.18.* (semver) Unaffected: 7.2.4 , ≤ 7.2.* (semver) Unaffected: 7.3-rc1 , ≤ * (original_commit_for_fix) |
guessed |
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"drivers/media/cec/platform/stm32/stm32-cec.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "c3edd7fb8e3692423a702705509947fc9c30b3d1",
"status": "affected",
"version": "d69ae57453c80a2193bcdb3fd762efbec447eecf",
"versionType": "git"
},
{
"lessThan": "0c260d3f97e52978a8c769bb095ac0901333a3ac",
"status": "affected",
"version": "d69ae57453c80a2193bcdb3fd762efbec447eecf",
"versionType": "git"
},
{
"lessThan": "a85ce3b175615c2e13bc01e8a1b6b6b6910fde57",
"status": "affected",
"version": "d69ae57453c80a2193bcdb3fd762efbec447eecf",
"versionType": "git"
},
{
"lessThan": "fb9dda38d4b9e90db07ed9a0ee2d35bf85494035",
"status": "affected",
"version": "d69ae57453c80a2193bcdb3fd762efbec447eecf",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"drivers/media/cec/platform/stm32/stm32-cec.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "4.13"
},
{
"lessThan": "4.13",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"version": "6.12.109",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.50",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.2.*",
"status": "unaffected",
"version": "7.2.4",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.3-rc1",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.12.109",
"versionStartIncluding": "4.13",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.18.50",
"versionStartIncluding": "4.13",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.2.4",
"versionStartIncluding": "4.13",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.3-rc1",
"versionStartIncluding": "4.13",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: cec: stm32: prevent out-of-bounds write on RX overflow\n\nstm32_rx_done() appends each received CEC byte to rx_msg.msg[] using\nrx_msg.len as the write index, incrementing it on every RXBR\n(receive-byte-ready) interrupt without checking it against the buffer\nsize:\n\n\tcec-\u003erx_msg.msg[cec-\u003erx_msg.len++] = val \u0026 0xFF;\n\nrx_msg.msg[] is a fixed CEC_MAX_MSG_SIZE (16) byte array in struct\ncec_msg, and rx_msg.len is only reset on RXACKE/RXOVR or after a\ncompleted message (RXEND). The number of bytes received before RXEND is\ndecided by the remote CEC device (it sets EOM), not by the driver. A\npeer that keeps sending bytes without ending the message drives RXBR\nrepeatedly, pushing rx_msg.len past 16 and writing peer-controlled bytes\nout of bounds into the surrounding memory. This is reachable in normal\noperation once the driver has probed and receiving is enabled, from the\nIRQ thread, without any local privilege.\n\nThe length check in the CEC core runs on the consumer side, after the\nbyte has been stored, so it does not prevent the overflow. Bound the\nindex in the driver before the store, as the other platform CEC drivers\nalready do (e.g. tegra_cec), dropping the excess bytes of an overlong\nframe.\n\nFound by static analysis tool CodeQL."
}
],
"providerMetadata": {
"dateUpdated": "2026-09-11T19:46:36.679Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/c3edd7fb8e3692423a702705509947fc9c30b3d1"
},
{
"url": "https://git.kernel.org/stable/c/0c260d3f97e52978a8c769bb095ac0901333a3ac"
},
{
"url": "https://git.kernel.org/stable/c/a85ce3b175615c2e13bc01e8a1b6b6b6910fde57"
},
{
"url": "https://git.kernel.org/stable/c/fb9dda38d4b9e90db07ed9a0ee2d35bf85494035"
}
],
"title": "media: cec: stm32: prevent out-of-bounds write on RX overflow",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2026-89725",
"datePublished": "2026-09-11T19:46:36.679Z",
"dateReserved": "2026-09-11T19:38:34.759Z",
"dateUpdated": "2026-09-11T19:46:36.679Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2026-89725",
"date": "2026-09-12",
"epss": "0.00168",
"percentile": "0.06352"
},
"nvd": "{\"cve\":{\"id\":\"CVE-2026-89725\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-09-11T20:20:02.567\",\"lastModified\":\"2026-09-11T20:20:02.567\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nmedia: cec: stm32: prevent out-of-bounds write on RX overflow\\n\\nstm32_rx_done() appends each received CEC byte to rx_msg.msg[] using\\nrx_msg.len as the write index, incrementing it on every RXBR\\n(receive-byte-ready) interrupt without checking it against the buffer\\nsize:\\n\\n\\tcec-\u003erx_msg.msg[cec-\u003erx_msg.len++] = val \u0026 0xFF;\\n\\nrx_msg.msg[] is a fixed CEC_MAX_MSG_SIZE (16) byte array in struct\\ncec_msg, and rx_msg.len is only reset on RXACKE/RXOVR or after a\\ncompleted message (RXEND). The number of bytes received before RXEND is\\ndecided by the remote CEC device (it sets EOM), not by the driver. A\\npeer that keeps sending bytes without ending the message drives RXBR\\nrepeatedly, pushing rx_msg.len past 16 and writing peer-controlled bytes\\nout of bounds into the surrounding memory. This is reachable in normal\\noperation once the driver has probed and receiving is enabled, from the\\nIRQ thread, without any local privilege.\\n\\nThe length check in the CEC core runs on the consumer side, after the\\nbyte has been stored, so it does not prevent the overflow. Bound the\\nindex in the driver before the store, as the other platform CEC drivers\\nalready do (e.g. tegra_cec), dropping the excess bytes of an overlong\\nframe.\\n\\nFound by static analysis tool CodeQL.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"drivers/media/cec/platform/stm32/stm32-cec.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"d69ae57453c80a2193bcdb3fd762efbec447eecf\",\"lessThan\":\"c3edd7fb8e3692423a702705509947fc9c30b3d1\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"d69ae57453c80a2193bcdb3fd762efbec447eecf\",\"lessThan\":\"0c260d3f97e52978a8c769bb095ac0901333a3ac\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"d69ae57453c80a2193bcdb3fd762efbec447eecf\",\"lessThan\":\"a85ce3b175615c2e13bc01e8a1b6b6b6910fde57\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"d69ae57453c80a2193bcdb3fd762efbec447eecf\",\"lessThan\":\"fb9dda38d4b9e90db07ed9a0ee2d35bf85494035\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"drivers/media/cec/platform/stm32/stm32-cec.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"4.13\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"4.13\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.109\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.50\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.2.4\",\"lessThanOrEqual\":\"7.2.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.3-rc1\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/0c260d3f97e52978a8c769bb095ac0901333a3ac\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/a85ce3b175615c2e13bc01e8a1b6b6b6910fde57\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/c3edd7fb8e3692423a702705509947fc9c30b3d1\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/fb9dda38d4b9e90db07ed9a0ee2d35bf85494035\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
"redhat_vex": {
"current_release_date": "2026-09-11T21:26:40+00:00",
"cve": "CVE-2026-89725",
"id": "CVE-2026-89725",
"initial_release_date": "2026-09-11T19:46:36.679000+00:00",
"product_status:known_not_affected": "1",
"source": "Red Hat CSAF VEX",
"status": "final",
"title": "kernel: Linux kernel: Arbitrary code execution in media: cec: stm32 via RX overflow",
"url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-89725.json",
"version": "3"
}
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Loading…
Loading…