CVE-2025-40083

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

N/A
Published: October 29, 2025 at 01:37 PM UTC
Updated: October 19, 2026 at 09:10 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
N/A
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.8462dbc9101acd38e92eda93c0726857517a24bbd
Vendor states this is fixed in 1bed56f089f09b465420bf23bb32985c305cfc28 (fixed)
Vendor states this is fixed in 3c2a8994807623c7655ece205667ae2cf74940aa (fixed)
Vendor states this is fixed in 6ff8e74c8f8a68ec07ef837b95425dfe900d060f (fixed)
Vendor states this is fixed in 6ffa9d66187188e3068b5a3895e6ae1ee34f9199 (fixed)
Vendor states this is fixed in 71d84658a61322e5630c85c5388fc25e4a2d08b2 (fixed)
Vendor states this is fixed in 99fc137f178797204d36ac860dd8b31e35baa2df (fixed)
Vendor states this is fixed in dd831ac8221e691e9e918585b1003c7071df0379 (fixed)
Vendor states this is fixed in 3.8 (unaffected)
Vendor states this is fixed in 5.10.247 (unaffected)
Vendor states this is fixed in 5.15.197 (unaffected)
Vendor states this is fixed in 5.4.302 (unaffected)
Vendor states this is fixed in 6.1.159 (unaffected)
Vendor states this is fixed in 6.12.57 (unaffected)
Vendor states this is fixed in 6.16 (unaffected)
Vendor states this is fixed in 6.6.116 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

Quick Info

StatusDEFERRED

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card