CVE-2025-40083
publishednet/sched: sch_qfq: Fix null-deref in agg_dequeue
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux462dbc9101acd38e92eda93c0726857517a24bbd to < 71d84658a61322e5630c85c5388fc25e4a2d08b2 · 462dbc9101acd38e92eda93c0726857517a24bbd to < 99fc137f178797204d36ac860dd8b31e35baa2df · 462dbc9101acd38e92eda93c0726857517a24bbd to < 1bed56f089f09b465420bf23bb32985c305cfc28 · 462dbc9101acd38e92eda93c0726857517a24bbd to < 3c2a8994807623c7655ece205667ae2cf74940aa · 462dbc9101acd38e92eda93c0726857517a24bbd to < 6ffa9d66187188e3068b5a3895e6ae1ee34f9199 · 462dbc9101acd38e92eda93c0726857517a24bbd to < 6ff8e74c8f8a68ec07ef837b95425dfe900d060f · 462dbc9101acd38e92eda93c0726857517a24bbd to < dd831ac8221e691e9e918585b1003c7071df0379 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux3.8 (affected) · 0 to < 3.8 (unaffected · semver) · 5.4.302 through 5.4.* (unaffected · semver) · 5.10.247 through 5.10.* (unaffected · semver) · 5.15.197 through 5.15.* (unaffected · semver) · 6.1.159 through 6.1.* (unaffected · semver) · 6.6.116 through 6.6.* (unaffected · semver) · 6.12.57 through 6.12.* (unaffected · semver) · 6.16 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2026-112 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.15-2025-096 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.4-2026-118 | Fixed | Not stated | Amazon Linux assessment |
| Debian | bullseye | linux | Advisory build | 5.10.247-1 | DLA-4404-1 |
| Oracle Linux | 10 | kernel-uekaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
Show 100 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-1350 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1495 | Fixed | Not stated | Amazon Linux assessment |
| Debian | bullseye | linux-6.1 | Advisory build | 6.1.159-1~deb11u1 | DLA-4436-1 |
| Oracle Linux | 10 | kernel-uekx86_64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-debug-modules-corex86_64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopx86_64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbx86_64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessx86_64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-develaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-develx86_64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-docx86_64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-modulesaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-modulesx86_64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-modules-coreaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-modules-corex86_64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-modules-desktopaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-modules-desktopx86_64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-modules-extraaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-modules-extrax86_64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-modules-usbaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-modules-usbx86_64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessx86_64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-toolsaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek-toolsx86_64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek64kaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek64k-coreaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek64k-develaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek64k-modulesaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek64k-modules-coreaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek64k-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek64k-modules-desktopaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek64k-modules-extraaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek64k-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek64k-modules-usbaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 10 | kernel-uek64k-modules-wirelessaarch64 | Advisory build | 0:6.12.0-107.59.3.2.el10uek | ELSA-2026-50006 |
| Oracle Linux | 7 | kernel-uekx86_64 | Advisory build | 0:5.4.17-2136.352.5.el7uek | ELSA-2026-50100 |
| Oracle Linux | 7 | kernel-uek-containerx86_64 | Advisory build | 0:5.4.17-2136.352.5.el7uek | ELSA-2026-50100 |
| Oracle Linux | 7 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.4.17-2136.352.5.el7uek | ELSA-2026-50100 |
| Oracle Linux | 7 | kernel-uek-debugx86_64 | Advisory build | 0:5.4.17-2136.352.5.el7uek | ELSA-2026-50100 |
| Oracle Linux | 7 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.4.17-2136.352.5.el7uek | ELSA-2026-50100 |
| Oracle Linux | 7 | kernel-uek-develx86_64 | Advisory build | 0:5.4.17-2136.352.5.el7uek | ELSA-2026-50100 |
| Oracle Linux | 7 | kernel-uek-docx86_64 | Advisory build | 0:5.4.17-2136.352.5.el7uek | ELSA-2026-50100 |
| Oracle Linux | 7 | kernel-uek-toolsx86_64 | Advisory build | 0:5.4.17-2136.352.5.el7uek | ELSA-2026-50100 |
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:5.15.0-317.197.5.1.el8uek | ELSA-2026-50113 |
| Oracle Linux | 8 | bpftoolx86_64 | Advisory build | 0:5.15.0-317.197.5.1.el8uek | ELSA-2026-50113 |
| Oracle Linux | 8 | kernel-uekaarch64 | Advisory build | 0:5.15.0-317.197.5.1.el8uek | ELSA-2026-50113 |
| Oracle Linux | 8 | kernel-uekaarch64 | Advisory build | 0:5.4.17-2136.352.5.el8uek | ELSA-2026-50100 |
| Oracle Linux | 8 | kernel-uekx86_64 | Advisory build | 0:5.15.0-317.197.5.1.el8uek | ELSA-2026-50113 |
| Oracle Linux | 8 | kernel-uekx86_64 | Advisory build | 0:5.4.17-2136.352.5.el8uek | ELSA-2026-50100 |
| Oracle Linux | 8 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-317.197.5.1.el8uek | ELSA-2026-50113 |
| Oracle Linux | 8 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-317.197.5.1.el8uek | ELSA-2026-50113 |
| Oracle Linux | 8 | kernel-uek-containerx86_64 | Advisory build | 0:5.4.17-2136.352.5.el8uek | ELSA-2026-50100 |
| Oracle Linux | 8 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-317.197.5.1.el8uek | ELSA-2026-50113 |
| Oracle Linux | 8 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-317.197.5.1.el8uek | ELSA-2026-50113 |
| Oracle Linux | 8 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.4.17-2136.352.5.el8uek | ELSA-2026-50100 |
| Oracle Linux | 8 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-317.197.5.1.el8uek | ELSA-2026-50113 |
| Oracle Linux | 8 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-317.197.5.1.el8uek | ELSA-2026-50113 |
| Oracle Linux | 8 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-317.197.5.1.el8uek | ELSA-2026-50113 |
| Oracle Linux | 8 | kernel-uek-debugaarch64 | Advisory build | 0:5.4.17-2136.352.5.el8uek | ELSA-2026-50100 |
| Oracle Linux | 8 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-317.197.5.1.el8uek | ELSA-2026-50113 |
| Oracle Linux | 8 | kernel-uek-debugx86_64 | Advisory build | 0:5.4.17-2136.352.5.el8uek | ELSA-2026-50100 |
| Oracle Linux | 8 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-317.197.5.1.el8uek | ELSA-2026-50113 |
| Oracle Linux | 8 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-317.197.5.1.el8uek | ELSA-2026-50113 |
| Oracle Linux | 8 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-317.197.5.1.el8uek | ELSA-2026-50113 |
| Oracle Linux | 8 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.4.17-2136.352.5.el8uek | ELSA-2026-50100 |
| Oracle Linux | 8 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.15.0-317.197.5.1.el8uek | ELSA-2026-50113 |
| Oracle Linux | 8 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.4.17-2136.352.5.el8uek | ELSA-2026-50100 |
| Oracle Linux | 8 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:5.15.0-317.197.5.1.el8uek | ELSA-2026-50113 |
| Oracle Linux | 8 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:5.15.0-317.197.5.1.el8uek | ELSA-2026-50113 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:5.15.0-317.197.5.1.el8uek | ELSA-2026-50113 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:5.15.0-317.197.5.1.el8uek | ELSA-2026-50113 |
| Oracle Linux | 8 | kernel-uek-develaarch64 | Advisory build | 0:5.15.0-317.197.5.1.el8uek | ELSA-2026-50113 |
| Oracle Linux | 8 | kernel-uek-develaarch64 | Advisory build | 0:5.4.17-2136.352.5.el8uek | ELSA-2026-50100 |
| Oracle Linux | 8 | kernel-uek-develx86_64 | Advisory build | 0:5.15.0-317.197.5.1.el8uek | ELSA-2026-50113 |
| Oracle Linux | 8 | kernel-uek-develx86_64 | Advisory build | 0:5.4.17-2136.352.5.el8uek | ELSA-2026-50100 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 462dbc9101acd38e92eda93c0726857517a24bbd to < 71d84658a61322e5630c85c5388fc25e4a2d08b2 (affected · git)462dbc9101acd38e92eda93c0726857517a24bbd to < 99fc137f178797204d36ac860dd8b31e35baa2df (affected · git)462dbc9101acd38e92eda93c0726857517a24bbd to < 1bed56f089f09b465420bf23bb32985c305cfc28 (affected · git)462dbc9101acd38e92eda93c0726857517a24bbd to < 3c2a8994807623c7655ece205667ae2cf74940aa (affected · git)462dbc9101acd38e92eda93c0726857517a24bbd to < 6ffa9d66187188e3068b5a3895e6ae1ee34f9199 (affected · git)462dbc9101acd38e92eda93c0726857517a24bbd to < 6ff8e74c8f8a68ec07ef837b95425dfe900d060f (affected · git)462dbc9101acd38e92eda93c0726857517a24bbd to < dd831ac8221e691e9e918585b1003c7071df0379 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 3.8 (affected)0 to < 3.8 (unaffected · semver)5.4.302 through 5.4.* (unaffected · semver)5.10.247 through 5.10.* (unaffected · semver)5.15.197 through 5.15.* (unaffected · semver)6.1.159 through 6.1.* (unaffected · semver)6.6.116 through 6.6.* (unaffected · semver)6.12.57 through 6.12.* (unaffected · semver)6.16 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
7- https://git.kernel.org/stable/c/1bed56f089f09b465420bf23bb32985c305cfc28
- https://git.kernel.org/stable/c/3c2a8994807623c7655ece205667ae2cf74940aa
- https://git.kernel.org/stable/c/6ff8e74c8f8a68ec07ef837b95425dfe900d060f
- https://git.kernel.org/stable/c/6ffa9d66187188e3068b5a3895e6ae1ee34f9199
- https://git.kernel.org/stable/c/71d84658a61322e5630c85c5388fc25e4a2d08b2
- https://git.kernel.org/stable/c/99fc137f178797204d36ac860dd8b31e35baa2df
- https://git.kernel.org/stable/c/dd831ac8221e691e9e918585b1003c7071df0379
Provider assertions
2Linux · cna
net/sched: sch_qfq: Fix null-deref in agg_dequeue
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 23bc4a7550e63047de1c028ec4e3ac7e9c374e79f1f0606e995cc210d1ea7572
- Ingested
- 23 Sep 2026, 08:48:04 UTC
- Source record
- Official CVE record