Linux Kernel Taprio Qdisc Use-After-Free Vulnerability

Vulnerability

A use-after-free vulnerability has been identified in the Linux kernel's taprio queuing discipline (qdisc) implementation. This issue arises when an invalid TCA_RATE attribute is provided, causing the qdisc_create() function to destroy the newly initialized taprio qdisc. However, the hrtimer used by taprio may have already fired, leading to a race condition where net_tx_action() attempts to access a destroyed qdisc. This vulnerability was reported by syzbot and can cause a crash during net_tx_action() processing.

Impact

Exploitation of this vulnerability can lead to a kernel crash, causing a denial of service condition.

Reproduction

The vulnerability can be reproduced by creating a taprio qdisc and supplying an invalid TCA_RATE attribute. This triggers the qdisc_create() function to destroy the taprio qdisc, while the hrtimer may have already fired, creating a race condition. The net_tx_action() function will then attempt to use the freed qdisc, leading to a crash.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
5.3
remediation
0.0
relevance
0.0
threat
4.8
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.