CVE-2025-37914
JSON

7.8high

net_sched: ets: Fix double list add in class with netem as child qdisc

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

Description

In the Linux kernel, the following vulnerability has been resolved: net_sched: ets: Fix double list add in class with netem as child qdisc As described in Gerrard's report [1], there are use cases where a netem child qdisc will make the parent qdisc's enqueue callback reentrant. In the case of ets, there won't be a UAF, but the code will add the same classifier to the list twice, which will cause memory corruption. In addition to checking for qlen being zero, this patch checks whether the class was already added to the active_list (cl_is_active) before doing the addition to cater for the reentrant case. [1] https://lore.kernel.org/netdev/CAHcdcOm+03OD2j6R0=YHKqmy=VgJ8xEOKuP6c7mSgnp-TEJJbw@mail.gmail.com/

Affected

Product or packageVersionsReported by
Linux Linuxfrom dcc68b4d8084e1ac9af0d4022d6b1aff6a139a33 before 24388ba0a1b1b6d4af1b205927ac7f7b119ee4ea, from dcc68b4d8084e1ac9af0d4022d6b1aff6a139a33 before 554acc5a2ea9703e08023eb9a003f9e5a830a502, from dcc68b4d8084e1ac9af0d4022d6b1aff6a139a33 before 9efb6a0fa88e0910d079fdfeb4f7ce4d4ac6c990, from dcc68b4d8084e1ac9af0d4022d6b1aff6a139a33 before 72c3da7e6ceb74e74ddbb5a305a35c9fdfcac6e3, from dcc68b4d8084e1ac9af0d4022d6b1aff6a139a33 before 1f01e9f961605eb397c6ecd1d7b0233dfbf9077c, from dcc68b4d8084e1ac9af0d4022d6b1aff6a139a33 before bc321f714de693aae06e3786f88df2975376d996, from dcc68b4d8084e1ac9af0d4022d6b1aff6a139a33 before 1a6d0c00fa07972384b0c308c72db091d49988b6, 5.6
Not affected: before 5.6, from 5.10.238 up to 5.10.*, from 5.15.182 up to 5.15.*, from 6.1.138 up to 6.1.*, from 6.6.90 up to 6.6.*, from 6.12.28 up to 6.12.*
CVE List
linux linux_kernelfrom 5.6 before 5.10.238, from 5.11 before 5.15.182, from 5.16 before 6.1.138, from 6.2 before 6.6.90, from 6.7 before 6.12.28, from 6.13 before 6.14.6, 6.15NVD
debian debian_linux11.0NVD

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
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-415

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: ets: Fix double list add in class with netem as child qdisc As described in Gerrard's report [1], there are use cases where a netem child qdisc will make the parent qdisc's enqueue callback reentrant. In the case of ets, there won't be a UAF, but the code will add the same classifier to the list twice, which will cause memory corruption. In addition to checking for qlen being zero, this patch checks whether the class was already added to the active_list (cl_is_active) before doing the addition to cater for the reentrant case. [1] https://lore.kernel.org/netdev/CAHcdcOm+03OD2j6R0=YHKqmy=VgJ8xEOKuP6c7mSgnp-TEJJbw@mail.gmail.com/

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net_sched: ets: Se corrige la adición doble de lista en la clase con netem como qdisc secundaria. Como se describe en el informe de Gerrard [1], existen casos de uso en los que una qdisc secundaria netem hará que la devolución de llamada de encolado de la qdisc primaria sea reentrante. En el caso de ets, no habrá un UAF, pero el código agregará el mismo clasificador a la lista dos veces, lo que causará corrupción de memoria. Además de verificar que qlen sea cero, este parche verifica si la clase ya se agregó a active_list (cl_is_active) antes de realizar la adición para atender el caso reentrante. [1] https://lore.kernel.org/netdev/CAHcdcOm+03OD2j6R0=YHKqmy=VgJ8xEOKuP6c7mSgnp-TEJJbw@mail.gmail.com/

References

Sources

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