CVE-2020-36791

High

In the Linux kernel, the following vulnerability has been resolved: net_sched: keep alloc_hash updated after hash allocation In commit 599be01ee567 ("net_sched: fix an OOB access in cls_tcindex") I moved cp->hash calculation before the first tcindex_alloc_perfect_hash(), but cp->alloc_hash is left untouched. This difference could lead to another out of bound access. cp->alloc_hash should always be the size allocated, we should update it after this tcindex_alloc_perfect_hash().

Package Linux Kernel
Published 2025-05-07
Last modified 2025-11-10
CVSS version 3.1
Patch available
Yes

CVSS 3.1 score

7.1

out of 10
High
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
High
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

Weakness type

CWE-125

CVE-2020-36791 is a Out-of-bounds Read vulnerability

What is Out-of-bounds Read?

The product reads data past the end or before the beginning of the intended buffer. Learn more on MITRE CWE

Affected versions

Linux kernel versions 4.4.214, 4.9.214, 4.14.171, 4.19.103, 5.4.19, 5.5.3 and later are affected. Fixed in 4.4.218, 4.9.218, 4.14.175, 4.19.114, 5.4.29, 5.5.14 and their respective stable series.

Affected from
≥ 4.4.214 ≥ 4.9.214 ≥ 4.14.171 ≥ 4.19.103 ≥ 5.4.19 ≥ 5.5.3
Fixed in
✓ 4.4.218 4.4.x ✓ 4.9.218 4.9.x ✓ 4.14.175 4.14.x ✓ 4.19.114 4.19.x ✓ 5.4.29 5.4.x ✓ 5.5.14 5.5.x

Frequently asked questions

  • What is CVE-2020-36791?

    CVE-2020-36791 is a High severity Linux kernel vulnerability with a CVSS score of 7.1 out of 10 , classified as an Out-of-bounds Read flaw (CWE-125) . It affects Linux kernel versions from 4.4.214 onward and has been patched in 4.4.218, 4.9.218, 4.14.175 and others. CVE-2020-36791 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • What is the CVSS score for CVE-2020-36791?

    CVE-2020-36791 has a CVSS score of 7.1 out of 10, rated High severity (CVSS 3.1). The vector string is CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H .

  • Is there a patch available for CVE-2020-36791?

    Yes. CVE-2020-36791 has been patched. Fixed versions include 4.4.218, 4.9.218, 4.14.175 and others. If you are running Linux kernel 4.4.214 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2020-36791 actively exploited?

    No. CVE-2020-36791 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.