Use-After-Free Vulnerability in Linux Kernel Affecting Classful Qdiscs
CVE-2025-38350

Currently unrated

Key Information:

Vendor

Linux

Status
Vendor
CVE Published:
19 July 2025

What is CVE-2025-38350?

A vulnerability in the Linux Kernel allows certain classful queuing disciplines (qdiscs) to generate use-after-free conditions. Specifically, during an enqueue operation, a child qdisc may be unexpectedly emptied, which can lead to passive class states via qlen_notify(). Many qdiscs do not anticipate this unexpected behavior, resulting in potential instability. This issue could be exacerbated by similar behaviors occurring in the parent qdisc, heightening the risk of use-after-free scenarios. The recent patch addresses this by ensuring that qdisc_tree_reduce_backlog always triggers qlen_notify when child qdiscs become empty, thus providing a safeguard against stale class pointers.

Affected Version(s)

Linux 1034e3310752e8675e313f7271b348914008719a < 3b290923ad2b23596208c1e29520badef4356a43

Linux f9f593e34d2fb67644372c8f7b033bdc622ad228

Linux 89c301e929a0db14ebd94b4d97764ce1d6981653

References

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.
CVE-2025-38350 : Use-After-Free Vulnerability in Linux Kernel Affecting Classful Qdiscs