We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2025-37890

net_sched: hfsc: Fix a UAF vulnerability in class with netem as child qdisc



Description

In the Linux kernel, the following vulnerability has been resolved: net_sched: hfsc: Fix a UAF vulnerability in class with netem as child qdisc As described in Gerrard's report [1], we have a UAF case when an hfsc class has a netem child qdisc. The crux of the issue is that hfsc is assuming that checking for cl->qdisc->q.qlen == 0 guarantees that it hasn't inserted the class in the vttree or eltree (which is not true for the netem duplicate case). This patch checks the n_active class variable to make sure that the code won't insert the class in the vttree or eltree twice, catering for the reentrant case. [1] https://lore.kernel.org/netdev/CAHcdcOm+03OD2j6R0=YHKqmy=VgJ8xEOKuP6c7mSgnp-TEJJbw@mail.gmail.com/

Reserved 2025-04-16 | Published 2025-05-16 | Updated 2025-05-26 | Assigner Linux

Product status

Default status
unaffected

37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea before e3e949a39a91d1f829a4890e7dfe9417ac72e4d0
affected

37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea before 8df7d37d626430035b413b97cee18396b3450bef
affected

37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea before 6082a87af4c52f58150d40dec1716011d871ac21
affected

37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea before 2e7093c7a8aba5d4f8809f271488e5babe75e202
affected

37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea before ac39fd4a757584d78ed062d4f6fd913f83bd98b5
affected

37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea before 141d34391abbb315d68556b7c67ad97885407547
affected

Default status
affected

5.0
affected

Any version before 5.0
unaffected

5.15.182
unaffected

6.1.138
unaffected

6.6.90
unaffected

6.12.28
unaffected

6.14.6
unaffected

6.15
unaffected

References

git.kernel.org/...c/e3e949a39a91d1f829a4890e7dfe9417ac72e4d0

git.kernel.org/...c/8df7d37d626430035b413b97cee18396b3450bef

git.kernel.org/...c/6082a87af4c52f58150d40dec1716011d871ac21

git.kernel.org/...c/2e7093c7a8aba5d4f8809f271488e5babe75e202

git.kernel.org/...c/ac39fd4a757584d78ed062d4f6fd913f83bd98b5

git.kernel.org/...c/141d34391abbb315d68556b7c67ad97885407547

cve.org (CVE-2025-37890)

nvd.nist.gov (CVE-2025-37890)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2025-37890

Support options

Helpdesk Chat, Email, Knowledgebase