CVE-2026-52997
net/sched: sch_dualpi2: drain both C-queue and L-queue in dualpi2_change()
Reported by linux · Published June 24, 2026
In the Linux kernel, the following vulnerability has been resolved: net/sched: sch_dualpi2: drain both C-queue and L-queue in dualpi2_change() Fix dualpi2_change() to correctly enforce updated limit and memlimit values after a configuration change of the dualpi2 qdisc. Before this patch, dualpi2_change() always attempted to dequeue packets via the root qdisc (C-queue) when reducing backlog or memory usage, and unconditionally assumed that a valid skb will be returned. When traffic classification results in packets being queued in the L-queue while the C-queue is empty, this leads to a NULL skb dereference during limit or memlimit enforcement. This is fixed by first dequeuing from the C-queue path if it is non-empty. Once the C-queue is empty, packets are dequeued directly from the L-queue. Return values from qdisc_dequeue_internal() are checked for both queues. When dequeuing from the L-queue, the parent qdisc qlen and backlog counters are updated explicitly to keep overall qdisc statistics consistent.
EPSS 0.16% · 5.3th percentile
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.18-headers | Amazon Linux | 1:6.18.33-63.124.amzn2023 |
| python3-perf6.18 | Amazon Linux | 1:6.18.33-63.124.amzn2023 |
| kernel6.18 | Amazon Linux | 1:6.18.33-63.124.amzn2023 |
| kernel-livepatch-6.18.33-63.124 | Amazon Linux | 1:1.0-0.amzn2023 |
| perf6.18 | Amazon Linux | 1:6.18.33-63.124.amzn2023 |
| kernel6.18-modules-extra-common | Amazon Linux | 1:6.18.33-63.124.amzn2023 |
| Linux | Linux | 86cf2eba2056bcf9c41fba260e599bd95bf9943b |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 320d031ad6e4d67e8e1ab08ac71efda02bc85683, 320d031ad6e4d67e8e1ab08ac71efda02bc85683, 320d031ad6e4d67e8e1ab08ac71efda02bc85683 |
| Linux | Linux | 6.17, 0, 6.18.33 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | kernel6.18 | 0 |
| amazon:2023 | kernel-livepatch-6.18.33-63.124 | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| Linux | Linux | 320d031ad6e4d67e8e1ab08ac71efda02bc85683, 7.1, 7.0.10 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2023 | kernel6.18-devel | 0 |
| linux | linux_kernel | 6.17, 6.17, 6.17 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
Timeline
- Jun 24, 2026 CVE Published
- Jun 25, 2026 Coalition ESS Score
- Jun 26, 2026 EPSS Score (10 in total, the first dated here)
- Aug 11, 2026 Distribution Patch (63 in total, the first dated here)
- Aug 11, 2026 Security Advisory (63 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-52997
vulnetix vdb fixes CVE-2026-52997
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-2026-52997/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart