cveboard RSS feed

CVE-2025-38000

CVE.org · Published

Historical CVEsJSONAI instructions

Record status
Published
Identifier year (not publication year)
2025
Source publication
Source updated
Imported by cveboard
Source snapshot
cve_2026-10-24_midnight_baseline ·

Plain text

CNA source text (English)

sch_hfsc: Fix qlen accounting bug when using peek in hfsc_enqueue()

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.

Scoped product and version facts

Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.

Exploitation unknown; this catalogue does not assess exploitation.

Linux

Vendor
Linux
Product
Linux
Platforms
Unknown
Default status
unaffected
Linux · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
12d0ad3be9c3854e52ec74bb83bb6f43612827c7affectedgit1034e3310752e8675e313f7271b348914008719aUnavailableNone listed
12d0ad3be9c3854e52ec74bb83bb6f43612827c7affectedgitf9f593e34d2fb67644372c8f7b033bdc622ad228UnavailableNone listed
12d0ad3be9c3854e52ec74bb83bb6f43612827c7affectedgit89c301e929a0db14ebd94b4d97764ce1d6981653UnavailableNone listed
12d0ad3be9c3854e52ec74bb83bb6f43612827c7affectedgitf1dde3eb17dc1b8bd07aed00004b1e05fc87a3d4UnavailableNone listed
12d0ad3be9c3854e52ec74bb83bb6f43612827c7affectedgit93c276942e75de0e5bc91576300d292e968f5a02UnavailableNone listed
12d0ad3be9c3854e52ec74bb83bb6f43612827c7affectedgit49b21795b8e5654a7df3d910a12e1060da4c04cfUnavailableNone listed
12d0ad3be9c3854e52ec74bb83bb6f43612827c7affectedgit3f3a22eebbc32b4fa8ce9c1d5f9db214b45b9335UnavailableNone listed
12d0ad3be9c3854e52ec74bb83bb6f43612827c7affectedgit3f981138109f63232a5fb7165938d4c945cc1b9dUnavailableNone listed

Linux

Vendor
Linux
Product
Linux
Platforms
Unknown
Default status
affected
Linux · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
4.8affectedUnavailableUnavailableUnavailableNone listed
0unaffectedsemver4.8UnavailableNone listed
5.4.294unaffectedsemverUnavailable5.4.*None listed
5.10.238unaffectedsemverUnavailable5.10.*None listed
5.15.185unaffectedsemverUnavailable5.15.*None listed
6.1.141unaffectedsemverUnavailable6.1.*None listed
6.6.93unaffectedsemverUnavailable6.6.*None listed
6.12.31unaffectedsemverUnavailable6.12.*None listed
6.14.9unaffectedsemverUnavailable6.14.*None listed
6.15unaffectedoriginal_commit_for_fixUnavailable*None listed