CVE-2025-40083

Linux Kernel - Denial of Service via Null Dereference in sch_qfq agg_dequeue

Title source: llm
STIX 2.1

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.

Scores

EPSS 0.0019
EPSS Percentile 8.6%

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

Status published
Products (22)
linux/Kernel 3.8.0 - 5.4.302linux
linux/Kernel 5.11.0 - 5.15.197linux
linux/Kernel 5.16.0 - 6.1.159linux
linux/Kernel 5.5.0 - 5.10.247linux
linux/Kernel 6.2.0 - 6.6.116linux
linux/Kernel 6.7.0 - 6.12.57linux
Linux/Linux < 3.8
Linux/Linux 3.8
Linux/Linux 462dbc9101acd38e92eda93c0726857517a24bbd - 1bed56f089f09b465420bf23bb32985c305cfc28
Linux/Linux 462dbc9101acd38e92eda93c0726857517a24bbd - 3c2a8994807623c7655ece205667ae2cf74940aa
... and 12 more
Published Oct 29, 2025
Tracked Since Feb 18, 2026