# CVE-2025-68325: net/sched: sch\_cake: Fix incorrect qlen reduction in cake\_drop

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.29% (percentile 14, 2026-11-26)
- **Published:** 2025-12-18T15:02:50.214Z
- **Modified:** 2026-10-13T11:10:00.203Z

## Who should check

- Anyone running Linux \>= de04ddd2980b48caa8d7e24a7db2742917a8b280, \< a3f4e3de41a3f115db35276c6b186ccbc913934a; \>= 0dacfc5372e314d1219f03e64dde3ab495a5a25e, \< 38abf6e931b169ea88d7529b49096f53a5dcf8fe; \>= 710866fc0a64eafcb8bacd91bcb1329eb7e5035f, \< fcb91be52eb6e92e00b533ebd7c77fecada537e1; \>= aa12ee1c1bd260943fd6ab556d8635811c332eeb, \< d01f0e072dadb02fe10f436b940dd957aff0d7d4; \>= ff57186b2cc39766672c4c0332323933e5faaa88, \< 0b6216f9b3d1c33c76f74511026e5de5385ee520; \>= 15de71d06a400f7fdc15bf377a2552b0ec437cf5, \< 529c284cc2815c8350860e9a31722050fe7117cb; \>= 15de71d06a400f7fdc15bf377a2552b0ec437cf5, \< 3ed6c458530a547ed0c9ea0b02b19bab620be88b; \>= 15de71d06a400f7fdc15bf377a2552b0ec437cf5, \< 9fefc78f7f02d71810776fdeb119a05a946a27cc; 7689ab22de36f8db19095f6bdf11f28cfde92f5c; 62d591dde4defb1333d202410609c4ddeae060b3; …
- Anyone running Linux 6.17

## Description

In the Linux kernel, the following vulnerability has been resolved:

net/sched: sch\_cake: Fix incorrect qlen reduction in cake\_drop

In cake\_drop(), qdisc\_tree\_reduce\_backlog() is used to update the qlen
and backlog of the qdisc hierarchy. Its caller, cake\_enqueue(), assumes
that the parent qdisc will enqueue the current packet. However, this
assumption breaks when cake\_enqueue() returns NET\_XMIT\_CN: the parent
qdisc stops enqueuing current packet, leaving the tree qlen/backlog
accounting inconsistent. This mismatch can lead to a NULL dereference
(e.g., when the parent Qdisc is qfq\_qdisc).

This patch computes the qlen/backlog delta in a more robust way by
observing the difference before and after the series of cake\_drop()
calls, and then compensates the qdisc tree accounting if cake\_enqueue()
returns NET\_XMIT\_CN.

To ensure correct compensation when ACK thinning is enabled, a new
variable is introduced to keep qlen unchanged.

## Affected and fixed versions

