CVE-2025-68325 - CVE House
Back to Database
Status published Unknown CVE-2025-68325

net/sched: sch_cake: Fix incorrect qlen reduction in cake_drop

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

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2025-68325

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

Linux
Vulnerable Versions:
de04ddd2980b48caa8d7e24a7db2742917a8b280, 0dacfc5372e314d1219f03e64dde3ab495a5a25e, 710866fc0a64eafcb8bacd91bcb1329eb7e5035f, aa12ee1c1bd260943fd6ab556d8635811c332eeb, ff57186b2cc39766672c4c0332323933e5faaa88, 15de71d06a400f7fdc15bf377a2552b0ec437cf5, 7689ab22de36f8db19095f6bdf11f28cfde92f5c, 62d591dde4defb1333d202410609c4ddeae060b3, 5.10.241, 5.15.190, 6.1.149, 6.6.103, 6.12.44, 5.4.297, 6.16.4, 6.17, 0, 5.10.248, 5.15.198, 6.1.160, 6.6.120, 6.12.63, 6.17.13, 6.18.2, 6.19

Timeline

Official Publish: December 18th, 2025
Last Modified: May 23rd, 2026
Added to House: July 22nd, 2026

CVSS Vectors

No vector data available

Weaknesses (CWE)

No CWE data available

MITRE ATT&CK TTPs

No associated TTPs found for this vulnerability.