net_sched: prio: fix a race in prio_tune()
Summary
| CVE | CVE-2025-38083 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2025-06-20 12:15:21 UTC |
| Updated | 2026-05-12 13:16:42 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 4.7 MEDIUM from [email protected]
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Problem Types: CWE-362
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
HighPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 7b8e0b6e659983154c8d7e756cdb833d89a3d4d7 53d11560e957d53ee87a0653d258038ce12361b7 git | Not specified |
| CNA | Linux | Linux | affected 7b8e0b6e659983154c8d7e756cdb833d89a3d4d7 4483d8b9127591c60c4eb789d6cab953bc4522a9 git | Not specified |
| CNA | Linux | Linux | affected 7b8e0b6e659983154c8d7e756cdb833d89a3d4d7 20f68e6a9e41693cb0e55e5b9ebbcb40983a4b8f git | Not specified |
| CNA | Linux | Linux | affected 7b8e0b6e659983154c8d7e756cdb833d89a3d4d7 3aaa7c01cf19d9b9bb64b88b65c3a6fd05da2eb4 git | Not specified |
| CNA | Linux | Linux | affected 7b8e0b6e659983154c8d7e756cdb833d89a3d4d7 46c15c9d0f65c9ba857d63f53264f4b17e8a715f git | Not specified |
| CNA | Linux | Linux | affected 7b8e0b6e659983154c8d7e756cdb833d89a3d4d7 e3f6745006dc9423d2b065b90f191cfa11b1b584 git | Not specified |
| CNA | Linux | Linux | affected 7b8e0b6e659983154c8d7e756cdb833d89a3d4d7 93f9eeb678d4c9c1abf720b3615fa8299a490845 git | Not specified |
| CNA | Linux | Linux | affected 7b8e0b6e659983154c8d7e756cdb833d89a3d4d7 d35acc1be3480505b5931f17e4ea9b7617fea4d3 git | Not specified |
| CNA | Linux | Linux | affected 5.0 | Not specified |
| CNA | Linux | Linux | unaffected 5.0 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.4.295 5.4.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.239 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.186 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.142 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.94 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.34 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.15.3 6.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.16 * original_commit_for_fix | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.5 * custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.5 * custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | affected V3.1.5 * custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | affected V3.1.5 * custom | Not specified |
| ADP | Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.5 * custom | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| lists.debian.org/debian-lts-announce/2025/10/msg00008.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | Third Party Advisory |
| cert-portal.siemens.com/productcert/html/ssa-082556.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| git.kernel.org/stable/c/d35acc1be3480505b5931f17e4ea9b7617fea4d3 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/20f68e6a9e41693cb0e55e5b9ebbcb40983a4b8f | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/53d11560e957d53ee87a0653d258038ce12361b7 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/4483d8b9127591c60c4eb789d6cab953bc4522a9 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/e3f6745006dc9423d2b065b90f191cfa11b1b584 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/46c15c9d0f65c9ba857d63f53264f4b17e8a715f | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/93f9eeb678d4c9c1abf720b3615fa8299a490845 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/3aaa7c01cf19d9b9bb64b88b65c3a6fd05da2eb4 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| lists.debian.org/debian-lts-announce/2025/10/msg00007.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | Third Party Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.