CVE-2025-68325

Linux Kernel NULL Pointer Dereference in sch_cake via qlen Reduction

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 2 public exploits for CVE-2025-68325. PoCs published by adminlove520, n132.

AI-analyzed exploit summary The repository contains a functional proof-of-concept exploit for CVE-2025-68325, a null-dereference vulnerability in the Linux kernel's sch_cake module. The exploit script (`tc_poc.sh`) configures a qfq and cake qdisc to trigger the vulnerability, while the README provides a detailed patch analysis and root cause explanation.

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.

Exploits (2)

github WORKING POC 2 stars
by adminlove520 · pythonpoc
https://github.com/adminlove520/CVE-Poc_All_in_One/tree/main/2025/CVE-2025-68325

The repository contains a functional proof-of-concept exploit for CVE-2025-68325, a null-dereference vulnerability in the Linux kernel's sch_cake module. The exploit script (`tc_poc.sh`) configures a qfq and cake qdisc to trigger the vulnerability, while the README provides a detailed patch analysis and root cause explanation.

Classification
Working Poc 95%
Attack Type
Dos
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (fixed in v6.19-rc1)
No auth needed
Prerequisites: Linux kernel with sch_cake module · root access to configure tc qdisc
devstral-2 · analyzed Feb 27, 2026 Full analysis →
nomisec WORKING POC 2 stars
by n132 · poc
https://github.com/n132/CVE-2025-68325

This repository contains a functional proof-of-concept exploit for CVE-2025-68325, a NULL dereference vulnerability in the Linux kernel's sch_cake module. The exploit script configures a qfq and cake qdisc hierarchy to trigger the vulnerability via crafted network traffic.

Classification
Working Poc 95%
Attack Type
Dos
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (fixed in v6.19-rc1)
No auth needed
Prerequisites: Linux system with vulnerable kernel version · Root access to configure tc qdisc rules
devstral-2 · analyzed Feb 19, 2026 Full analysis →

Scores

EPSS 0.0007
EPSS Percentile 20.9%

Details

Status published
Products (34)
linux/Kernel < 5.10.248linux
linux/Kernel 5.11.0 - 5.15.198linux
linux/Kernel 5.16.0 - 6.1.160linux
linux/Kernel 6.13.0 - 6.17.13linux
linux/Kernel 6.17.0 - 6.18.2linux
linux/Kernel 6.2.0 - 6.6.120linux
linux/Kernel 6.7.0 - 6.12.63linux
Linux/Linux < 6.17
Linux/Linux 0dacfc5372e314d1219f03e64dde3ab495a5a25e - 38abf6e931b169ea88d7529b49096f53a5dcf8fe
Linux/Linux 15de71d06a400f7fdc15bf377a2552b0ec437cf5 - 3ed6c458530a547ed0c9ea0b02b19bab620be88b
... and 24 more
Published Dec 18, 2025
Tracked Since Feb 18, 2026