Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2020-36787

HIGH 7.8EPSS 8%

media: aspeed: fix clock handling logic

Mitigation

  • Upgrade Linux to 3536169f8531c2c5b153921dc7d1ac9fd570cda7 or later.

Who should check

  • Anyone running Linux >= d2b4387f3bdf016e266d23cf657465f557721488, < 1dc1d30ac101bb8335d9852de2107af60c2580e7; >= d2b4387f3bdf016e266d23cf657465f557721488, < a59d01384c80a8a4392665802df57c3df20055f5; >= d2b4387f3bdf016e266d23cf657465f557721488, < 2964c37563e86cfdc439f217eb3c5a69adfdba6a; >= d2b4387f3bdf016e266d23cf657465f557721488, < 75321dc8aebe3f30eff226028fe6da340fe0bf02; >= d2b4387f3bdf016e266d23cf657465f557721488, < 3536169f8531c2c5b153921dc7d1ac9fd570cda7
  • Anyone running Linux 5.0

Vulnerability facts

Affected
Linux >= d2b4387f3bdf016e266d23cf657465f557721488, < 1dc1d30ac101bb8335d9852de2107af60c2580e7; >= d2b4387f3bdf016e266d23cf657465f557721488, < a59d01384c80a8a4392665802df57c3df20055f5; >= d2b4387f3bdf016e266d23cf657465f557721488, < 2964c37563e86cfdc439f217eb3c5a69adfdba6a; >= d2b4387f3bdf016e266d23cf657465f557721488, < 75321dc8aebe3f30eff226028fe6da340fe0bf02; >= d2b4387f3bdf016e266d23cf657465f557721488, < 3536169f8531c2c5b153921dc7d1ac9fd570cda7; Linux 5.0
Fixed in
Linux 1dc1d30ac101bb8335d9852de2107af60c2580e7, Linux 2964c37563e86cfdc439f217eb3c5a69adfdba6a, Linux 75321dc8aebe3f30eff226028fe6da340fe0bf02, Linux 3536169f8531c2c5b153921dc7d1ac9fd570cda7
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.23% chance of exploitation in 30 days (percentile 8, 2026-11-26)
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= d2b4387f3bdf016e266d23cf657465f557721488, < 1dc1d30ac101bb8335d9852de2107af60c2580e7; >= d2b4387f3bdf016e266d23cf657465f557721488, < a59d01384c80a8a4392665802df57c3df20055f5; >= d2b4387f3bdf016e266d23cf657465f557721488, < 2964c37563e86cfdc439f217eb3c5a69adfdba6a; >= d2b4387f3bdf016e266d23cf657465f557721488, < 75321dc8aebe3f30eff226028fe6da340fe0bf02; >= d2b4387f3bdf016e266d23cf657465f557721488, < 3536169f8531c2c5b153921dc7d1ac9fd570cda7—cvelist
Linux5.0—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2020-36787. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2020-36787.md
Affected: Linux >= d2b4387f3bdf016e266d23cf657465f557721488, < 1dc1d30ac101bb8335d9852de2107af60c2580e7; >= d2b4387f3bdf016e266d23cf657465f557721488, < a59d01384c80a8a4392665802df57c3df20055f5; >= d2b4387f3bdf016e266d23cf657465f557721488, < 2964c37563e86cfdc439f217eb3c5a69adfdba6a; >= d2b4387f3bdf016e266d23c…
Fixed in: Linux 1dc1d30ac101bb8335d9852de2107af60c2580e7, Linux 2964c37563e86cfdc439f217eb3c5a69adfdba6a, Linux 75321dc8aebe3f30eff226028fe6da340fe0bf02, Linux 3536169f8531c2c5b153921dc7d1ac9fd570cda7

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.

References

FAQ

Is CVE-2020-36787 being exploited?

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

How serious is CVE-2020-36787?

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

Which versions are affected by CVE-2020-36787?

Linux >= d2b4387f3bdf016e266d23cf657465f557721488, < 1dc1d30ac101bb8335d9852de2107af60c2580e7; >= d2b4387f3bdf016e266d23cf657465f557721488, < a59d01384c80a8a4392665802df57c3df20055f5; >= d2b4387f3bdf016e266d23cf657465f557721488, < 2964c37563e86cfdc439f217eb3c5a69adfdba6a; >= d2b4387f3bdf016e266d23cf657465f557721488, < 75321dc8aebe3f30eff226028fe6da340fe0bf02; >= d2b4387f3bdf016e266d23cf657465f557721488, < 3536169f8531c2c5b153921dc7d1ac9fd570cda7; Linux 5.0.

Is there a fix for CVE-2020-36787?

Yes. Fixed in Linux 1dc1d30ac101bb8335d9852de2107af60c2580e7, Linux 2964c37563e86cfdc439f217eb3c5a69adfdba6a, Linux 75321dc8aebe3f30eff226028fe6da340fe0bf02, Linux 3536169f8531c2c5b153921dc7d1ac9fd570cda7. Upgrade Linux to 3536169f8531c2c5b153921dc7d1ac9fd570cda7 or later.

How do I check if I'm affected by CVE-2020-36787?

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.

Sponsors