CVE-2026-23074
JSON

7.8high

net/sched: Enforce that teql can only be used as root qdisc

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

Description

In the Linux kernel, the following vulnerability has been resolved: net/sched: Enforce that teql can only be used as root qdisc Design intent of teql is that it is only supposed to be used as root qdisc. We need to check for that constraint. Although not important, I will describe the scenario that unearthed this issue for the curious. GangMin Kim <km.kim1503@gmail.com> managed to concot a scenario as follows: ROOT qdisc 1:0 (QFQ) ├── class 1:1 (weight=15, lmax=16384) netem with delay 6.4s └── class 1:2 (weight=1, lmax=1514) teql GangMin sends a packet which is enqueued to 1:1 (netem). Any invocation of dequeue by QFQ from this class will not return a packet until after 6.4s. In the meantime, a second packet is sent and it lands on 1:2. teql's enqueue will return success and this will activate class 1:2. Main issue is that teql only updates the parent visible qlen (sch->q.qlen) at dequeue. Since QFQ will only call dequeue if peek succeeds (and teql's peek always returns NULL), dequeue will never be called and thus the qlen will remain as 0. With that in mind, when GangMin updates 1:2's lmax value, the qfq_change_class calls qfq_deact_rm_from_agg. Since the child qdisc's qlen was not incremented, qfq fails to deactivate the class, but still frees its pointers from the aggregate. So when the first packet is rescheduled after 6.4 seconds (netem's delay), a dangling pointer is accessed causing GangMin's causing a UAF.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 73d970ff0eddd874a84c953387c7f4464b705fc6, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before ae810e6a8ac4fe25042e6825d2a401207a2e41fb, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before dad49a67c2d817bfec98e6e45121b351e3a0202c, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 0686bedfed34155520f3f735cbf3210cb9044380, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 4c7e8aa71c9232cba84c289b4b56cba80b280841, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 16ed73c1282d376b956bff23e5139add061767ba, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 50da4b9d07a7a463e2cfb738f3ad4cff6b2c9c3b, 2.6.12
Not affected: before 2.6.12, from 5.10.249 up to 5.10.*, from 5.15.199 up to 5.15.*, from 6.1.162 up to 6.1.*, from 6.6.122 up to 6.6.*, from 6.12.68 up to 6.12.*
CVE List
kernelNot specified
Not affected: from 0:2.6.32-754.59.1.el6 before *, from 0:3.10.0-1160.147.1.el7 before *, from 0:4.18.0-553.107.1.el8_10 before *, from 0:4.18.0-193.187.1.el8_2 before *, from 0:4.18.0-305.186.1.el8_4 before *, from 0:4.18.0-372.181.1.el8_6 before *
CVE List
kernel-rtNot specified
Not affected: from 0:3.10.0-1160.147.1.rt56.1299.el7 before *, from 0:4.18.0-553.107.1.rt7.448.el8_10 before *
CVE List
linux linux_kernelfrom 2.6.12.1 before 5.10.249, from 5.11 before 5.15.199, from 5.16 before 6.1.162, from 6.2 before 6.6.122, from 6.7 before 6.12.68, from 6.13 before 6.18.8, 2.6.12, 6.19NVD

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
redhat-SADP7.0high CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-416CWE-825

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: net/sched: Enforce that teql can only be used as root qdisc Design intent of teql is that it is only supposed to be used as root qdisc. We need to check for that constraint. Although not important, I will describe the scenario that unearthed this issue for the curious. GangMin Kim <km.kim1503@gmail.com> managed to concot a scenario as follows: ROOT qdisc 1:0 (QFQ) ├── class 1:1 (weight=15, lmax=16384) netem with delay 6.4s └── class 1:2 (weight=1, lmax=1514) teql GangMin sends a packet which is enqueued to 1:1 (netem). Any invocation of dequeue by QFQ from this class will not return a packet until after 6.4s. In the meantime, a second packet is sent and it lands on 1:2. teql's enqueue will return success and this will activate class 1:2. Main issue is that teql only updates the parent visible qlen (sch->q.qlen) at dequeue. Since QFQ will only call dequeue if peek succeeds (and teql's peek always returns NULL), dequeue will never be called and thus the qlen will remain as 0. With that in mind, when GangMin updates 1:2's lmax value, the qfq_change_class calls qfq_deact_rm_from_agg. Since the child qdisc's qlen was not incremented, qfq fails to deactivate the class, but still frees its pointers from the aggregate. So when the first packet is rescheduled after 6.4 seconds (netem's delay), a dangling pointer is accessed causing GangMin's causing a UAF.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: net/sched: Forzar que teql solo pueda ser usado como qdisc raíz La intención del diseño de teql es que solo se supone que debe ser usado como qdisc raíz. Necesitamos verificar esa restricción. Aunque no es importante, describiré el escenario que desenterró este problema para los curiosos. GangMin Kim logró idear un escenario de la siguiente manera: qdisc RAÍZ 1:0 (QFQ) ??? clase 1:1 (peso=15, lmax=16384) netem con retardo de 6.4s ??? clase 1:2 (peso=1, lmax=1514) teql GangMin envía un paquete que es encolado a 1:1 (netem). Cualquier invocación de desencolado por QFQ desde esta clase no devolverá un paquete hasta después de 6.4s. Mientras tanto, un segundo paquete es enviado y aterriza en 1:2. El encolado de teql devolverá éxito y esto activará la clase 1:2. El problema principal es que teql solo actualiza el qlen visible del padre (sch-&gt;q.qlen) al desencolar. Dado que QFQ solo llamará a desencolar si peek tiene éxito (y el peek de teql siempre devuelve NULL), desencolar nunca será llamado y, por lo tanto, el qlen permanecerá como 0. Con eso en mente, cuando GangMin actualiza el valor lmax de 1:2, qfq_change_class llama a qfq_deact_rm_from_agg. Dado que el qlen del qdisc hijo no fue incrementado, qfq falla al desactivar la clase, pero aún así libera sus punteros del agregado. Así, cuando el primer paquete es reprogramado después de 6.4 segundos (el retardo de netem), se accede a un puntero colgante causando un UAF de GangMin.

References

https://git.kernel.org/stable/c/73d970ff0eddd874a84c953387c7f4464b705fc6patch
https://git.kernel.org/stable/c/ae810e6a8ac4fe25042e6825d2a401207a2e41fbpatch
https://git.kernel.org/stable/c/dad49a67c2d817bfec98e6e45121b351e3a0202cpatch
https://git.kernel.org/stable/c/0686bedfed34155520f3f735cbf3210cb9044380patch
https://git.kernel.org/stable/c/4c7e8aa71c9232cba84c289b4b56cba80b280841patch
https://git.kernel.org/stable/c/16ed73c1282d376b956bff23e5139add061767bapatch
https://git.kernel.org/stable/c/50da4b9d07a7a463e2cfb738f3ad4cff6b2c9c3bpatch
https://access.redhat.com/security/cve/CVE-2026-23074vdb-entry
https://bugzilla.redhat.com/show_bug.cgi?id=2436791issue-tracking
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-23074.json
https://access.redhat.com/errata/RHSA-2026:3810vendor-advisory
https://access.redhat.com/errata/RHSA-2026:3685vendor-advisory

Sources

SourceRecordLicence
CVE ListCVE-2026-23074 changed 2026-10-19CVE Terms of Use
NVDCVE-2026-23074 changed 2026-10-19Public domain