CVE-2025-38083

net_sched: prio: fix a race in prio_tune()

State
Published
Severity
7.8 High
Published
Jun 20, 2025
Updated
Oct 15, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 7b8e0b6e659983154c8d7e756cdb833d89a3d4d7 to before 53d11560e957d53ee87a0653d258038ce12361b7Affected
  • 7b8e0b6e659983154c8d7e756cdb833d89a3d4d7 to before 4483d8b9127591c60c4eb789d6cab953bc4522a9Affected
  • 7b8e0b6e659983154c8d7e756cdb833d89a3d4d7 to before 20f68e6a9e41693cb0e55e5b9ebbcb40983a4b8fAffected
  • 7b8e0b6e659983154c8d7e756cdb833d89a3d4d7 to before 3aaa7c01cf19d9b9bb64b88b65c3a6fd05da2eb4Affected
  • 7b8e0b6e659983154c8d7e756cdb833d89a3d4d7 to before 46c15c9d0f65c9ba857d63f53264f4b17e8a715fAffected
  • 7b8e0b6e659983154c8d7e756cdb833d89a3d4d7 to before e3f6745006dc9423d2b065b90f191cfa11b1b584Affected
  • 7b8e0b6e659983154c8d7e756cdb833d89a3d4d7 to before 93f9eeb678d4c9c1abf720b3615fa8299a490845Affected
  • 7b8e0b6e659983154c8d7e756cdb833d89a3d4d7 to before d35acc1be3480505b5931f17e4ea9b7617fea4d3Affected
LinuxLinux
  • 5.0Affected
  • before 5.0Not affected
  • 5.4.295 through 5.4.*Not affected
  • 5.10.239 through 5.10.*Not affected
  • 5.15.186 through 5.15.*Not affected
  • 6.1.142 through 6.1.*Not affected
  • 6.6.94 through 6.6.*Not affected
  • 6.12.34 through 6.12.*Not affected
  • 6.15.3 through 6.15.*Not affected
  • 6.16 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.