# CVE-2020-36776: thermal/drivers/cpufreq\_cooling: Fix slab OOB issue

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.23% (percentile 8, 2026-11-26)
- **CWE:** CWE-129
- **Published:** 2024-02-27T18:40:25.615Z
- **Modified:** 2026-06-17T03:16:12.527Z

## Who should check

- Anyone running Linux \>= 371a3bc79c11b707d7a1b7a2c938dc3cc042fffb, \< c24a20912eef00587416628149c438e885eb1304; \>= 371a3bc79c11b707d7a1b7a2c938dc3cc042fffb, \< 876a5f33e5d961d879c5436987c09b3d9ef70379; \>= 371a3bc79c11b707d7a1b7a2c938dc3cc042fffb, \< 6bf443acf6ca4f666d0e4225614ba9993a3aa1a9; \>= 371a3bc79c11b707d7a1b7a2c938dc3cc042fffb, \< 34ab17cc6c2c1ac93d7e5d53bb972df9a968f085; 39e0651cac9c80865b2838f297f95ffc0f34a1d8; febe56f21371ba1e51e8586c3ddf8f54fc62fe61; d3b7bacd1115400b94482dfc7efffc175c29b831; 9006b543384ab10902819364c1205f11a1458571; \>= 4.14.189, \< 4.15; \>= 4.19.134, \< 4.20; …
- Anyone running Linux 5.8

## Description

In the Linux kernel, the following vulnerability has been resolved:

thermal/drivers/cpufreq\_cooling: Fix slab OOB issue

Slab OOB issue is scanned by KASAN in cpu\_power\_to\_freq().
If power is limited below the power of OPP0 in EM table,
it will cause slab out-of-bound issue with negative array
index.

Return the lowest frequency if limited power cannot found
a suitable OPP in EM table to fix this issue.

Backtrace:
\[\<ffffffd02d2a37f0\>\] die+0x104/0x5ac
\[\<ffffffd02d2a5630\>\] bug\_handler+0x64/0xd0
\[\<ffffffd02d288ce4\>\] brk\_handler+0x160/0x258
\[\<ffffffd02d281e5c\>\] do\_debug\_exception+0x248/0x3f0
\[\<ffffffd02d284488\>\] el1\_dbg+0x14/0xbc
\[\<ffffffd02d75d1d4\>\] \_\_kasan\_report+0x1dc/0x1e0
\[\<ffffffd02d75c2e0\>\] kasan\_report+0x10/0x20
\[\<ffffffd02d75def8\>\] \_\_asan\_report\_load8\_noabort+0x18/0x28
\[\<ffffffd02e6fce5c\>\] cpufreq\_power2state+0x180/0x43c
\[\<ffffffd02e6ead80\>\] power\_actor\_set\_power+0x114/0x1d4
\[\<ffffffd02e6fac24\>\] allocate\_power+0xaec/0xde0
\[\<ffffffd02e6f9f80\>\] power\_allocator\_throttle+0x3ec/0x5a4
\[\<ffffffd02e6ea888\>\] handle\_thermal\_trip+0x160/0x294
\[\<ffffffd02e6edd08\>\] thermal\_zone\_device\_check+0xe4/0x154
\[\<ffffffd02d351cb4\>\] process\_one\_work+0x5e4/0xe28
\[\<ffffffd02d352f44\>\] worker\_thread+0xa4c/0xfac
\[\<ffffffd02d360124\>\] kthread+0x33c/0x358
\[\<ffffffd02d289940\>\] ret\_from\_fork+0xc/0x18

## Affected and fixed versions

- Linux: \>= 371a3bc79c11b707d7a1b7a2c938dc3cc042fffb, \< c24a20912eef00587416628149c438e885eb1304; \>= 371a3bc79c11b707d7a1b7a2c938dc3cc042fffb, \< 876a5f33e5d961d879c5436987c09b3d9ef70379; \>= 371a3bc79c11b707d7a1b7a2c938dc3cc042fffb, \< 6bf443acf6ca4f666d0e4225614ba9993a3aa1a9; \>= 371a3bc79c11b707d7a1b7a2c938dc3cc042fffb, \< 34ab17cc6c2c1ac93d7e5d53bb972df9a968f085; 39e0651cac9c80865b2838f297f95ffc0f34a1d8; febe56f21371ba1e51e8586c3ddf8f54fc62fe61; d3b7bacd1115400b94482dfc7efffc175c29b831; 9006b543384ab10902819364c1205f11a1458571; \>= 4.14.189, \< 4.15; \>= 4.19.134, \< 4.20; … (cvelist)
- Linux: 5.8 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2020-36776.md
Affected: Linux >= 371a3bc79c11b707d7a1b7a2c938dc3cc042fffb, < c24a20912eef00587416628149c438e885eb1304; >= 371a3bc79c11b707d7a1b7a2c938dc3cc042fffb, < 876a5f33e5d961d879c5436987c09b3d9ef70379; >= 371a3bc79c11b707d7a1b7a2c938dc3cc042fffb, < 6bf443acf6ca4f666d0e4225614ba9993a3aa1a9; >= 371a3bc79c11b707d7a1b7a…
Fixed in: Linux 876a5f33e5d961d879c5436987c09b3d9ef70379, Linux 6bf443acf6ca4f666d0e4225614ba9993a3aa1a9, Linux 34ab17cc6c2c1ac93d7e5d53bb972df9a968f085, Linux 4.15, Linux 4.20

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.
```

## FAQ

### Is CVE-2020-36776 being exploited?

There is no confirmed exploitation: CVE-2020-36776 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-36776?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2020-36776?

Linux \>= 371a3bc79c11b707d7a1b7a2c938dc3cc042fffb, \< c24a20912eef00587416628149c438e885eb1304; \>= 371a3bc79c11b707d7a1b7a2c938dc3cc042fffb, \< 876a5f33e5d961d879c5436987c09b3d9ef70379; \>= 371a3bc79c11b707d7a1b7a2c938dc3cc042fffb, \< 6bf443acf6ca4f666d0e4225614ba9993a3aa1a9; \>= 371a3bc79c11b707d7a1b7a2c938dc3cc042fffb, \< 34ab17cc6c2c1ac93d7e5d53bb972df9a968f085; 39e0651cac9c80865b2838f297f95ffc0f34a1d8; febe56f21371ba1e51e8586c3ddf8f54fc62fe61; d3b7bacd1115400b94482dfc7efffc175c29b831; 9006b543384ab10902819364c1205f11a1458571; \>= 4.14.189, \< 4.15; \>= 4.19.134, \< 4.20; …; Linux 5.8.

### Is there a fix for CVE-2020-36776?

Yes. Fixed in Linux 876a5f33e5d961d879c5436987c09b3d9ef70379, Linux 6bf443acf6ca4f666d0e4225614ba9993a3aa1a9, Linux 34ab17cc6c2c1ac93d7e5d53bb972df9a968f085, Linux 4.15, Linux 4.20. No fix listed yet: follow the vendor advisory.

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

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.

## References

- patch: <https://git.kernel.org/stable/c/c24a20912eef00587416628149c438e885eb1304>
- patch: <https://git.kernel.org/stable/c/876a5f33e5d961d879c5436987c09b3d9ef70379>
- patch: <https://git.kernel.org/stable/c/6bf443acf6ca4f666d0e4225614ba9993a3aa1a9>
- patch: <https://git.kernel.org/stable/c/34ab17cc6c2c1ac93d7e5d53bb972df9a968f085>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2020-36776>

HTML: <https://flawdb.com/CVE-2020-36776> · JSON: <https://flawdb.com/api/v1/entries/CVE-2020-36776>
