1. Home
  2. Vulnerabilities
  3. CVE-2025-38083

CVE-2025-38083

net_sched: prio: fix a race in prio_tune()

Published 20 Jun 2025 · modified 15 Oct 2026 · Sources: NVD, CNA (vendor or assigner), EPSS (FIRST)

Low 20/100

Summary

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

Affected products and versions

Linux (9 line(s))
Linux
ProductVersionsFixed inSource
Linux 5.0 — CNA (vendor or assigner)
Linux kernel from 5.0 (included) to 5.4.295 (excluded) — NVD
Linux kernel from 5.5 (included) to 5.10.239 (excluded) — NVD
Linux kernel from 5.11 (included) to 5.15.186 (excluded) — NVD
Linux kernel from 5.16 (included) to 6.1.142 (excluded) — NVD
Linux kernel from 6.2 (included) to 6.6.94 (excluded) — NVD
Linux kernel from 6.7 (included) to 6.12.34 (excluded) — NVD
Linux kernel from 6.13 (included) to 6.15.3 (excluded) — NVD
Linux kernel 6.16 — NVD
Debian (1 line(s))
Debian
ProductVersionsFixed inSource
Debian linux 11.0 — NVD

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)

References

Data provenance

Status
NVD
Publication date
NVD
Description
CNA (vendor or assigner)
CVSS score
NVD
Weakness (CWE)
NVD
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1, NVD)
Weakness
CWE-362 · Autre (CWE-362)

How this data is obtained and calculated