2084AI Security Observatory

CVE

CVE-2025-38000

CVE-2025-38000HIGH 7.8EPSS 15%

CNA description

In the Linux kernel, the following vulnerability has been resolved: sch_hfsc: Fix qlen accounting bug when using peek in hfsc_enqueue() When enqueuing the first packet to an HFSC class, hfsc_enqueue() calls the child qdisc's peek() operation before incrementing sch->q.qlen and sch->qstats.backlog. If the child qdisc uses qdisc_peek_dequeued(), this may trigger an immediate dequeue and potential packet drop. In such cases, qdisc_tree_reduce_backlog() is called, but the HFSC qdisc's qlen and backlog have not yet been updated, leading to inconsistent queue accounting. This can leave an empty HFSC class in the active list, causing further consequences like use-after-free. This patch fixes the bug by moving the increment of sch->q.qlen and sch->qstats.backlog before the call to the child qdisc's peek() operation. This ensures that queue length and backlog are always accurate when packet drops or dequeues are triggered during the peek.

Affected versions

All Linux kernel vulnerabilities →

  • 6.15-rc7This version only
  • 6.15-rc6This version only
  • 6.15-rc5This version only
  • 6.15-rc4This version only
  • 6.15-rc3This version only
  • 6.15-rc2This version only
  • 6.15-rc1This version only
  • ≥ 6.13, < 6.14.9Fixed in 6.14.9
  • ≥ 6.7, < 6.12.31Fixed in 6.12.31
  • ≥ 6.2, < 6.6.93Fixed in 6.6.93
  • ≥ 5.16, < 6.1.141Fixed in 6.1.141
  • ≥ 5.11, < 5.15.185Fixed in 5.15.185
  • ≥ 5.5, < 5.10.238Fixed in 5.10.238
  • ≥ 4.8, < 5.4.294Fixed in 5.4.294

Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.

Advisories and patches

Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.