cbcvebase.
CVE-2025-38000
published 2025-06-06

CVE-2025-38000: 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…

high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
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

34 ranges· showing 25
VendorProductVersion rangeFixed in
debiandebian_linux
debianlinux< linux 6.1.147-1 (bookworm)linux 6.1.147-1 (bookworm)
debianlinux-6.1< linux 6.1.147-1 (bookworm)linux 6.1.147-1 (bookworm)
googlechrome_chrome
linuxlinux
linuxlinux>= 12d0ad3be9c3854e52ec74bb83bb6f43612827c7 < 1034e3310752e8675e313f7271b348914008719a1034e3310752e8675e313f7271b348914008719a
linuxlinux>= 12d0ad3be9c3854e52ec74bb83bb6f43612827c7 < f9f593e34d2fb67644372c8f7b033bdc622ad228f9f593e34d2fb67644372c8f7b033bdc622ad228
linuxlinux>= 12d0ad3be9c3854e52ec74bb83bb6f43612827c7 < 89c301e929a0db14ebd94b4d97764ce1d698165389c301e929a0db14ebd94b4d97764ce1d6981653
linuxlinux>= 12d0ad3be9c3854e52ec74bb83bb6f43612827c7 < f1dde3eb17dc1b8bd07aed00004b1e05fc87a3d4f1dde3eb17dc1b8bd07aed00004b1e05fc87a3d4
linuxlinux>= 12d0ad3be9c3854e52ec74bb83bb6f43612827c7 < 93c276942e75de0e5bc91576300d292e968f5a0293c276942e75de0e5bc91576300d292e968f5a02
linuxlinux>= 12d0ad3be9c3854e52ec74bb83bb6f43612827c7 < 49b21795b8e5654a7df3d910a12e1060da4c04cf49b21795b8e5654a7df3d910a12e1060da4c04cf
linuxlinux>= 12d0ad3be9c3854e52ec74bb83bb6f43612827c7 < 3f3a22eebbc32b4fa8ce9c1d5f9db214b45b93353f3a22eebbc32b4fa8ce9c1d5f9db214b45b9335
linuxlinux>= 12d0ad3be9c3854e52ec74bb83bb6f43612827c7 < 3f981138109f63232a5fb7165938d4c945cc1b9d3f981138109f63232a5fb7165938d4c945cc1b9d
linuxlinux_kernel
linuxlinux_kernel>= 0 < 5.10.244-15.10.244-1
linuxlinux_kernel>= 0 < 6.1.147-16.1.147-1
linuxlinux_kernel>= 0 < 6.12.32-16.12.32-1
linuxlinux_kernel>= 0 < 6.12.32-16.12.32-1
linuxlinux_kernel>= 0 < 5.15.0-143.1535.15.0-143.153
linuxlinux_kernel>= 0 < 6.8.0-63.666.8.0-63.66
linuxlinux_kernel>= 0 < 6.14.0-23.236.14.0-23.23
linuxlinux_kernel>= 0 < 4.15.0-239.2514.15.0-239.251
linuxlinux_kernel>= 0 < 5.4.0-219.2395.4.0-219.239
linuxlinux_kernel>= 4.8 < 5.4.2945.4.294
linuxlinux_kernel>= 5.11 < 5.15.1855.15.185

CVSS provenance

nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
osv8.8HIGH