{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-37890","id":"CVE-2025-37890","title":"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:\n\nnet_sched: hfsc: Fix a UAF vulnerability in class with netem as child qdisc\n\nAs described in Gerrard's report [1], we have a UAF case when an hfsc class\nhas a netem child qdisc. The crux of the issue is that hfsc is assuming\nthat checking for cl->qdisc->q.qlen == 0 guarantees that it hasn't inserted\nthe class in the vttree or elt","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet_sched: hfsc: Fix a UAF vulnerability in class with netem as child qdisc\n\nAs described in Gerrard's report [1], we have a UAF case when an hfsc class\nhas a netem child qdisc. The crux of the issue is that hfsc is assuming\nthat checking for cl->qdisc->q.qlen == 0 guarantees that it hasn't inserted\nthe class in the vttree or eltree (which is not true for the netem\nduplicate case).\n\nThis patch checks the n_active class variable to make sure that the code\nwon't insert the class in the vttree or eltree twice, catering for the\nreentrant case.\n\n[1] https://lore.kernel.org/netdev/CAHcdcOm+03OD2j6R0=YHKqmy=VgJ8xEOKuP6c7mSgnp-TEJJbw@mail.gmail.com/","published":"2025-05-16T13:01:12.798Z","updated":"2026-10-28T02:30:36.072560320Z","reserved":"2025-04-16T04:51:23.963Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea","lessThan":"273bbcfa53541cde38b2003ad88a59b770306421","status":"affected","versionType":"git"},{"version":"37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea","lessThan":"e0cf8ee23e1915431f262a7b2dee0c7a7d699af0","status":"affected","versionType":"git"},{"version":"37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea","lessThan":"e3e949a39a91d1f829a4890e7dfe9417ac72e4d0","status":"affected","versionType":"git"},{"version":"37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea","lessThan":"8df7d37d626430035b413b97cee18396b3450bef","status":"affected","versionType":"git"},{"version":"37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea","lessThan":"6082a87af4c52f58150d40dec1716011d871ac21","status":"affected","versionType":"git"},{"version":"37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea","lessThan":"2e7093c7a8aba5d4f8809f271488e5babe75e202","status":"affected","versionType":"git"},{"version":"37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea","lessThan":"ac39fd4a757584d78ed062d4f6fd913f83bd98b5","status":"affected","versionType":"git"},{"version":"37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea","lessThan":"141d34391abbb315d68556b7c67ad97885407547","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.0","status":"affected"},{"version":"0","lessThan":"5.0","status":"unaffected","versionType":"semver"},{"version":"5.4.294","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.238","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.182","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.138","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.90","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.28","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.14.6","lessThanOrEqual":"6.14.*","status":"unaffected","versionType":"semver"},{"version":"6.15","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-416"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/273bbcfa53541cde38b2003ad88a59b770306421","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/e0cf8ee23e1915431f262a7b2dee0c7a7d699af0","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/e3e949a39a91d1f829a4890e7dfe9417ac72e4d0","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/8df7d37d626430035b413b97cee18396b3450bef","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/6082a87af4c52f58150d40dec1716011d871ac21","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/2e7093c7a8aba5d4f8809f271488e5babe75e202","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/ac39fd4a757584d78ed062d4f6fd913f83bd98b5","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/141d34391abbb315d68556b7c67ad97885407547","tags":["Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html","tags":["Mailing List","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/08/msg00010.html","tags":["Mailing List","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37890.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-37890","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00222,"epssPercentile":0.12979,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-37890","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-37890","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-37890","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-37890","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}