CVE-2020-36787
published high CVSS 3.1 · 7.8media: aspeed: fix clock handling logic
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxd2b4387f3bdf016e266d23cf657465f557721488 to < 1dc1d30ac101bb8335d9852de2107af60c2580e7 · d2b4387f3bdf016e266d23cf657465f557721488 to < a59d01384c80a8a4392665802df57c3df20055f5 · d2b4387f3bdf016e266d23cf657465f557721488 to < 2964c37563e86cfdc439f217eb3c5a69adfdba6a · d2b4387f3bdf016e266d23cf657465f557721488 to < 75321dc8aebe3f30eff226028fe6da340fe0bf02 · d2b4387f3bdf016e266d23cf657465f557721488 to < 3536169f8531c2c5b153921dc7d1ac9fd570cda7 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.0 (affected) · 0 to < 5.0 (unaffected · semver) · 5.4.119 through 5.4.* (unaffected · semver) · 5.10.37 through 5.10.* (unaffected · semver) · 5.11.21 through 5.11.* (unaffected · semver) · 5.12.4 through 5.12.* (unaffected · semver) · 5.13 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: media: aspeed: fix clock handling logic Video engine uses eclk and vclk for its clock sources and its reset control is coupled with eclk so the current clock enabling sequence works like below. Enable eclk De-assert Video Engine reset 10ms delay Enable vclk It introduces improper reset on the Video Engine hardware and eventually the hardware generates unexpected DMA memory transfers that can corrupt memory region in random and sporadic patterns. This issue is observed very rarely on some specific AST2500 SoCs but it causes a critical kernel panic with making a various shape of signature so it's extremely hard to debug. Moreover, the issue is observed even when the video engine is not actively used because udevd turns on the video engine hardware for a short time to make a query in every boot. To fix this issue, this commit changes the clock handling logic to make the reset de-assertion triggered after enabling both eclk and vclk. Also, it adds clk_unprepare call for a case when probe fails. clk: ast2600: fix reset settings for eclk and vclk Video engine reset setting should be coupled with eclk to match it with the setting for previous Aspeed SoCs which is defined in clk-aspeed.c since all Aspeed SoCs are sharing a single video engine driver. Also, reset bit 6 is defined as 'Video Engine' reset in datasheet so it should be de-asserted when eclk is enabled. This commit fixes the setting.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The bug is reached by opening the Aspeed V4L2 video device (/dev/videoX), which calls aspeed_video_open → aspeed_video_start → aspeed_video_on and enables the video-engine clocks; this is a local device-file/syscall path, not a network-facing kernel protocol. AC:L - An attacker who can open the device reliably executes the faulty eclk-before-vclk enable sequence (and can repeat open/close to retry); no attacker-uncontrollable race or victim state is required to hit the vulnerable path. PR:L - Access is gated only by ordinary /dev/video* permissions (typically root:video 0660); the driver performs no capability checks, so a low-privileged local user with video-group access can trigger it without real root. UI:N - The attacker triggers the vulnerability directly by opening the video device; no separate victim action is required (udev QUERYCAP at boot also hits the same path without user interaction). S:U - Unexpected DMA corrupts memory in the same kernel/BMC security authority that hosts the driver; there is no demonstrated cross-boundary impact such as guest-to-host escape or IOMMU bypass. C:H - The faulty reset/clock sequence causes unexpected DMA transfers that can touch arbitrary memory regions; such hardware memory corruption can be leveraged for information disclosure, so confidentiality impact is High. I:H - The commit documents DMA writes that corrupt memory in random patterns; uncontrolled kernel memory corruption is treated as High integrity impact because it can enable control-flow hijacking or arbitrary modification. A:H - The same rogue DMA leads to critical kernel panics/oopses with varying crash signatures, which is High availability impact.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | d2b4387f3bdf016e266d23cf657465f557721488 to < 1dc1d30ac101bb8335d9852de2107af60c2580e7 (affected · git)d2b4387f3bdf016e266d23cf657465f557721488 to < a59d01384c80a8a4392665802df57c3df20055f5 (affected · git)d2b4387f3bdf016e266d23cf657465f557721488 to < 2964c37563e86cfdc439f217eb3c5a69adfdba6a (affected · git)d2b4387f3bdf016e266d23cf657465f557721488 to < 75321dc8aebe3f30eff226028fe6da340fe0bf02 (affected · git)d2b4387f3bdf016e266d23cf657465f557721488 to < 3536169f8531c2c5b153921dc7d1ac9fd570cda7 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.0 (affected)0 to < 5.0 (unaffected · semver)5.4.119 through 5.4.* (unaffected · semver)5.10.37 through 5.10.* (unaffected · semver)5.11.21 through 5.11.* (unaffected · semver)5.12.4 through 5.12.* (unaffected · semver)5.13 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
5- https://git.kernel.org/stable/c/1dc1d30ac101bb8335d9852de2107af60c2580e7
- https://git.kernel.org/stable/c/2964c37563e86cfdc439f217eb3c5a69adfdba6a
- https://git.kernel.org/stable/c/3536169f8531c2c5b153921dc7d1ac9fd570cda7
- https://git.kernel.org/stable/c/75321dc8aebe3f30eff226028fe6da340fe0bf02
- https://git.kernel.org/stable/c/a59d01384c80a8a4392665802df57c3df20055f5
Provider assertions
3Linux · cna
media: aspeed: fix clock handling logic
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 0b9a29cffdd7fcb5678aca5e38ae67da5052aa20665cff8ff0f092b5856f8ec9
- Ingested
- 23 Sep 2026, 07:50:32 UTC
- Source record
- Official CVE record