Not scored
net/sched: sch_qfq: Fix null-deref in agg_dequeue
- Severity
- Not scored
- Exploit likelihood
- 0.29% (higher than 14% of CVEs)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: net/sched: sch_qfq: Fix null-deref in agg_dequeue To prevent a potential crash in agg_dequeue (net/sched/sch_qfq.c) when cl->qdisc->ops->peek(cl->qdisc) returns NULL, we check the return value before using it, similar to the existing approach in sch_hfsc.c. To avoid code duplication, the following changes are made: 1. Changed qdisc_warn_nonwc(include/net/pkt_sched.h) into a static inline function. 2. Moved qdisc_peek_len from net/sched/sch_hfsc.c to include/net/pkt_sched.h so that sch_qfq can reuse it. 3. Applied qdisc_peek_len in agg_dequeue to avoid crashing.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 462dbc9101acd38e92eda93c0726857517a24bbd before 71d84658a61322e5630c85c5388fc25e4a2d08b2, from 462dbc9101acd38e92eda93c0726857517a24bbd before 99fc137f178797204d36ac860dd8b31e35baa2df, from 462dbc9101acd38e92eda93c0726857517a24bbd before 1bed56f089f09b465420bf23bb32985c305cfc28, from 462dbc9101acd38e92eda93c0726857517a24bbd before 3c2a8994807623c7655ece205667ae2cf74940aa, from 462dbc9101acd38e92eda93c0726857517a24bbd before 6ffa9d66187188e3068b5a3895e6ae1ee34f9199, from 462dbc9101acd38e92eda93c0726857517a24bbd before 6ff8e74c8f8a68ec07ef837b95425dfe900d060f, from 462dbc9101acd38e92eda93c0726857517a24bbd before dd831ac8221e691e9e918585b1003c7071df0379, 3.8 Not affected: before 3.8, from 5.4.302 up to 5.4.*, from 5.10.247 up to 5.10.*, from 5.15.197 up to 5.15.*, from 6.1.159 up to 6.1.*, from 6.6.116 up to 6.6.* | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: net/sched: sch_qfq: Fix null-deref in agg_dequeue To prevent a potential crash in agg_dequeue (net/sched/sch_qfq.c) when cl->qdisc->ops->peek(cl->qdisc) returns NULL, we check the return value before using it, similar to the existing approach in sch_hfsc.c. To avoid code duplication, the following changes are made: 1. Changed qdisc_warn_nonwc(include/net/pkt_sched.h) into a static inline function. 2. Moved qdisc_peek_len from net/sched/sch_hfsc.c to include/net/pkt_sched.h so that sch_qfq can reuse it. 3. Applied qdisc_peek_len in agg_dequeue to avoid crashing.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: net/sched: sch_qfq: Corrección de desreferencia nula en agg_dequeue Para prevenir un posible fallo en agg_dequeue (net/sched/sch_qfq.c) cuando cl->qdisc->ops->peek(cl->qdisc) devuelve NULL, verificamos el valor de retorno antes de usarlo, de forma similar al enfoque existente en sch_hfsc.c. Para evitar la duplicación de código, se realizan los siguientes cambios: 1. Se cambió qdisc_warn_nonwc(include/net/pkt_sched.h) a una función estática en línea. 2. Se movió qdisc_peek_len de net/sched/sch_hfsc.c a include/net/pkt_sched.h para que sch_qfq pueda reutilizarla. 3. Se aplicó qdisc_peek_len en agg_dequeue para evitar fallos.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-40083 changed 2026-06-16 | CVE Terms of Use |
| NVD | CVE-2025-40083 changed 2026-10-19 | Public domain |