In the Linux kernel, the following vulnerability has been resolved:EOL][EOL]net_sched: prio: fix a race in prio_tune()[EOL][EOL]Gerrard Tai reported a race condition in PRIO, whenever SFQ perturb timer[EOL]fires at the wrong time.[EOL][EOL]The race is as follows:[EOL][EOL]CPU 0 CPU 1[EOL][1]: lock root[EOL][2]: qdisc_tree_flush_backlog()[EOL][3]: unlock root[EOL] ([EOL) | 5]: lock root[EOL] ( [6): rehashEOL] ( [7): qdisc_tree_reduce_backlog()EOL] ([EOL)[4]: qdisc_put()[EOL][EOL]This can be abused to underflow a parent's qlen.[EOL][EOL]Calling qdisc_purge_queue() instead of qdisc_tree_flush_backlog()[EOL]should fix the race, because all packets will be purged from the qdisc[EOL]before releasing the lock.