CVE-2020-36787
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
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ubuntu:20.04:LTS | linux-azure | 5.4.0-1032.33, 5.4.0-1034.35, 5.4.0-1031.32 |
| Ubuntu:20.04:LTS | linux-kvm | 5.4.0-1006.6, 0, 5.3.0-1003.3 |
| Ubuntu:18.04:LTS | linux-hwe | 5.0.0-32.34~18.04.2, *, * |
| Ubuntu:22.04:LTS | linux-allwinner-5.19 | 5.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:LTS | linux-oem-5.17 | 5.17.0-1035.36, 5.17.0-1027.28, 5.17.0-1032.33 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-5.19 | 5.19.0-1025.26~22.04.1, 0, 5.19.0-1027.28~22.04.1 |
| Ubuntu:20.04:LTS | linux-hwe-5.11 | 5.11.0-41.45~20.04.1, 0, 5.11.0-25.27~20.04.1 |
| Ubuntu:Pro:FIPS:20.04:LTS | linux-aws-fips | 0, 5.4.0-1021.21+fips2 |
| Ubuntu:18.04:LTS | linux-oracle-5.3 | 0, 5.3.0-1014.15~18.04.1, 5.3.0-1011.12~18.04.1 |
| Ubuntu:24.04:LTS | linux-raspi-realtime | 6.8.0-2019.20, 0 |
| Ubuntu:20.04:LTS | linux-oem-5.6 | 5.6.0-1036.39, 5.6.0-1039.43, 5.6.0-1042.46 |
| Ubuntu:22.04:LTS | linux-gcp-5.19 | 5.19.0-1021.23~22.04.1, 5.19.0-1020.22~22.04.2, 0 |
| Ubuntu:20.04:LTS | linux-oracle-5.13 | 5.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:LTS | linux-aws-5.0 | 5.0.0-1025.28, 5.0.0-1024.27~18.04.1, 5.0.0-1023.26~18.04.1 |
| Ubuntu:22.04:LTS | linux-aws-6.2 | *, *, 0 |
| Ubuntu:22.04:LTS | linux-realtime | 0, 5.15.0-1032.35 |
| Ubuntu:Pro:FIPS:20.04:LTS | linux-fips | 5.4.0-1007.8, 0 |
| Ubuntu:18.04:LTS | linux-gcp-5.4 | 5.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:LTS | linux-azure-edge | 0, 4.18.0-1007.7~18.04.1, 4.18.0-1008.8~18.04.1 |
| Ubuntu:20.04:LTS | linux-gcp-5.13 | 5.13.0-1008.9~20.04.3, 5.13.0-1012.15~20.04.1, * |
…and 70 more
Exploit Intelligence
- https://git.kernel.org/stable/c/1dc1d30ac101bb8335d9852de2107af60c2580e7 (circl)
- https://git.kernel.org/stable/c/a59d01384c80a8a4392665802df57c3df20055f5 (circl)
- https://git.kernel.org/stable/c/2964c37563e86cfdc439f217eb3c5a69adfdba6a (circl)
- https://git.kernel.org/stable/c/75321dc8aebe3f30eff226028fe6da340fe0bf02 (circl)
- https://git.kernel.org/stable/c/3536169f8531c2c5b153921dc7d1ac9fd570cda7 (circl)
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
References
- https://ubuntu.com/security/CVE-2020-36787 third-party-advisory
- https://git.kernel.org/linus/3536169f8531c2c5b153921dc7d1ac9fd570cda7 third-party-advisory
- https://git.kernel.org/stable/c/1dc1d30ac101bb8335d9852de2107af60c2580e7 third-party-advisory
- https://git.kernel.org/stable/c/a59d01384c80a8a4392665802df57c3df20055f5 third-party-advisory
- https://git.kernel.org/stable/c/2964c37563e86cfdc439f217eb3c5a69adfdba6a third-party-advisory
- https://git.kernel.org/stable/c/75321dc8aebe3f30eff226028fe6da340fe0bf02 third-party-advisory
- https://git.kernel.org/stable/c/3536169f8531c2c5b153921dc7d1ac9fd570cda7 third-party-advisory
- https://www.cve.org/CVERecord?id=CVE-2020-36787 third-party-advisory