CVE-2025-21703
JSON

7.8high

netem: Update sch->q.qlen before qdisc_tree_reduce_backlog()

Severity
7.8high CVSS:3.1 by Linux
Exploit likelihood
0.30% (higher than 24% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: netem: Update sch->q.qlen before qdisc_tree_reduce_backlog() qdisc_tree_reduce_backlog() notifies parent qdisc only if child qdisc becomes empty, therefore we need to reduce the backlog of the child qdisc before calling it. Otherwise it would miss the opportunity to call cops->qlen_notify(), in the case of DRR, it resulted in UAF since DRR uses ->qlen_notify() to maintain its active list.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 83c6ab12f08dcc09d4c5ac86fdb89736b28f1d31 before e395fec75ac2dbffc99b4bce57b7f1f3c5449f2c, from 216509dda290f6db92c816dd54b83c1df9da9e76 before 7f31d74fcc556a9166b1bb20515542de7bb939d1, from c2047b0e216c8edce227d7c42f99ac2877dad0e4 before 98a2c685293aae122f688cde11d9334dddc5d207, from 10df49cfca73dfbbdb6c4150d859f7e8926ae427 before 7b79ca9a1de6a428d486ff52fb3d602321c08f55, from 3824c5fad18eeb7abe0c4fc966f29959552dca3e before 1f8e3f4a4b8b90ad274dfbc66fc7d55cb582f4d5, from 356078a5c55ec8d2061fcc009fb8599f5b0527f9 before 6312555249082d6d8cc5321ff725df05482d8b83, from f8d4bc455047cf3903cd6f85f49978987dbb3027 before 839ecc583fa00fab785fde1c85a326743657fd32, from f8d4bc455047cf3903cd6f85f49978987dbb3027 before 638ba5089324796c2ee49af10427459c2de35f71 and 7 more
Not affected: before 6.13, from 5.4.291 up to 5.4.*, from 5.10.235 up to 5.10.*, from 5.15.179 up to 5.15.*, from 6.1.129 up to 6.1.*, from 6.6.78 up to 6.6.*
CVE List
linux linux_kernelfrom 5.4.288 before 5.4.291, from 5.10.232 before 5.10.235, from 5.15.175 before 5.15.179, from 6.1.121 before 6.1.129, from 6.6.67 before 6.6.78, from 6.12.6 before 6.12.14, from 6.13 before 6.13.3, 6.14NVD

All scores

Linux7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CISA-ADP7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-416

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: netem: Update sch->q.qlen before qdisc_tree_reduce_backlog() qdisc_tree_reduce_backlog() notifies parent qdisc only if child qdisc becomes empty, therefore we need to reduce the backlog of the child qdisc before calling it. Otherwise it would miss the opportunity to call cops->qlen_notify(), in the case of DRR, it resulted in UAF since DRR uses ->qlen_notify() to maintain its active list.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: netem: Actualizar sch->q.qlen antes de qdisc_tree_reduce_backlog() qdisc_tree_reduce_backlog() notifica a la qdisc principal solo si la qdisc secundaria se vacía, por lo tanto, debemos reducir el backlog de la qdisc secundaria antes de llamarla. De lo contrario, perdería la oportunidad de llamar a cops->qlen_notify(), en el caso de DRR, resultó en UAF ya que DRR usa ->qlen_notify() para mantener su lista activa.

References

https://git.kernel.org/stable/c/e395fec75ac2dbffc99b4bce57b7f1f3c5449f2cpatch
https://git.kernel.org/stable/c/7f31d74fcc556a9166b1bb20515542de7bb939d1patch
https://git.kernel.org/stable/c/98a2c685293aae122f688cde11d9334dddc5d207patch
https://git.kernel.org/stable/c/7b79ca9a1de6a428d486ff52fb3d602321c08f55patch
https://git.kernel.org/stable/c/1f8e3f4a4b8b90ad274dfbc66fc7d55cb582f4d5patch
https://git.kernel.org/stable/c/6312555249082d6d8cc5321ff725df05482d8b83patch
https://git.kernel.org/stable/c/839ecc583fa00fab785fde1c85a326743657fd32patch
https://git.kernel.org/stable/c/638ba5089324796c2ee49af10427459c2de35f71patch
https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html
https://cert-portal.siemens.com/productcert/html/ssa-503939.html
https://cert-portal.siemens.com/productcert/html/ssa-784472.html

Sources

SourceRecordLicence
CVE ListCVE-2025-21703 changed 2026-10-15CVE Terms of Use
NVDCVE-2025-21703 changed 2026-10-15Public domain