CVE-2025-40083
net/sched: sch_qfq: Fix null-deref in agg_dequeue
Reported by linux · Published October 29, 2025
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel6.12-headers | Amazon Linux | 1:6.12.58-82.121.amzn2023 |
| kernel-devel | Amazon Linux | 1:6.1.159-181.297.amzn2023 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 462dbc9101acd38e92eda93c0726857517a24bbd, 462dbc9101acd38e92eda93c0726857517a24bbd, 462dbc9101acd38e92eda93c0726857517a24bbd |
| Linux | Linux | 3.8, 0, 5.4.302 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | kernel-devel | 0 |
| Linux | Linux | 462dbc9101acd38e92eda93c0726857517a24bbd, 462dbc9101acd38e92eda93c0726857517a24bbd, 462dbc9101acd38e92eda93c0726857517a24bbd |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2023 | kernel-livepatch-6.12.58-82.121 | 0 |
| amazon:2023 | kernel6.12-libbpf-devel | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel-libbpf | 0 |
| linux | linux_kernel | 3.8, 3.8, 3.8 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | kernel-livepatch-6.1.159-181.297 | 0 |
…and 12 more
Timeline
- Oct 29, 2025 CVE Published
- Oct 30, 2025 EPSS Score (30 in total, the first dated here)
- Mar 29, 2026 Distribution Patch (75 in total, the first dated here)
- Mar 29, 2026 Security Advisory (121 in total, the first dated here)
- Jun 8, 2026 Coalition ESS Score
- Jun 16, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-40083
vulnetix vdb fixes CVE-2025-40083
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-40083/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart