CVE-2025-39766
net/sched: Make cake_enqueue return NET_XMIT_CN when past buffer_limit
Mitigation
- Upgrade Linux to 15de71d06a400f7fdc15bf377a2552b0ec437cf5 or later.
Who should check
- Anyone running Linux >= 046f6fd5daefac7f5abdafb436b30f63bc7c602b, < 7689ab22de36f8db19095f6bdf11f28cfde92f5c; >= 046f6fd5daefac7f5abdafb436b30f63bc7c602b, < de04ddd2980b48caa8d7e24a7db2742917a8b280; >= 046f6fd5daefac7f5abdafb436b30f63bc7c602b, < 0dacfc5372e314d1219f03e64dde3ab495a5a25e; >= 046f6fd5daefac7f5abdafb436b30f63bc7c602b, < 710866fc0a64eafcb8bacd91bcb1329eb7e5035f; >= 046f6fd5daefac7f5abdafb436b30f63bc7c602b, < aa12ee1c1bd260943fd6ab556d8635811c332eeb; >= 046f6fd5daefac7f5abdafb436b30f63bc7c602b, < ff57186b2cc39766672c4c0332323933e5faaa88; >= 046f6fd5daefac7f5abdafb436b30f63bc7c602b, < 62d591dde4defb1333d202410609c4ddeae060b3; >= 046f6fd5daefac7f5abdafb436b30f63bc7c602b, < 15de71d06a400f7fdc15bf377a2552b0ec437cf5
- Anyone running Linux 4.19
Vulnerability facts
- Affected
- Linux >= 046f6fd5daefac7f5abdafb436b30f63bc7c602b, < 7689ab22de36f8db19095f6bdf11f28cfde92f5c; >= 046f6fd5daefac7f5abdafb436b30f63bc7c602b, < de04ddd2980b48caa8d7e24a7db2742917a8b280; >= 046f6fd5daefac7f5abdafb436b30f63bc7c602b, < 0dacfc5372e314d1219f03e64dde3ab495a5a25e; >= 046f6fd5daefac7f5abdafb436b30f63bc7c602b, < 710866fc0a64eafcb8bacd91bcb1329eb7e5035f; >= 046f6fd5daefac7f5abdafb436b30f63bc7c602b, < aa12ee1c1bd260943fd6ab556d8635811c332eeb; >= 046f6fd5daefac7f5abdafb436b30f63bc7c602b, < ff57186b2cc39766672c4c0332323933e5faaa88; >= 046f6fd5daefac7f5abdafb436b30f63bc7c602b, < 62d591dde4defb1333d202410609c4ddeae060b3; >= 046f6fd5daefac7f5abdafb436b30f63bc7c602b, < 15de71d06a400f7fdc15bf377a2552b0ec437cf5; Linux 4.19
- Fixed in
- Linux 7689ab22de36f8db19095f6bdf11f28cfde92f5c, Linux 0dacfc5372e314d1219f03e64dde3ab495a5a25e, Linux 710866fc0a64eafcb8bacd91bcb1329eb7e5035f, Linux 62d591dde4defb1333d202410609c4ddeae060b3, Linux 15de71d06a400f7fdc15bf377a2552b0ec437cf5
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.27% chance of exploitation in 30 days (percentile 12, 2026-11-26)
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 046f6fd5daefac7f5abdafb436b30f63bc7c602b, < 7689ab22de36f8db19095f6bdf11f28cfde92f5c; >= 046f6fd5daefac7f5abdafb436b30f63bc7c602b, < de04ddd2980b48caa8d7e24a7db2742917a8b280; >= 046f6fd5daefac7f5abdafb436b30f63bc7c602b, < 0dacfc5372e314d1219f03e64dde3ab495a5a25e; >= 046f6fd5daefac7f5abdafb436b30f63bc7c602b, < 710866fc0a64eafcb8bacd91bcb1329eb7e5035f; >= 046f6fd5daefac7f5abdafb436b30f63bc7c602b, < aa12ee1c1bd260943fd6ab556d8635811c332eeb; >= 046f6fd5daefac7f5abdafb436b30f63bc7c602b, < ff57186b2cc39766672c4c0332323933e5faaa88; >= 046f6fd5daefac7f5abdafb436b30f63bc7c602b, < 62d591dde4defb1333d202410609c4ddeae060b3; >= 046f6fd5daefac7f5abdafb436b30f63bc7c602b, < 15de71d06a400f7fdc15bf377a2552b0ec437cf5 | — | cvelist |
| Linux | 4.19 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-39766. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-39766.md Affected: Linux >= 046f6fd5daefac7f5abdafb436b30f63bc7c602b, < 7689ab22de36f8db19095f6bdf11f28cfde92f5c; >= 046f6fd5daefac7f5abdafb436b30f63bc7c602b, < de04ddd2980b48caa8d7e24a7db2742917a8b280; >= 046f6fd5daefac7f5abdafb436b30f63bc7c602b, < 0dacfc5372e314d1219f03e64dde3ab495a5a25e; >= 046f6fd5daefac7f5abdafb… Fixed in: Linux 7689ab22de36f8db19095f6bdf11f28cfde92f5c, Linux 0dacfc5372e314d1219f03e64dde3ab495a5a25e, Linux 710866fc0a64eafcb8bacd91bcb1329eb7e5035f, Linux 62d591dde4defb1333d202410609c4ddeae060b3, Linux 15de71d06a400f7fdc15bf377a2552b0ec437cf5 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/7689ab22de36f8db19095f6bdf11f28cfde92f5c
- https://git.kernel.org/stable/c/de04ddd2980b48caa8d7e24a7db2742917a8b280
- https://git.kernel.org/stable/c/0dacfc5372e314d1219f03e64dde3ab495a5a25e
- https://git.kernel.org/stable/c/710866fc0a64eafcb8bacd91bcb1329eb7e5035f
- https://git.kernel.org/stable/c/aa12ee1c1bd260943fd6ab556d8635811c332eeb
- https://git.kernel.org/stable/c/ff57186b2cc39766672c4c0332323933e5faaa88
- https://git.kernel.org/stable/c/62d591dde4defb1333d202410609c4ddeae060b3
- https://git.kernel.org/stable/c/15de71d06a400f7fdc15bf377a2552b0ec437cf5
FAQ
Is CVE-2025-39766 being exploited?
There is no confirmed exploitation: CVE-2025-39766 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.27% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-39766?
High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2025-39766?
Linux >= 046f6fd5daefac7f5abdafb436b30f63bc7c602b, < 7689ab22de36f8db19095f6bdf11f28cfde92f5c; >= 046f6fd5daefac7f5abdafb436b30f63bc7c602b, < de04ddd2980b48caa8d7e24a7db2742917a8b280; >= 046f6fd5daefac7f5abdafb436b30f63bc7c602b, < 0dacfc5372e314d1219f03e64dde3ab495a5a25e; >= 046f6fd5daefac7f5abdafb436b30f63bc7c602b, < 710866fc0a64eafcb8bacd91bcb1329eb7e5035f; >= 046f6fd5daefac7f5abdafb436b30f63bc7c602b, < aa12ee1c1bd260943fd6ab556d8635811c332eeb; >= 046f6fd5daefac7f5abdafb436b30f63bc7c602b, < ff57186b2cc39766672c4c0332323933e5faaa88; >= 046f6fd5daefac7f5abdafb436b30f63bc7c602b, < 62d591dde4defb1333d202410609c4ddeae060b3; >= 046f6fd5daefac7f5abdafb436b30f63bc7c602b, < 15de71d06a400f7fdc15bf377a2552b0ec437cf5; Linux 4.19.
Is there a fix for CVE-2025-39766?
Yes. Fixed in Linux 7689ab22de36f8db19095f6bdf11f28cfde92f5c, Linux 0dacfc5372e314d1219f03e64dde3ab495a5a25e, Linux 710866fc0a64eafcb8bacd91bcb1329eb7e5035f, Linux 62d591dde4defb1333d202410609c4ddeae060b3, Linux 15de71d06a400f7fdc15bf377a2552b0ec437cf5. Upgrade Linux to 15de71d06a400f7fdc15bf377a2552b0ec437cf5 or later.
How do I check if I'm affected by CVE-2025-39766?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.