CVE-2025-37992

In the Linux kernel, the following vulnerability has been resolved: net_sched: Flush gso_skb list too during ->change() Previously, when reducing a qdisc's limit via the ->change() operation, only the main skb queue was trimmed, potentially leaving packets in the gso_skb list. This could result in NULL pointer dereference when we only check sch->limit against sch->q.qlen. This patch introduces a new helper, qdisc_dequeue_internal(), which ensures both the gso_skb list and the main queue are properly flushed when trimming excess packets. All relevant qdiscs (codel, fq, fq_codel, fq_pie, hhf, pie) are updated to use this helper in their ->change() routines.
CVSS

No CVSS.

Configurations

No configuration.

History

04 Jun 2025, 13:15

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

28 May 2025, 15:01

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net_sched: Vaciar también la lista gso_skb durante ->change(). Anteriormente, al reducir el límite de una qdisc mediante la operación ->change(), solo se recortaba la cola principal de skb, lo que podía dejar paquetes en la lista gso_skb. Esto podía provocar una desreferencia de puntero nulo al comparar únicamente sch->limit con sch->q.qlen. Este parche introduce un nuevo asistente, qdisc_dequeue_internal(), que garantiza que tanto la lista gso_skb como la cola principal se vacíen correctamente al recortar los paquetes sobrantes. Todas las qdisc relevantes (codel, fq, fq_codel, fq_pie, hhf, pie) se han actualizado para usar este asistente en sus rutinas ->change().

26 May 2025, 15:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-05-26 15:15

Updated : 2025-06-04 13:15


NVD link : CVE-2025-37992

Mitre link : CVE-2025-37992

CVE.ORG link : CVE-2025-37992


JSON object : View

Products Affected

No product.

CWE

No CWE.