Home

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.

PUBLISHED Reserved 2025-04-16 | Published 2025-10-29 | Updated 2025-10-29 | Assigner Linux

Product status

Default status
unaffected

1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (git) before dd831ac8221e691e9e918585b1003c7071df0379
affected

Default status
affected

6.16 (original_commit_for_fix)
unaffected

References

git.kernel.org/...c/dd831ac8221e691e9e918585b1003c7071df0379

cve.org (CVE-2025-40083)

nvd.nist.gov (CVE-2025-40083)

Download JSON