CVE-2025-40083
net/sched: sch_qfq: Fix null-deref in agg_dequeue
Check your servers for CVE-2025-40083
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-40083 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 11.3% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 16 Jun 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 462dbc9101acd38e92eda93c0726857517a24bbd, before 71d84658a61322e5630c85c5388fc25e4a2d08b2 affected from 462dbc9101acd38e92eda93c0726857517a24bbd, before 99fc137f178797204d36ac860dd8b31e35baa2df affected from 462dbc9101acd38e92eda93c0726857517a24bbd, before 1bed56f089f09b465420bf23bb32985c305cfc28 affected from 462dbc9101acd38e92eda93c0726857517a24bbd, before 3c2a8994807623c7655ece205667ae2cf74940aa affected from 462dbc9101acd38e92eda93c0726857517a24bbd, before 6ffa9d66187188e3068b5a3895e6ae1ee34f9199 affected from 462dbc9101acd38e92eda93c0726857517a24bbd, before 6ff8e74c8f8a68ec07ef837b95425dfe900d060f affected from 462dbc9101acd38e92eda93c0726857517a24bbd, before dd831ac8221e691e9e918585b1003c7071df0379
Other versions: unaffected
|
| Linux |
affected 3.8 unaffected before 3.8 unaffected from 5.4.302 up to and including 5.4.* unaffected from 5.10.247 up to and including 5.10.* unaffected from 5.15.197 up to and including 5.15.* unaffected from 6.1.159 up to and including 6.1.* unaffected from 6.6.116 up to and including 6.6.* unaffected from 6.12.57 up to and including 6.12.* unaffected 6.16 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-40083 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-40083
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-40083
trivy image --scanners vuln IMAGE | grep CVE-2025-40083
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/71d84658a61322e5630c85c5388fc25e4a2d08b2 git.kernel.org
- https://git.kernel.org/stable/c/99fc137f178797204d36ac860dd8b31e35baa2df git.kernel.org
- https://git.kernel.org/stable/c/1bed56f089f09b465420bf23bb32985c305cfc28 git.kernel.org
- https://git.kernel.org/stable/c/3c2a8994807623c7655ece205667ae2cf74940aa git.kernel.org
- https://git.kernel.org/stable/c/6ffa9d66187188e3068b5a3895e6ae1ee34f9199 git.kernel.org
- https://git.kernel.org/stable/c/6ff8e74c8f8a68ec07ef837b95425dfe900d060f git.kernel.org
- https://git.kernel.org/stable/c/dd831ac8221e691e9e918585b1003c7071df0379 git.kernel.org
Source: the record CVE-2025-40083 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse