{
  "id": "CVE-2025-39766",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-39766",
  "published_at": "2025-09-11T16:56:21.514Z",
  "title": "net/sched: Make cake_enqueue return NET_XMIT_CN when past buffer_limit",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet/sched: Make cake_enqueue return NET_XMIT_CN when past buffer_limit\n\nThe following setup can trigger a WARNING in htb_activate due to\nthe condition: !cl-\u003eleaf.q-\u003eq.qlen\n\ntc qdisc del dev lo root\ntc qdisc add dev lo root handle 1: htb default 1\ntc class add dev lo parent 1: classid 1:1 \\\n       htb rate 64bit\ntc qdisc add dev lo parent 1:1 handle f: \\\n       cake memlimit 1b\nping -I lo -f -c1 -s64 -W0.001 127.0.0.1\n\nThis is because the low memlimit leads to a low buffer_limit, which\ncauses packet dropping. However, cake_enqueue still returns\nNET_XMIT_SUCCESS, causing htb_enqueue to call htb_activate with an\nempty child qdisc. We should return NET_XMIT_CN when packets are\ndropped from the same tin and flow.\n\nI do not believe return value of NET_XMIT_CN is necessary for packet\ndrops in the case of ack filtering, as that is meant to optimize\nperformance, not to signal congestion.",
  "cpes": [
    "cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.17:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.17:rc2:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "nvd": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 046f6fd5daefac7f5abdafb436b30f63bc7c602b, \u003c 7689ab22de36f8db19095f6bdf11f28cfde92f5c",
          "\u003e= 046f6fd5daefac7f5abdafb436b30f63bc7c602b, \u003c de04ddd2980b48caa8d7e24a7db2742917a8b280",
          "\u003e= 046f6fd5daefac7f5abdafb436b30f63bc7c602b, \u003c 0dacfc5372e314d1219f03e64dde3ab495a5a25e",
          "\u003e= 046f6fd5daefac7f5abdafb436b30f63bc7c602b, \u003c 710866fc0a64eafcb8bacd91bcb1329eb7e5035f",
          "\u003e= 046f6fd5daefac7f5abdafb436b30f63bc7c602b, \u003c aa12ee1c1bd260943fd6ab556d8635811c332eeb",
          "\u003e= 046f6fd5daefac7f5abdafb436b30f63bc7c602b, \u003c ff57186b2cc39766672c4c0332323933e5faaa88",
          "\u003e= 046f6fd5daefac7f5abdafb436b30f63bc7c602b, \u003c 62d591dde4defb1333d202410609c4ddeae060b3",
          "\u003e= 046f6fd5daefac7f5abdafb436b30f63bc7c602b, \u003c 15de71d06a400f7fdc15bf377a2552b0ec437cf5"
        ],
        "fixed_in": [
          "7689ab22de36f8db19095f6bdf11f28cfde92f5c",
          "de04ddd2980b48caa8d7e24a7db2742917a8b280",
          "0dacfc5372e314d1219f03e64dde3ab495a5a25e",
          "710866fc0a64eafcb8bacd91bcb1329eb7e5035f",
          "aa12ee1c1bd260943fd6ab556d8635811c332eeb",
          "ff57186b2cc39766672c4c0332323933e5faaa88",
          "62d591dde4defb1333d202410609c4ddeae060b3",
          "15de71d06a400f7fdc15bf377a2552b0ec437cf5"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "4.19"
        ],
        "fixed_in": [
          "0",
          "5.4.297",
          "5.10.241",
          "5.15.190",
          "6.1.149",
          "6.6.103",
          "6.12.44",
          "6.16.4",
          "6.17"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 7689ab22de36f8db19095f6bdf11f28cfde92f5c or de04ddd2980b48caa8d7e24a7db2742917a8b280 or 0dacfc5372e314d1219f03e64dde3ab495a5a25e or 710866fc0a64eafcb8bacd91bcb1329eb7e5035f or aa12ee1c1bd260943fd6ab556d8635811c332eeb or ff57186b2cc39766672c4c0332323933e5faaa88 or 62d591dde4defb1333d202410609c4ddeae060b3 or 15de71d06a400f7fdc15bf377a2552b0ec437cf5 or later.",
      "Upgrade Linux to 0 or 5.4.297 or 5.10.241 or 5.15.190 or 6.1.149 or 6.6.103 or 6.12.44 or 6.16.4 or 6.17 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
