CVE-2025-38637
JSON

5.5medium

net_sched: skbprio: Remove overly strict queue assertions

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.34% (higher than 28% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: net_sched: skbprio: Remove overly strict queue assertions In the current implementation, skbprio enqueue/dequeue contains an assertion that fails under certain conditions when SKBPRIO is used as a child qdisc under TBF with specific parameters. The failure occurs because TBF sometimes peeks at packets in the child qdisc without actually dequeuing them when tokens are unavailable. This peek operation creates a discrepancy between the parent and child qdisc queue length counters. When TBF later receives a high-priority packet, SKBPRIO's queue length may show a different value than what's reflected in its internal priority queue tracking, triggering the assertion. The fix removes this overly strict assertions in SKBPRIO, they are not necessary at all.

Affected

Product or packageVersionsReported by
Linux Linuxfrom aea5f654e6b78a0c976f7a25950155932c77a53f before 7abc8318ce0712182bf0783dcfdd9a6a8331160e, from aea5f654e6b78a0c976f7a25950155932c77a53f before 1284733bab736e598341f1d3f3b94e2a322864a8, from aea5f654e6b78a0c976f7a25950155932c77a53f before 32ee79682315e6d3c99947b3f38b078a09a66919, from aea5f654e6b78a0c976f7a25950155932c77a53f before 1dcc144c322a8d526b791135604c0663f1af9d85, from aea5f654e6b78a0c976f7a25950155932c77a53f before 864ca690ff135078d374bd565b9872f161c614bc, from aea5f654e6b78a0c976f7a25950155932c77a53f before 2f35b7673a3aa3d09b3eb05811669622ebaa98ca, from aea5f654e6b78a0c976f7a25950155932c77a53f before 2286770b07cb5268c03d11274b8efd43dff0d380, from aea5f654e6b78a0c976f7a25950155932c77a53f before 034b293bf17c124fec0f0e663f81203b00aa7a50 and 2 more
Not affected: before 4.19, from 5.4.292 up to 5.4.*, from 5.10.236 up to 5.10.*, from 5.15.180 up to 5.15.*, from 6.1.134 up to 6.1.*, from 6.6.87 up to 6.6.*
CVE List
linux linux_kernelfrom 4.19 before 5.4.292, from 5.5 before 5.10.236, from 5.11 before 5.15.180, from 5.16 before 6.1.134, from 6.2 before 6.6.87, from 6.7 before 6.12.23, from 6.13 before 6.13.11, from 6.14 before 6.14.2NVD
debian debian_linux11.0NVD

Classification

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: net_sched: skbprio: Remove overly strict queue assertions In the current implementation, skbprio enqueue/dequeue contains an assertion that fails under certain conditions when SKBPRIO is used as a child qdisc under TBF with specific parameters. The failure occurs because TBF sometimes peeks at packets in the child qdisc without actually dequeuing them when tokens are unavailable. This peek operation creates a discrepancy between the parent and child qdisc queue length counters. When TBF later receives a high-priority packet, SKBPRIO's queue length may show a different value than what's reflected in its internal priority queue tracking, triggering the assertion. The fix removes this overly strict assertions in SKBPRIO, they are not necessary at all.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net_sched: skbprio: eliminar aserciones de cola demasiado estrictas En la implementación actual, skbprio enqueue/dequeue contiene una aserción que falla bajo ciertas condiciones cuando SKBPRIO se usa como una qdisc secundaria bajo TBF con parámetros específicos. El fallo se produce porque TBF a veces echa un vistazo a los paquetes en la qdisc secundaria sin realmente sacarlos de la cola cuando los tokens no están disponibles. Esta operación de vistazo crea una discrepancia entre los contadores de longitud de cola de la qdisc primaria y secundaria. Cuando TBF recibe posteriormente un paquete de alta prioridad, la longitud de cola de SKBPRIO puede mostrar un valor diferente al que se refleja en su seguimiento interno de cola de prioridad, lo que activa la aserción. La corrección elimina estas aserciones demasiado estrictas en SKBPRIO, no son necesarias en absoluto.

References

https://git.kernel.org/stable/c/7abc8318ce0712182bf0783dcfdd9a6a8331160epatch
https://git.kernel.org/stable/c/1284733bab736e598341f1d3f3b94e2a322864a8patch
https://git.kernel.org/stable/c/32ee79682315e6d3c99947b3f38b078a09a66919patch
https://git.kernel.org/stable/c/1dcc144c322a8d526b791135604c0663f1af9d85patch
https://git.kernel.org/stable/c/864ca690ff135078d374bd565b9872f161c614bcpatch
https://git.kernel.org/stable/c/2f35b7673a3aa3d09b3eb05811669622ebaa98capatch
https://git.kernel.org/stable/c/2286770b07cb5268c03d11274b8efd43dff0d380patch
https://git.kernel.org/stable/c/034b293bf17c124fec0f0e663f81203b00aa7a50patch
https://git.kernel.org/stable/c/ce8fe975fd99b49c29c42e50f2441ba53112b2e8patch
https://lists.debian.org/debian-lts-announce/2025/05/msg00045.htmlthird-party-advisory
https://lists.debian.org/debian-lts-announce/2025/05/msg00030.htmlthird-party-advisory

Sources

SourceRecordLicence
CVE ListCVE-2025-38637 changed 2026-05-11CVE Terms of Use
NVDCVE-2025-38637 changed 2026-06-17Public domain