net/sched: netem: fix queue limit check to include reordered packets
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ f8d4bc455047cf3903cd6f85f49978987dbb3027 · < 8450462eaf91d5d2a9e863507b16d18e814baef3| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
net/sched: netem: fix queue limit check to include reordered packets
The queue limit check in netem_enqueue() uses q->t_len which only counts packets in the internal tfifo. Packets placed in sch->q by the reorder path (__qdisc_enqueue_head) are not counted, allowing the total queue occupancy to exceed sch->limit under reordering.
Include sch->q.qlen in the limit check.
From the CVE record · Linux
The Linux kernel's netem queue limit check does not count packets placed in the reordering queue. When reordering occurs, total queue occupancy can exceed the configured limit; the input does not specify attacker access requirements or user interaction.
Engineers running the Linux kernel with netem should check their installations; affected versions are not specified.