CVE-2025-40083

published 29 Oct 2025 · updated 16 Jun 2026

net/sched: sch_qfq: Fix null-deref in agg_dequeue

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 1bed56f089f09b465420bf23bb32985c305cfc28, Kernel 3c2a8994807623c7655ece205667ae2cf74940aa, Kernel 6ff8e74c8f8a68ec07ef837b95425dfe900d060f and 4 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=3.8, >=462dbc9101acd38e92eda93c0726857517a24bbd <1bed56f089f09b465420bf23bb32985c305cfc28, >=462dbc9101acd38e92eda93c0726857517a24bbd <3c2a8994807623c7655ece205667ae2cf74940aa, >=462dbc9101acd38e92eda93c0726857517a24bbd <6ff8e74c8f8a68ec07ef837b95425dfe900d060f, >=462dbc9101acd38e92eda93c0726857517a24bbd <6ffa9d66187188e3068b5a3895e6ae1ee34f9199, >=462dbc9101acd38e92eda93c0726857517a24bbd <71d84658a61322e5630c85c5388fc25e4a2d08b2, >=462dbc9101acd38e92eda93c0726857517a24bbd <99fc137f178797204d36ac860dd8b31e35baa2df, >=462dbc9101acd38e92eda93c0726857517a24bbd <dd831ac8221e691e9e918585b1003c7071df03791bed56f089f09b465420bf23bb32985c305cfc28, 3c2a8994807623c7655ece205667ae2cf74940aa, 6ff8e74c8f8a68ec07ef837b95425dfe900d060f, 6ffa9d66187188e3068b5a3895e6ae1ee34f9199, 71d84658a61322e5630c85c5388fc25e4a2d08b2, 99fc137f178797204d36ac860dd8b31e35baa2df, dd831ac8221e691e9e918585b1003c7071df0379

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-40083 severity on Zeptric[![CVE-2025-40083](https://zeptric.io/badge/cve/CVE-2025-40083.svg)](https://zeptric.io/cve/CVE-2025-40083)