{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-39766","id":"CVE-2025-39766","title":"net/sched: Make cake_enqueue return NET_XMIT_CN when past buffer_limit","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->leaf.q->q.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 l","descriptionLong":"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->leaf.q->q.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.","published":"2025-09-11T16:56:21.514Z","updated":"2026-10-28T02:30:28.787181056Z","reserved":"2025-04-16T07:20:57.126Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"046f6fd5daefac7f5abdafb436b30f63bc7c602b","lessThan":"7689ab22de36f8db19095f6bdf11f28cfde92f5c","status":"affected","versionType":"git"},{"version":"046f6fd5daefac7f5abdafb436b30f63bc7c602b","lessThan":"de04ddd2980b48caa8d7e24a7db2742917a8b280","status":"affected","versionType":"git"},{"version":"046f6fd5daefac7f5abdafb436b30f63bc7c602b","lessThan":"0dacfc5372e314d1219f03e64dde3ab495a5a25e","status":"affected","versionType":"git"},{"version":"046f6fd5daefac7f5abdafb436b30f63bc7c602b","lessThan":"710866fc0a64eafcb8bacd91bcb1329eb7e5035f","status":"affected","versionType":"git"},{"version":"046f6fd5daefac7f5abdafb436b30f63bc7c602b","lessThan":"aa12ee1c1bd260943fd6ab556d8635811c332eeb","status":"affected","versionType":"git"},{"version":"046f6fd5daefac7f5abdafb436b30f63bc7c602b","lessThan":"ff57186b2cc39766672c4c0332323933e5faaa88","status":"affected","versionType":"git"},{"version":"046f6fd5daefac7f5abdafb436b30f63bc7c602b","lessThan":"62d591dde4defb1333d202410609c4ddeae060b3","status":"affected","versionType":"git"},{"version":"046f6fd5daefac7f5abdafb436b30f63bc7c602b","lessThan":"15de71d06a400f7fdc15bf377a2552b0ec437cf5","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.19","status":"affected"},{"version":"0","lessThan":"4.19","status":"unaffected","versionType":"semver"},{"version":"5.4.297","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.241","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.190","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.149","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.103","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.44","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.16.4","lessThanOrEqual":"6.16.*","status":"unaffected","versionType":"semver"},{"version":"6.17","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/7689ab22de36f8db19095f6bdf11f28cfde92f5c","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/de04ddd2980b48caa8d7e24a7db2742917a8b280","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/0dacfc5372e314d1219f03e64dde3ab495a5a25e","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/710866fc0a64eafcb8bacd91bcb1329eb7e5035f","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/aa12ee1c1bd260943fd6ab556d8635811c332eeb","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/ff57186b2cc39766672c4c0332323933e5faaa88","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/62d591dde4defb1333d202410609c4ddeae060b3","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/15de71d06a400f7fdc15bf377a2552b0ec437cf5","tags":["Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html","tags":["Mailing List","Third Party Advisory","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html","tags":["Mailing List","Third Party Advisory","web"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-032379.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39766.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-39766","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00192,"epssPercentile":0.08969,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-39766","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-39766","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-39766","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-39766","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}