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().
Analysis and contextual insights are available on OpenCVE Cloud.
No vendor fix or workaround currently provided.
Additional remediation guidance may be available on OpenCVE Cloud.
Tracking
Sign in to view the affected projects.
No advisories yet.
Mon, 10 Nov 2025 17:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-125 | |
| CPEs | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:5.6:rc1:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:5.6:rc2:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:5.6:rc3:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:5.6:rc4:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:5.6:rc5:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:5.6:rc6:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:5.6:rc7:*:*:*:*:*:* |
|
| Metrics |
cvssV3_1
|
cvssV3_1
|
Mon, 14 Jul 2025 13:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
epss
|
epss
|
Thu, 08 May 2025 13:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
cvssV3_1
|
Wed, 07 May 2025 14:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
Wed, 07 May 2025 13:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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(). | |
| Title | net_sched: keep alloc_hash updated after hash allocation | |
| References |
|
|
Status: PUBLISHED
Assigner: Linux
Published:
Updated: 2026-05-11T13:42:58.296Z
Reserved: 2024-02-26T17:07:27.435Z
Link: CVE-2020-36791
No data.
Status : Analyzed
Published: 2025-05-07T14:15:28.513
Modified: 2025-11-10T17:34:55.777
Link: CVE-2020-36791
OpenCVE Enrichment
Updated: 2025-07-12T22:23:44Z