CVE-2025-38553

In the Linux kernel, the following vulnerability has been resolved: net/sched: Restrict conditions for adding duplicating netems to qdisc tree netem_enqueue's duplication prevention logic breaks when a netem resides in a qdisc tree with other netems - this can lead to a soft lockup and OOM loop in netem_dequeue, as seen in [1]. Ensure that a duplicating netem cannot exist in a tree with other netems. Previous approaches suggested in discussions in chronological order: 1) Track duplication status or ttl in the sk_buff struct. Considered too specific a use case to extend such a struct, though this would be a resilient fix and address other previous and potential future DOS bugs like the one described in loopy fun [2]. 2) Restrict netem_enqueue recursion depth like in act_mirred with a per cpu variable. However, netem_dequeue can call enqueue on its child, and the depth restriction could be bypassed if the child is a netem. 3) Use the same approach as in 2, but add metadata in netem_skb_cb to handle the netem_dequeue case and track a packet's involvement in duplication. This is an overly complex approach, and Jamal notes that the skb cb can be overwritten to circumvent this safeguard. 4) Prevent the addition of a netem to a qdisc tree if its ancestral path contains a netem. However, filters and actions can cause a packet to change paths when re-enqueued to the root from netem duplication, leading us to the current solution: prevent a duplicating netem from inhabiting the same tree as other netems. [1] https://lore.kernel.org/netdev/8DuRWwfqjoRDLDmBMlIfbrsZg9Gx50DHJc1ilxsEBNe2D6NMoigR_eIRIG0LOjMc3r10nUUZtArXx4oZBIdUfZQrwjcQhdinnMis_0G7VEk=@willsroot.io/ [2] https://lwn.net/Articles/719297/
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.6.12:-:*:*:*:*:*:*

Configuration 2 (hide)

cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*

History

08 Jan 2026, 20:49

Type Values Removed Values Added
CPE cpe:2.3:o:linux:linux_kernel:2.6.12:-:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
CWE CWE-667
First Time Linux
Debian
Debian debian Linux
Linux linux Kernel
References () https://git.kernel.org/stable/c/09317dfb681ac5a96fc69bea0c54441cf91b8270 - () https://git.kernel.org/stable/c/09317dfb681ac5a96fc69bea0c54441cf91b8270 - Patch
References () https://git.kernel.org/stable/c/103c4e27ec9f5fe53022e46e976abf52c7221baf - () https://git.kernel.org/stable/c/103c4e27ec9f5fe53022e46e976abf52c7221baf - Patch
References () https://git.kernel.org/stable/c/250f8796006c0f2bc638ce545f601d49ae8d528b - () https://git.kernel.org/stable/c/250f8796006c0f2bc638ce545f601d49ae8d528b - Patch
References () https://git.kernel.org/stable/c/325f5ec67cc0a77f2d0d453445b9857f1cd06c76 - () https://git.kernel.org/stable/c/325f5ec67cc0a77f2d0d453445b9857f1cd06c76 - Patch
References () https://git.kernel.org/stable/c/795cb393e38977aa991e70a9363da0ee734b2114 - () https://git.kernel.org/stable/c/795cb393e38977aa991e70a9363da0ee734b2114 - Patch
References () https://git.kernel.org/stable/c/ad340a4b4adb855b18b3666f26ad65c8968e2deb - () https://git.kernel.org/stable/c/ad340a4b4adb855b18b3666f26ad65c8968e2deb - Patch
References () https://git.kernel.org/stable/c/cab2809944989889f88a1a8b5cff1c78460c72cb - () https://git.kernel.org/stable/c/cab2809944989889f88a1a8b5cff1c78460c72cb - Patch
References () https://git.kernel.org/stable/c/ec8e0e3d7adef940cdf9475e2352c0680189d14e - () https://git.kernel.org/stable/c/ec8e0e3d7adef940cdf9475e2352c0680189d14e - Patch
References () https://git.kernel.org/stable/c/f088b6ebe8797a3f948d2cae47f34bfb45cc6522 - () https://git.kernel.org/stable/c/f088b6ebe8797a3f948d2cae47f34bfb45cc6522 - Patch
References () https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html - () https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html - Third Party Advisory, Mailing List
References () https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html - () https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html - Third Party Advisory, Mailing List

03 Nov 2025, 18:16

Type Values Removed Values Added
References
  • () https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html -
  • () https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html -

28 Aug 2025, 15:15

Type Values Removed Values Added
References
  • () https://git.kernel.org/stable/c/ad340a4b4adb855b18b3666f26ad65c8968e2deb -
  • () https://git.kernel.org/stable/c/cab2809944989889f88a1a8b5cff1c78460c72cb -
  • () https://git.kernel.org/stable/c/f088b6ebe8797a3f948d2cae47f34bfb45cc6522 -

19 Aug 2025, 13:42

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net/sched: Restringir las condiciones para agregar netems duplicados al árbol qdisc La lógica de prevención de duplicación de netem_enqueue se rompe cuando un netem reside en un árbol qdisc con otros netems: esto puede provocar un bloqueo suave y un bucle OOM en netem_dequeue, como se ve en [1]. Asegúrese de que un netem duplicado no pueda existir en un árbol con otros netems. Enfoques previos sugeridos en discusiones en orden cronológico: 1) Rastrear el estado de duplicación o ttl en la estructura sk_buff. Se considera un caso de uso demasiado específico para extender dicha estructura, aunque esta sería una solución resiliente y abordaría otros errores de DOS anteriores y futuros potenciales como el descrito en loopy fun [2]. 2) Restringir la profundidad de recursión de netem_enqueue como en act_mirred con una variable por CPU. Sin embargo, netem_dequeue puede ejecutar la función en cola en su elemento secundario, y la restricción de profundidad podría omitirse si el elemento secundario es un netem. 3) Use el mismo enfoque que en el punto 2, pero agregue metadatos en netem_skb_cb para gestionar el caso de netem_dequeue y rastrear la participación de un paquete en la duplicación. Este es un enfoque excesivamente complejo, y Jamal señala que el skb_cb puede sobrescribirse para eludir esta protección. 4) Evite la adición de un netem a un árbol qdisc si su ruta ancestral contiene un netem. Sin embargo, los filtros y las acciones pueden provocar que un paquete cambie de ruta al volver a encolarse a la raíz desde la duplicación de netem, lo que nos lleva a la solución actual: evitar que un netem duplicado ocupe el mismo árbol que otros netems. [1] https://lore.kernel.org/netdev/8DuRWwfqjoRDLDmBMlIfbrsZg9Gx50DHJc1ilxsEBNe2D6NMoigR_eIRIG0LOjMc3r10nUUZtArXx4oZBIdUfZQrwjcQhdinnMis_0G7VEk=@willsroot.io/ [2] https://lwn.net/Articles/719297/

19 Aug 2025, 06:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-08-19 06:15

Updated : 2026-01-08 20:49


NVD link : CVE-2025-38553

Mitre link : CVE-2025-38553

CVE.ORG link : CVE-2025-38553


JSON object : View

Products Affected

debian

  • debian_linux

linux

  • linux_kernel
CWE
CWE-667

Improper Locking