CVE-2020-36791
net_sched: keep alloc_hash updated after hash allocation
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
0Exploited in Wild
-Decision
Descriptions
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().
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().
CVSS Scores
SSVC
- Decision:-
Timeline
- 2024-02-26 CVE Reserved
- 2025-05-07 CVE Published
- 2025-05-07 CVE Updated
- 2025-05-08 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
CAPEC
References (15)
URL | Date | SRC |
---|
URL | Date | SRC |
---|
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | >= 4.4.214 < 4.4.218 Search vendor "Linux" for product "Linux Kernel" and version " >= 4.4.214 < 4.4.218" | en |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | >= 4.9.214 < 4.9.218 Search vendor "Linux" for product "Linux Kernel" and version " >= 4.9.214 < 4.9.218" | en |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | >= 4.14.171 < 4.14.175 Search vendor "Linux" for product "Linux Kernel" and version " >= 4.14.171 < 4.14.175" | en |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | >= 4.19.103 < 4.19.114 Search vendor "Linux" for product "Linux Kernel" and version " >= 4.19.103 < 4.19.114" | en |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | >= 5.4.19 < 5.4.29 Search vendor "Linux" for product "Linux Kernel" and version " >= 5.4.19 < 5.4.29" | en |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | >= 5.5.3 < 5.5.14 Search vendor "Linux" for product "Linux Kernel" and version " >= 5.5.3 < 5.5.14" | en |
Affected
|