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().
References (9)
Core 9
Core References
Third Party Advisory
https://blog.cdthoughts.ch/2021/03/16/syzbot-bug.html
Scores
CVSS v3
7.1
EPSS
0.0006
EPSS Percentile
18.9%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Details
CWE
CWE-125
Status
published
Products (2)
linux/linux_kernel
5.6 rc1 (7 CPE variants)
linux/linux_kernel
4.4.214 - 4.4.218
Published
May 07, 2025
Tracked Since
Feb 18, 2026