CVE-2020-36791CWE-125

CVE-2020-36791

High · published May 7, 2025

CVSS v3.1
7.8
EPSS
0%
Percentile
9.2
In the wild
Unconfirmed
What it is

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().

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00199 · 9.2th percentile
Weakness
CWE-125 · Out-of-bounds Read
Published
2025-05-07T18:15Z
Affected products (13)
ProductVersionsFixed in
linux/linux_kernel≥ 4.4.214, < 4.4.2184.4.218
linux/linux_kernel≥ 4.9.214, < 4.9.2184.9.218
linux/linux_kernel≥ 4.14.171, < 4.14.1754.14.175
linux/linux_kernel≥ 4.19.103, < 4.19.1144.19.114
linux/linux_kernel≥ 5.4.19, < 5.4.295.4.29
linux/linux_kernel≥ 5.5.3, < 5.5.145.5.14
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (9)
EPSS history
Timeline
  • 07 MAY 13:17Z
    net_sched: keep alloc_hash updated after hash allocation
    cvelistv5