CVE-2020-36791 Details
Description
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().
A heap-based out-of-bounds write vulnerability has been identified in the Linux kernel's net scheduling component, specifically within the 'cls_tcindex' traffic control classifier. This vulnerability, present in versions through 5.5.13, was introduced by a commit that improperly managed the allocation hash size for hash tables used in packet filtering. The flaw allows an attacker to manipulate the hash table size, triggering an out-of-bounds write that can be exploited to overwrite critical kernel data, such as the 'addr_limit' field in the 'task_struct' structure, which governs memory access permissions. This exploitation can lead to unauthorized access to kernel memory and, ultimately, privilege escalation by modifying kernel parameters to execute arbitrary code as root.
Users can upgrade to versions of the Linux kernel that have applied the fix, specifically versions 5.6 and later, where this vulnerability has been addressed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://blog.cdthoughts.ch/2021/03/16/syzbot-bug.html | kernel.org | Third Party Advisory |
| https://git.kernel.org/stable/c/0d1c3530e1bd38382edef72591b78e877e0edcd3 | kernel.org | Patch |
| https://git.kernel.org/stable/c/557d015ffb27b672e24e6ad141fd887783871dc2 | kernel.org | Patch |
| https://git.kernel.org/stable/c/9f8b6c44be178c2498a00b270872a6e30e7c8266 | kernel.org | Patch |
| https://git.kernel.org/stable/c/bd3ee8fb6371b45c71c9345cc359b94da2ddefa9 | kernel.org | Patch |
| https://git.kernel.org/stable/c/c4453d2833671e3a9f6bd52f0f581056c3736386 | kernel.org | Patch |
| https://git.kernel.org/stable/c/d23faf32e577922b6da20bf3740625c1105381bf | kernel.org | Patch |
| https://git.kernel.org/stable/c/d6cdc5bb19b595486fb2e6661e5138d73a57f454 | kernel.org | Patch |
| https://syzkaller.appspot.com/bug?id=ea260693da894e7b078d18fca2c9c0a19b457534 | kernel.org | Issue Tracking |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 4.4.214, < 4.4.218 >= 4.9.214, < 4.9.218 >= 4.14.171, < 4.14.175 >= 4.19.103, < 4.19.114 >= 5.4.19, < 5.4.29 >= 5.5.3, < 5.5.14 5.6 rc1 5.6 rc2 5.6 rc3 5.6 rc4 5.6 rc5 5.6 rc6 5.6 rc7 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 4, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 10, 2025 | Initial Analysis | [email protected] |
| May 7, 2025 | CVE Modified | kernel.org |
| May 7, 2025 | New CVE Received | kernel.org |