net_sched: keep alloc_hash updated after hash allocation
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 3 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat.
Summary
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().
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 4.4.214 to before 4.4.218; 4.9.214 to before 4.9.218; 4.14.171 to before 4.14.175; 4.19.103 to before 4.19.114; 5.4.19 to before 5.4.29; 5.5.3 to before 5.5.14 | 4.4.218, 4.9.218, 4.14.175, 4.19.114, 5.4.29, 5.5.14 | Patch available | CNA |
- Linux VendorLinux Affected 4.4.214 to before 4.4.218; 4.9.214 to before 4.9.218; 4.14.171 to before 4.14.175; 4.19.103 to before 4.19.114; 5.4.19 to before 5.4.29; 5.5.3 to before 5.5.14 Fixed in 4.4.218, 4.9.218, 4.14.175, 4.19.114, 5.4.29, 5.5.14 Patch available CNA
CPE configurations NVD · 8
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 4.4.214 to before 4.4.218; 4.9.214 to before 4.9.218; 4.14.171 to before 4.14.175; 4.19.103 to before 4.19.114; 5.4.19 to before 5.4.29; 5.5.3 to before 5.5.14 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:5.6:rc1:*:*:*:*:*:* | 5.6 rc1 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:5.6:rc2:*:*:*:*:*:* | 5.6 rc2 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:5.6:rc3:*:*:*:*:*:* | 5.6 rc3 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:5.6:rc4:*:*:*:*:*:* | 5.6 rc4 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:5.6:rc5:*:*:*:*:*:* | 5.6 rc5 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:5.6:rc6:*:*:*:*:*:* | 5.6 rc6 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:5.6:rc7:*:*:*:*:*:* | 5.6 rc7 | Vulnerable | Linux |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 4.4.214 to before 4.4.218; 4.9.214 to before 4.9.218; 4.14.171 to before 4.14.175; 4.19.103 to before 4.19.114; 5.4.19 to before 5.4.29; 5.5.3 to before 5.5.14 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:5.6:rc1:*:*:*:*:*:* Versions 5.6 rc1 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:5.6:rc2:*:*:*:*:*:* Versions 5.6 rc2 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:5.6:rc3:*:*:*:*:*:* Versions 5.6 rc3 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:5.6:rc4:*:*:*:*:*:* Versions 5.6 rc4 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:5.6:rc5:*:*:*:*:*:* Versions 5.6 rc5 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:5.6:rc6:*:*:*:*:*:* Versions 5.6 rc6 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:5.6:rc7:*:*:*:*:*:* Versions 5.6 rc7 Vulnerable ·Linux
Remediation
- Fix · CNA Linux (Linux) Fixed in 4.4.218, 4.9.218, 4.14.175, 4.19.114, 5.4.29, 5.5.14
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 8 | Affected | No fix planned: Out of support scope |
Not affected: 2 products
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 9
Timeline
- 2026-10-02 Threatist record created from CVE-2020-36791
- 2026-10-03 Alias added: GHSA-5pxm-fr3g-jf32
References
Patch 7
- https://git.kernel.org/stable/c/d6cdc5bb19b595486fb2e6661e5138d73a57f454
- https://git.kernel.org/stable/c/c4453d2833671e3a9f6bd52f0f581056c3736386
- https://git.kernel.org/stable/c/9f8b6c44be178c2498a00b270872a6e30e7c8266
- https://git.kernel.org/stable/c/557d015ffb27b672e24e6ad141fd887783871dc2
- https://git.kernel.org/stable/c/d23faf32e577922b6da20bf3740625c1105381bf
- https://git.kernel.org/stable/c/bd3ee8fb6371b45c71c9345cc359b94da2ddefa9
- https://git.kernel.org/stable/c/0d1c3530e1bd38382edef72591b78e877e0edcd3
More Linux Kernel vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
- TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
Sources
- CVE-2020-36791 · CVE Program
- CVE-2020-36791 · NVD
- FIRST EPSS
- GHSA-5pxm-fr3g-jf32 · GitHub Advisory Database · CC BY 4.0
- CVE-2020-36791 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences