CVE-2020-36791
Last modified
CVE-2020-36791 is a high-severity vulnerability rated 7.1/10 on the CVSS scale. 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().. EPSS estimates a 0.15% chance of exploitation in the next 30 days.
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().
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 4.4.214, < 4.4.218 | — |
| Linux | Linux Kernel | >= 4.9.214, < 4.9.218 | — |
| Linux | Linux Kernel | >= 4.14.171, < 4.14.175 | — |
| Linux | Linux Kernel | >= 4.19.103, < 4.19.114 | — |
| Linux | Linux Kernel | >= 5.4.19, < 5.4.29 | — |
| Linux | Linux Kernel | >= 5.5.3, < 5.5.14 | — |
| Linux | Linux Kernel | 5.6 | Rc1 |
References
- https://blog.cdthoughts.ch/2021/03/16/syzbot-bug.htmlThird Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2020-36791?
How severe is CVE-2020-36791?
How do I fix CVE-2020-36791?
Are you affected by CVE-2020-36791?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
