همهٔ گزارش‌ها
متوسط

kernel: netem: Update sch->q.qlen before qdisc_tree_reduce_backlog()

متن اصلی

نسخه‌های متأثر

نسخه‌های متأثر
نامشخص
نسخهٔ اصلاح‌شده
اعلام نشده

بهره‌برداری

CVE-2025-21703

احتمال بهره‌برداری در ۳۰ روز آینده: 0.30%

FIRST EPSS · ۱۴۰۵/۰۸/۳۰

شرح آسیب‌پذیری

In the Linux kernel, the following vulnerability has been resolved: netem: Update sch->q.qlen before qdisc_tree_reduce_backlog() qdisc_tree_reduce_backlog() notifies parent qdisc only if child qdisc becomes empty, therefore we need to reduce the backlog of the child qdisc before calling it. Otherwise it would miss the opportunity to call cops->qlen_notify(), in the case of DRR, it resulted in UAF since DRR uses ->qlen_notify() to maintain its active list.

A flaw was found in the Linux kernel's Network Emulator (netem) traffic scheduler. A local attacker can exploit this issue to cause a Denial of Service (DoS) or potentially escalate privileges. The vulnerability occurs when network queue lengths are updated in an improper sequence, causing the system to miss notifications when a queue empties and leading to a use-after-free condition where released memory continues to be accessed.