VDB

CVE-2025-39766

CVE-2025-39766 PUBLISHED

net/sched: Make cake_enqueue return NET_XMIT_CN when past buffer_limit

Reported by linux · Published September 11, 2025

In the Linux kernel, the following vulnerability has been resolved: net/sched: Make cake_enqueue return NET_XMIT_CN when past buffer_limit The following setup can trigger a WARNING in htb_activate due to the condition: !cl->leaf.q->q.qlen tc qdisc del dev lo root tc qdisc add dev lo root handle 1: htb default 1 tc class add dev lo parent 1: classid 1:1 \ htb rate 64bit tc qdisc add dev lo parent 1:1 handle f: \ cake memlimit 1b ping -I lo -f -c1 -s64 -W0.001 127.0.0.1 This is because the low memlimit leads to a low buffer_limit, which causes packet dropping. However, cake_enqueue still returns NET_XMIT_SUCCESS, causing htb_enqueue to call htb_activate with an empty child qdisc. We should return NET_XMIT_CN when packets are dropped from the same tin and flow. I do not believe return value of NET_XMIT_CN is necessary for packet drops in the case of ack filtering, as that is meant to optimize performance, not to signal congestion.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-debug-debuginfoerrata.rockylinux.org6.12.0-211.16.1.el10, 6.12.0-124.52.1.el10, 5.14.0-687.10.1.el9, 5.14.0-611.49.1.el9, 0:6.12.0-124.52.1.el10_1.ppc64le, 0:6.12.0-124.52.1.el10_1.aarch64, 0:5.14.0-611.49.1.el9_7.s390x, 0:5.14.0-611.49.1.el9_7.ppc64le
kernel-tools-libserrata.rockylinux.org6.12.0-211.16.1.el10, 6.12.0-124.52.1.el10, 5.14.0-687.10.1.el9, 5.14.0-611.49.1.el9, 0:6.12.0-124.52.1.el10_1.aarch64, 0:5.14.0-611.49.1.el9_7.ppc64le
perferrata.rockylinux.org5.14.0-687.10.1.el9, 5.14.0-611.49.1.el9, 0:5.14.0-611.49.1.el9_7.s390x, 0:5.14.0-611.49.1.el9_7.ppc64le, 0:5.14.0-611.49.1.el9_7.aarch64
kernel-rt-debug-modules-extraerrata.rockylinux.org5.14.0-687.10.1.el9, 5.14.0-611.49.1.el9, 0:5.14.0-611.49.1.el9_7.x86_64
kernel-debug-moduleserrata.rockylinux.org5.14.0-687.10.1.el9, 5.14.0-611.49.1.el9, 0:5.14.0-611.49.1.el9_7.s390x, 0:5.14.0-611.49.1.el9_7.aarch64
kernel-debug-devel-matchederrata.rockylinux.org5.14.0-687.10.1.el9, 5.14.0-611.49.1.el9, 0:5.14.0-611.49.1.el9_7.ppc64le
kernel-modules-extraerrata.rockylinux.org5.14.0-687.10.1.el9, 5.14.0-611.49.1.el9, 0:5.14.0-611.49.1.el9_7.x86_64, 0:5.14.0-611.49.1.el9_7.s390x
kernel-rt-moduleserrata.rockylinux.org5.14.0-687.10.1.el9, 5.14.0-611.49.1.el9, 0:5.14.0-611.49.1.el9_7.aarch64
kernel-debuginfo-common-ppc64leerrata.rockylinux.org6.12.0-211.16.1.el10, 6.12.0-124.52.1.el10, 0:6.12.0-124.52.1.el10_1.ppc64le
kernel-rt-debug-coreerrata.rockylinux.org6.12.0-211.16.1.el10, 6.12.0-124.52.1.el10, 5.14.0-687.10.1.el9, 5.14.0-611.49.1.el9, 0:6.12.0-124.52.1.el10_1.aarch64, 0:5.14.0-611.49.1.el9_7.x86_64
kernel-coreerrata.rockylinux.org6.12.0-211.16.1.el10, 6.12.0-124.52.1.el10, 5.14.0-687.10.1.el9, 5.14.0-611.49.1.el9, 0:6.12.0-124.52.1.el10_1.ppc64le, 0:5.14.0-611.49.1.el9_7.aarch64
kernel-tools-libs-develerrata.rockylinux.org6.12.0-211.16.1.el10, 6.12.0-124.52.1.el10, 5.14.0-687.10.1.el9, 5.14.0-611.49.1.el9, 0:6.12.0-124.52.1.el10_1.x86_64, 0:5.14.0-611.49.1.el9_7.ppc64le, 0:5.14.0-611.49.1.el9_7.aarch64

49 more packages have a fixed version. See every fix in Lookup.

Affected products

VendorProductVersions
LinuxLinux046f6fd5daefac7f5abdafb436b30f63bc7c602b, 046f6fd5daefac7f5abdafb436b30f63bc7c602b, 046f6fd5daefac7f5abdafb436b30f63bc7c602b
LinuxLinux4.19, 0, 5.4.297
amazon:2023kernel6.12-headers0
amazon:2023kernel-livepatch-6.1.150-174.2730
amazon:2023kernel-libbpf-static0
amazon:2023python3-perf6.120
amazon:2023bpftool0
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel6.12-libbpf-devel0
amazon:2023perf0
amazon:2023kernel-modules-extra-common0
amazon:2023kernel6.12-libbpf-static0
amazon:2023kernel6.12-modules-extra-common0
amazon:2023bpftool6.120
LinuxLinux5.4.297, 046f6fd5daefac7f5abdafb436b30f63bc7c602b, 046f6fd5daefac7f5abdafb436b30f63bc7c602b
amazon:2023kernel-libbpf-devel0
amazon:2023kernel-headers0
amazon:2023python3-perf0
SiemensSIMATIC CN 41000
amazon:2023kernel6.120

…and 13 more

Timeline

  • Sep 11, 2025 CVE Published
  • Sep 12, 2025 EPSS Score (30 in total, the first dated here)
  • Oct 12, 2025 PoC Published (16 in total, the first dated here)
  • Mar 29, 2026 Distribution Patch (197 in total, the first dated here)
  • Mar 29, 2026 Security Advisory (206 in total, the first dated here)
  • Jun 8, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-39766
vulnetix vdb fixes CVE-2025-39766

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-39766/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

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