CVE-2025-39766: Linux kernel CAKE enqueue status error triggering HTB warnings
- Vendors
- Debian ProjectLinux
CVE-2025-39766 is an incorrect return-status vulnerability in the Linux kernel traffic-scheduling subsystem involving the CAKE queueing discipline and Hierarchical Token Bucket (HTB) scheduler. When CAKE exceeds its buffer_limit because of a very low memory limit, cake_enqueue can drop packets but still return NET_XMIT_SUCCESS. This causes htb_enqueue to invoke htb_activate with an empty child queueing discipline, triggering a kernel warning because the child queue length is zero. The fix returns NET_XMIT_CN when buffer-limit enforcement drops packets from the same tin and flow; acknowledgment-filtering drops are treated separately.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
A locally triggered traffic-control configuration can cause kernel warnings and potentially denial of service through inconsistent handling of an empty CAKE child queue by HTB. The demonstrated outcome is a warning in htb_activate; arbitrary code execution, privilege escalation, and confidentiality or integrity compromise are not established.
Mitigation
If you can’t patch tonight, do this now.
Until patched, avoid extremely low CAKE memory limits beneath HTB and remove or replace the triggering CAKE-under-HTB configuration where operationally feasible. Restrict untrusted users and workloads from configuring traffic-control queueing disciplines, including access to CAP_NET_ADMIN.
Remediation
Patch, then assume compromise.
Install a vendor-supported kernel update containing the cake_enqueue fix for CVE-2025-39766 and reboot into the updated kernel. The fix returns NET_XMIT_CN rather than NET_XMIT_SUCCESS for the relevant buffer-limit drops. Fixed package examples include Echo linux 6.1.153-1, RHEL 9.4 EUS kernel 5.14.0-427.127.1.el9_4, RHEL 9.6 EUS kernel 5.14.0-570.119.1.el9_6, RHEL 10.0 EUS kernel 6.12.0-55.76.1.el10_0, and SUSE Linux Micro 6.0/6.1 kernel-default 6.4.0-35.1. Use the corresponding fixed or superseding build for the installed product and support channel.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2025-39766 exploited in the wild?
- As of Oct 25, 2026, Mallory has no reports of CVE-2025-39766 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2025-39766?
- As of Oct 25, 2026, Mallory has found no public exploit for CVE-2025-39766.
- Is there a patch for CVE-2025-39766?
- Install a vendor-supported kernel update containing the cake_enqueue fix for CVE-2025-39766 and reboot into the updated kernel. The fix returns NET_XMIT_CN rather than NET_XMIT_SUCCESS for the relevant buffer-limit drops.
- What products are affected by CVE-2025-39766?
- Linux Kernel and Debian Project Debian Linux.
- How severe is CVE-2025-39766?
- CVE-2025-39766 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 0.27% (12th percentile) as of Oct 25, 2026.
Recent activity
17 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.