VDB

CVE-2025-40083

CVE-2025-40083 PUBLISHED

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.

PackageEcosystemFixed in
kernel6.12-headersAmazon Linux1:6.12.58-82.121.amzn2023
kernel-develAmazon Linux1:6.1.159-181.297.amzn2023

Affected products

VendorProductVersions
LinuxLinux462dbc9101acd38e92eda93c0726857517a24bbd, 462dbc9101acd38e92eda93c0726857517a24bbd, 462dbc9101acd38e92eda93c0726857517a24bbd
LinuxLinux3.8, 0, 5.4.302
amazon:2023kernel6.12-headers0
amazon:2023kernel-devel0
LinuxLinux462dbc9101acd38e92eda93c0726857517a24bbd, 462dbc9101acd38e92eda93c0726857517a24bbd, 462dbc9101acd38e92eda93c0726857517a24bbd
amazon:2023kernel-tools0
amazon:2023kernel0
amazon:2023kernel-libbpf-static0
amazon:2023kernel-livepatch-6.12.58-82.1210
amazon:2023kernel6.12-libbpf-devel0
amazon:2023kernel-headers0
amazon:2023kernel-modules-extra-common0
amazon:2023kernel-libbpf0
linuxlinux_kernel3.8, 3.8, 3.8
amazon:2023kernel-modules-extra0
amazon:2023bpftool6.120
amazon:2023bpftool0
amazon:2023kernel-libbpf-devel0
amazon:2023kernel6.120
amazon:2023kernel-livepatch-6.1.159-181.2970

…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

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›