VDB

CVE-2020-36787

CVE-2020-36787 PUBLISHED

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.

EPSS 0.02% · 5.2th percentile

Risk Scores

EPSS Score
0.02%
5.2th percentile

Affected Products

VendorProductVersions
Ubuntu:20.04:LTSlinux-azure5.4.0-1032.33, 5.4.0-1034.35, 5.4.0-1031.32
Ubuntu:20.04:LTSlinux-kvm5.4.0-1006.6, 0, 5.3.0-1003.3
Ubuntu:18.04:LTSlinux-hwe5.0.0-32.34~18.04.2, *, *
Ubuntu:22.04:LTSlinux-allwinner-5.195.19.0-1011.11~22.04.1, 5.19.0-1013.13~22.04.1, 5.19.0-1014.14~22.04.1
Ubuntu:22.04:LTSlinux-oem-5.175.17.0-1035.36, 5.17.0-1027.28, 5.17.0-1032.33
Ubuntu:22.04:LTSlinux-lowlatency-hwe-5.195.19.0-1025.26~22.04.1, 0, 5.19.0-1027.28~22.04.1
Ubuntu:20.04:LTSlinux-hwe-5.115.11.0-41.45~20.04.1, 0, 5.11.0-25.27~20.04.1
Ubuntu:Pro:FIPS:20.04:LTSlinux-aws-fips0, 5.4.0-1021.21+fips2
Ubuntu:18.04:LTSlinux-oracle-5.30, 5.3.0-1014.15~18.04.1, 5.3.0-1011.12~18.04.1
Ubuntu:24.04:LTSlinux-raspi-realtime6.8.0-2019.20, 0
Ubuntu:20.04:LTSlinux-oem-5.65.6.0-1036.39, 5.6.0-1039.43, 5.6.0-1042.46
Ubuntu:22.04:LTSlinux-gcp-5.195.19.0-1021.23~22.04.1, 5.19.0-1020.22~22.04.2, 0
Ubuntu:20.04:LTSlinux-oracle-5.135.13.0-1036.43~20.04.1, 5.13.0-1033.39~20.04.1, 5.13.0-1034.40~20.04.1
Ubuntu:18.04:LTSlinux-aws-5.05.0.0-1025.28, 5.0.0-1024.27~18.04.1, 5.0.0-1023.26~18.04.1
Ubuntu:22.04:LTSlinux-aws-6.2*, *, 0
Ubuntu:22.04:LTSlinux-realtime0, 5.15.0-1032.35
Ubuntu:Pro:FIPS:20.04:LTSlinux-fips5.4.0-1007.8, 0
Ubuntu:18.04:LTSlinux-gcp-5.45.4.0-1033.35~18.04.1, 5.4.0-1032.34~18.04.1, 5.4.0-1029.31~18.04.1
Ubuntu:18.04:LTSlinux-azure-edge0, 4.18.0-1007.7~18.04.1, 4.18.0-1008.8~18.04.1
Ubuntu:20.04:LTSlinux-gcp-5.135.13.0-1008.9~20.04.3, 5.13.0-1012.15~20.04.1, *

…and 70 more

Timeline

  • Feb 28, 2024 CVE Published
  • Feb 29, 2024 EPSS Score
  • Mar 27, 2024 EPSS Score
  • Apr 22, 2024 EPSS Score
  • May 19, 2024 EPSS Score
  • Jun 15, 2024 EPSS Score
  • Jul 12, 2024 EPSS Score
  • Aug 7, 2024 EPSS Score
  • Sep 3, 2024 EPSS Score
  • Sep 29, 2024 EPSS Score
  • Oct 26, 2024 EPSS Score
  • Nov 22, 2024 EPSS Score
Open in Interactive Console →
$ Console Community · 100/wk Open console ›