{"id":"CVE-2020-36776","aliases":["CVE-2020-36776"],"related":[],"kind":"vulnerability","state":"published","title":"thermal/drivers/cpufreq_cooling: Fix slab OOB issue","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nthermal/drivers/cpufreq_cooling: Fix slab OOB issue\n\nSlab OOB issue is scanned by KASAN in cpu_power_to_freq().\nIf power is limited below the power of OPP0 in EM table,\nit will cause slab out-of-bound issue with negative array\nindex.\n\nReturn the lowest frequency if limited power cannot found\na suitable OPP in EM table to fix this issue.\n\nBacktrace:\n[<ffffffd02d2a37f0>] die+0x104/0x5ac\n[<ffffffd02d2a5630>] bug_handler+0x64/0xd0\n[<ffffffd02d288ce4>] brk_handler+0x160/0x258\n[<ffffffd02d281e5c>] do_debug_exception+0x248/0x3f0\n[<ffffffd02d284488>] el1_dbg+0x14/0xbc\n[<ffffffd02d75d1d4>] __kasan_report+0x1dc/0x1e0\n[<ffffffd02d75c2e0>] kasan_report+0x10/0x20\n[<ffffffd02d75def8>] __asan_report_load8_noabort+0x18/0x28\n[<ffffffd02e6fce5c>] cpufreq_power2state+0x180/0x43c\n[<ffffffd02e6ead80>] power_actor_set_power+0x114/0x1d4\n[<ffffffd02e6fac24>] allocate_power+0xaec/0xde0\n[<ffffffd02e6f9f80>] power_allocator_throttle+0x3ec/0x5a4\n[<ffffffd02e6ea888>] handle_thermal_trip+0x160/0x294\n[<ffffffd02e6edd08>] thermal_zone_device_check+0xe4/0x154\n[<ffffffd02d351cb4>] process_one_work+0x5e4/0xe28\n[<ffffffd02d352f44>] worker_thread+0xa4c/0xfac\n[<ffffffd02d360124>] kthread+0x33c/0x358\n[<ffffffd02d289940>] ret_from_fork+0xc/0x18","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nthermal/drivers/cpufreq_cooling: Fix slab OOB issue\n\nSlab OOB issue is scanned by KASAN in cpu_power_to_freq().\nIf power is limited below the power of OPP0 in EM table,\nit will cause slab out-of-bound issue with negative array\nindex.\n\nReturn the lowest frequency if limited power cannot found\na suitable OPP in EM table to fix this issue.\n\nBacktrace:\n[<ffffffd02d2a37f0>] die+0x104/0x5ac\n[<ffffffd02d2a5630>] bug_handler+0x64/0xd0\n[<ffffffd02d288ce4>] brk_handler+0x160/0x258\n[<ffffffd02d281e5c>] do_debug_exception+0x248/0x3f0\n[<ffffffd02d284488>] el1_dbg+0x14/0xbc\n[<ffffffd02d75d1d4>] __kasan_report+0x1dc/0x1e0\n[<ffffffd02d75c2e0>] kasan_report+0x10/0x20\n[<ffffffd02d75def8>] __asan_report_load8_noabort+0x18/0x28\n[<ffffffd02e6fce5c>] cpufreq_power2state+0x180/0x43c\n[<ffffffd02e6ead80>] power_actor_set_power+0x114/0x1d4\n[<ffffffd02e6fac24>] allocate_power+0xaec/0xde0\n[<ffffffd02e6f9f80>] power_allocator_throttle+0x3ec/0x5a4\n[<ffffffd02e6ea888>] handle_thermal_trip+0x160/0x294\n[<ffffffd02e6edd08>] thermal_zone_device_check+0xe4/0x154\n[<ffffffd02d351cb4>] process_one_work+0x5e4/0xe28\n[<ffffffd02d352f44>] worker_thread+0xa4c/0xfac\n[<ffffffd02d360124>] kthread+0x33c/0x358\n[<ffffffd02d289940>] ret_from_fork+0xc/0x18","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se resolvió la siguiente vulnerabilidad: Thermal/drivers/cpufreq_cooling: solucionar el problema de Slab OOB El problema de Slab OOB es escaneado por KASAN en cpu_power_to_freq(). Si la potencia se limita por debajo de la potencia de OPP0 en la tabla EM, provocará un problema de losa fuera de los límites con un índice de matriz negativo. Devuelve la frecuencia más baja si la potencia limitada no puede encontrar un OPP adecuado en la tabla EM para solucionar este problema. Seguimiento inverso: [] die+0x104/0x5ac [] bug_handler+0x64/0xd0 [] brk_handler+0x160/0x258 [] do_debug_exception+0x 248/0x3f0 [] el1_dbg+0x14 /0xbc [] __kasan_report+0x1dc/0x1e0 [] kasan_report+0x10/0x20 [] __asan_report_load8_noabort+0x18/0x28 [] cpufreq_power2state+0x180/0x43c [] power_actor_set_power+0x114 /0x1d4 [] allocate_power+0xaec/0xde0 [] power_allocator_throttle+0x3ec/0x5a4 [] handle_thermal_trip+0x160/0x294 [] térmico _zone_device_check+0xe4/0x154 [] proceso_one_work+0x5e4 /0xe28 [] work_thread+0xa4c/0xfac [] kthread+0x33c/0x358 [] ret_from_fork+0xc/0x18","source":"nvd"}],"published":"2024-02-27T18:40:25.615Z","modified":"2026-06-17T03:16:12.527Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-129"],"affected":[{"ranges":[{"type":"git","introduced":"371a3bc79c11b707d7a1b7a2c938dc3cc042fffb","fixed":"c24a20912eef00587416628149c438e885eb1304","status":"affected"},{"type":"git","introduced":"371a3bc79c11b707d7a1b7a2c938dc3cc042fffb","fixed":"876a5f33e5d961d879c5436987c09b3d9ef70379","status":"affected"},{"type":"git","introduced":"371a3bc79c11b707d7a1b7a2c938dc3cc042fffb","fixed":"6bf443acf6ca4f666d0e4225614ba9993a3aa1a9","status":"affected"},{"type":"git","introduced":"371a3bc79c11b707d7a1b7a2c938dc3cc042fffb","fixed":"34ab17cc6c2c1ac93d7e5d53bb972df9a968f085","status":"affected"},{"type":"git","version":"39e0651cac9c80865b2838f297f95ffc0f34a1d8","status":"affected"},{"type":"git","version":"febe56f21371ba1e51e8586c3ddf8f54fc62fe61","status":"affected"},{"type":"git","version":"d3b7bacd1115400b94482dfc7efffc175c29b831","status":"affected"},{"type":"git","version":"9006b543384ab10902819364c1205f11a1458571","status":"affected"},{"type":"semver","introduced":"4.14.189","fixed":"4.15","status":"affected"},{"type":"semver","introduced":"4.19.134","fixed":"4.20","status":"affected"},{"type":"semver","introduced":"5.4.53","fixed":"5.5","status":"affected"},{"type":"semver","introduced":"5.7.8","fixed":"5.8","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.8","status":"unaffected"},{"type":"semver","introduced":"5.10.36","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.11.20","lastAffected":"5.11.*","status":"unaffected"},{"type":"semver","introduced":"5.12.3","lastAffected":"5.12.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.13","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.8.0","fixed":"5.10.36"},{"status":"affected","introduced":"5.11.0","fixed":"5.11.20"},{"status":"affected","introduced":"5.12.0","fixed":"5.12.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/c24a20912eef00587416628149c438e885eb1304","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/876a5f33e5d961d879c5436987c09b3d9ef70379","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6bf443acf6ca4f666d0e4225614ba9993a3aa1a9","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/34ab17cc6c2c1ac93d7e5d53bb972df9a968f085","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T16:01:54.528Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-36776","url":"https://www.cve.org/CVERecord?id=CVE-2020-36776","licence":"CVE Terms of Use","modified":"2026-05-23T15:18:39.789Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-36776","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36776","licence":"Public domain","modified":"2026-06-17T03:16:12.527Z"}],"updatedAt":"2026-11-25T22:57:58.946Z","epss":{"score":0.00232,"percentile":0.15071,"date":"2026-12-01T12:00:22.000Z"}}