- Linux: \>= de04ddd2980b48caa8d7e24a7db2742917a8b280, \< a3f4e3de41a3f115db35276c6b186ccbc913934a; \>= 0dacfc5372e314d1219f03e64dde3ab495a5a25e, \< 38abf6e931b169ea88d7529b49096f53a5dcf8fe; \>= 710866fc0a64eafcb8bacd91bcb1329eb7e5035f, \< fcb91be52eb6e92e00b533ebd7c77fecada537e1; \>= aa12ee1c1bd260943fd6ab556d8635811c332eeb, \< d01f0e072dadb02fe10f436b940dd957aff0d7d4; \>= ff57186b2cc39766672c4c0332323933e5faaa88, \< 0b6216f9b3d1c33c76f74511026e5de5385ee520; \>= 15de71d06a400f7fdc15bf377a2552b0ec437cf5, \< 529c284cc2815c8350860e9a31722050fe7117cb; \>= 15de71d06a400f7fdc15bf377a2552b0ec437cf5, \< 3ed6c458530a547ed0c9ea0b02b19bab620be88b; \>= 15de71d06a400f7fdc15bf377a2552b0ec437cf5, \< 9fefc78f7f02d71810776fdeb119a05a946a27cc; 7689ab22de36f8db19095f6bdf11f28cfde92f5c; 62d591dde4defb1333d202410609c4ddeae060b3; … (cvelist)
- Linux: 6.17 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-68325. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-68325.md
Affected: Linux >= de04ddd2980b48caa8d7e24a7db2742917a8b280, < a3f4e3de41a3f115db35276c6b186ccbc913934a; >= 0dacfc5372e314d1219f03e64dde3ab495a5a25e, < 38abf6e931b169ea88d7529b49096f53a5dcf8fe; >= 710866fc0a64eafcb8bacd91bcb1329eb7e5035f, < fcb91be52eb6e92e00b533ebd7c77fecada537e1; >= aa12ee1c1bd260943fd6ab5…
Fixed in: Linux 38abf6e931b169ea88d7529b49096f53a5dcf8fe, Linux 0b6216f9b3d1c33c76f74511026e5de5385ee520, Linux 529c284cc2815c8350860e9a31722050fe7117cb, Linux 3ed6c458530a547ed0c9ea0b02b19bab620be88b, Linux 9fefc78f7f02d71810776fdeb119a05a946a27cc

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.
```

## FAQ

### Is CVE-2025-68325 being exploited?

There is no confirmed exploitation: CVE-2025-68325 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-68325?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2025-68325?

Linux \>= de04ddd2980b48caa8d7e24a7db2742917a8b280, \< a3f4e3de41a3f115db35276c6b186ccbc913934a; \>= 0dacfc5372e314d1219f03e64dde3ab495a5a25e, \< 38abf6e931b169ea88d7529b49096f53a5dcf8fe; \>= 710866fc0a64eafcb8bacd91bcb1329eb7e5035f, \< fcb91be52eb6e92e00b533ebd7c77fecada537e1; \>= aa12ee1c1bd260943fd6ab556d8635811c332eeb, \< d01f0e072dadb02fe10f436b940dd957aff0d7d4; \>= ff57186b2cc39766672c4c0332323933e5faaa88, \< 0b6216f9b3d1c33c76f74511026e5de5385ee520; \>= 15de71d06a400f7fdc15bf377a2552b0ec437cf5, \< 529c284cc2815c8350860e9a31722050fe7117cb; \>= 15de71d06a400f7fdc15bf377a2552b0ec437cf5, \< 3ed6c458530a547ed0c9ea0b02b19bab620be88b; \>= 15de71d06a400f7fdc15bf377a2552b0ec437cf5, \< 9fefc78f7f02d71810776fdeb119a05a946a27cc; 7689ab22de36f8db19095f6bdf11f28cfde92f5c; 62d591dde4defb1333d202410609c4ddeae060b3; …; Linux 6.17.

### Is there a fix for CVE-2025-68325?

Yes. Fixed in Linux 38abf6e931b169ea88d7529b49096f53a5dcf8fe, Linux 0b6216f9b3d1c33c76f74511026e5de5385ee520, Linux 529c284cc2815c8350860e9a31722050fe7117cb, Linux 3ed6c458530a547ed0c9ea0b02b19bab620be88b, Linux 9fefc78f7f02d71810776fdeb119a05a946a27cc. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2025-68325?

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.

## References

- other: <https://git.kernel.org/stable/c/a3f4e3de41a3f115db35276c6b186ccbc913934a>
- other: <https://git.kernel.org/stable/c/38abf6e931b169ea88d7529b49096f53a5dcf8fe>
- other: <https://git.kernel.org/stable/c/fcb91be52eb6e92e00b533ebd7c77fecada537e1>
- other: <https://git.kernel.org/stable/c/d01f0e072dadb02fe10f436b940dd957aff0d7d4>
- other: <https://git.kernel.org/stable/c/0b6216f9b3d1c33c76f74511026e5de5385ee520>
- other: <https://git.kernel.org/stable/c/529c284cc2815c8350860e9a31722050fe7117cb>
- other: <https://git.kernel.org/stable/c/3ed6c458530a547ed0c9ea0b02b19bab620be88b>
- other: <https://git.kernel.org/stable/c/9fefc78f7f02d71810776fdeb119a05a946a27cc>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-68325>

HTML: <https://flawdb.com/CVE-2025-68325> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-68325>
