CVE-2025-40083: net/sched: sch_qfq: Fix null-deref in agg_dequeue
Vulnerability summary
CVE-2025-40083 is a medium (CVSS 6.8) vulnerability in linux. EPSS estimates a 0.21% chance of exploitation in the next 30 days, higher than 11.3% of scored vulnerabilities.
Not severe (CVSS 6.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 38 · Related 36Timeline
- 29-10-2025PublishedVulnerability first disclosed.
- 16-06-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
1 score · 1 source · 1 versionEPSS trend
Probability
0.21%
Chance of exploitation in the next 30 days
Percentile
11%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.21% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu149 products
- linuxAll versions (No fix recorded) | < 5.15.0-173.183 | < 6.8.0-106.106
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 5.15.0-1103.110 | < 6.8.0-1050.53
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Debian1 product
- linux< 6.1.159-1 | < 6.12.57-1 | < 6.16.3-1
Linux1 product
- linux≥ 462dbc9101acd38e92eda93c0726857517a24bbd, < 71d84658a61322e5630c85c5388fc25e4a2d08b2 | ≥ 462dbc9101acd38e92eda93c0726857517a24bbd, < 99fc137f178797204d36ac860dd8b31e35baa2df | ≥ 462dbc9101acd38e92eda93c0726857517a24bbd, < 1bed56f089f09b465420bf23bb32985c305cfc28 | ≥ 462dbc9101acd38e92eda93c0726857517a24bbd, < 3c2a8994807623c7655ece205667ae2cf74940aa | ≥ 462dbc9101acd38e92eda93c0726857517a24bbd, < 6ffa9d66187188e3068b5a3895e6ae1ee34f9199 | ≥ 462dbc9101acd38e92eda93c0726857517a24bbd, < 6ff8e74c8f8a68ec07ef837b95425dfe900d060f | ≥ 462dbc9101acd38e92eda93c0726857517a24bbd, < dd831ac8221e691e9e918585b1003c7071df0379 | 3.8
3 vendors · 151 products