Skip to main content
← All vulnerabilities
CVE-2020-36791

net_sched: keep alloc_hash updated after hash allocation

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.4.218, 4.9.218, 4.14.175, 4.19.114, 5.4.29, and 1 more
None on Exploit-DB, Metasploit or GitHub

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

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    Version range not reported

  • Linux Linux

    From 4.4.214 · fixed in 4.4.218; From 4.9.214 · fixed in 4.9.218; From 4.14.171 · fixed in 4.14.175; From 4.19.103 · fixed in 4.19.114; From 5.4.19 · fixed in 5.4.29; From 5.5.3 · fixed in 5.5.14

References 9

git.kernel.org

syzkaller.appspot.com

blog.cdthoughts.ch