# CVE-2025-38083: net\_sched: prio: fix a race in prio\_tune()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.24% (percentile 9, 2026-11-26)
- **CWE:** CWE-362
- **Published:** 2025-06-20T11:21:51.554Z
- **Modified:** 2026-10-15T22:18:25.857Z

## Who should check

- Anyone running Linux \>= 7b8e0b6e659983154c8d7e756cdb833d89a3d4d7, \< 53d11560e957d53ee87a0653d258038ce12361b7; \>= 7b8e0b6e659983154c8d7e756cdb833d89a3d4d7, \< 4483d8b9127591c60c4eb789d6cab953bc4522a9; \>= 7b8e0b6e659983154c8d7e756cdb833d89a3d4d7, \< 20f68e6a9e41693cb0e55e5b9ebbcb40983a4b8f; \>= 7b8e0b6e659983154c8d7e756cdb833d89a3d4d7, \< 3aaa7c01cf19d9b9bb64b88b65c3a6fd05da2eb4; \>= 7b8e0b6e659983154c8d7e756cdb833d89a3d4d7, \< 46c15c9d0f65c9ba857d63f53264f4b17e8a715f; \>= 7b8e0b6e659983154c8d7e756cdb833d89a3d4d7, \< e3f6745006dc9423d2b065b90f191cfa11b1b584; \>= 7b8e0b6e659983154c8d7e756cdb833d89a3d4d7, \< 93f9eeb678d4c9c1abf720b3615fa8299a490845; \>= 7b8e0b6e659983154c8d7e756cdb833d89a3d4d7, \< d35acc1be3480505b5931f17e4ea9b7617fea4d3
- Anyone running Linux 5.0

## 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.

## Affected and fixed versions

- Linux: \>= 7b8e0b6e659983154c8d7e756cdb833d89a3d4d7, \< 53d11560e957d53ee87a0653d258038ce12361b7; \>= 7b8e0b6e659983154c8d7e756cdb833d89a3d4d7, \< 4483d8b9127591c60c4eb789d6cab953bc4522a9; \>= 7b8e0b6e659983154c8d7e756cdb833d89a3d4d7, \< 20f68e6a9e41693cb0e55e5b9ebbcb40983a4b8f; \>= 7b8e0b6e659983154c8d7e756cdb833d89a3d4d7, \< 3aaa7c01cf19d9b9bb64b88b65c3a6fd05da2eb4; \>= 7b8e0b6e659983154c8d7e756cdb833d89a3d4d7, \< 46c15c9d0f65c9ba857d63f53264f4b17e8a715f; \>= 7b8e0b6e659983154c8d7e756cdb833d89a3d4d7, \< e3f6745006dc9423d2b065b90f191cfa11b1b584; \>= 7b8e0b6e659983154c8d7e756cdb833d89a3d4d7, \< 93f9eeb678d4c9c1abf720b3615fa8299a490845; \>= 7b8e0b6e659983154c8d7e756cdb833d89a3d4d7, \< d35acc1be3480505b5931f17e4ea9b7617fea4d3 (cvelist)
- Linux: 5.0 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-38083. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38083.md
Affected: Linux >= 7b8e0b6e659983154c8d7e756cdb833d89a3d4d7, < 53d11560e957d53ee87a0653d258038ce12361b7; >= 7b8e0b6e659983154c8d7e756cdb833d89a3d4d7, < 4483d8b9127591c60c4eb789d6cab953bc4522a9; >= 7b8e0b6e659983154c8d7e756cdb833d89a3d4d7, < 20f68e6a9e41693cb0e55e5b9ebbcb40983a4b8f; >= 7b8e0b6e659983154c8d7e7…
Fixed in: Linux 53d11560e957d53ee87a0653d258038ce12361b7, Linux 4483d8b9127591c60c4eb789d6cab953bc4522a9, Linux 20f68e6a9e41693cb0e55e5b9ebbcb40983a4b8f, Linux 3aaa7c01cf19d9b9bb64b88b65c3a6fd05da2eb4, Linux 46c15c9d0f65c9ba857d63f53264f4b17e8a715f, Linux 93f9eeb678d4c9c1abf720b3615fa8299a490845

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-38083 being exploited?

There is no confirmed exploitation: CVE-2025-38083 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.24% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-38083?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-38083?

Linux \>= 7b8e0b6e659983154c8d7e756cdb833d89a3d4d7, \< 53d11560e957d53ee87a0653d258038ce12361b7; \>= 7b8e0b6e659983154c8d7e756cdb833d89a3d4d7, \< 4483d8b9127591c60c4eb789d6cab953bc4522a9; \>= 7b8e0b6e659983154c8d7e756cdb833d89a3d4d7, \< 20f68e6a9e41693cb0e55e5b9ebbcb40983a4b8f; \>= 7b8e0b6e659983154c8d7e756cdb833d89a3d4d7, \< 3aaa7c01cf19d9b9bb64b88b65c3a6fd05da2eb4; \>= 7b8e0b6e659983154c8d7e756cdb833d89a3d4d7, \< 46c15c9d0f65c9ba857d63f53264f4b17e8a715f; \>= 7b8e0b6e659983154c8d7e756cdb833d89a3d4d7, \< e3f6745006dc9423d2b065b90f191cfa11b1b584; \>= 7b8e0b6e659983154c8d7e756cdb833d89a3d4d7, \< 93f9eeb678d4c9c1abf720b3615fa8299a490845; \>= 7b8e0b6e659983154c8d7e756cdb833d89a3d4d7, \< d35acc1be3480505b5931f17e4ea9b7617fea4d3; Linux 5.0.

### Is there a fix for CVE-2025-38083?

Yes. Fixed in Linux 53d11560e957d53ee87a0653d258038ce12361b7, Linux 4483d8b9127591c60c4eb789d6cab953bc4522a9, Linux 20f68e6a9e41693cb0e55e5b9ebbcb40983a4b8f, Linux 3aaa7c01cf19d9b9bb64b88b65c3a6fd05da2eb4, Linux 46c15c9d0f65c9ba857d63f53264f4b17e8a715f, Linux 93f9eeb678d4c9c1abf720b3615fa8299a490845. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2025-38083?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/53d11560e957d53ee87a0653d258038ce12361b7>
- patch: <https://git.kernel.org/stable/c/4483d8b9127591c60c4eb789d6cab953bc4522a9>
- patch: <https://git.kernel.org/stable/c/20f68e6a9e41693cb0e55e5b9ebbcb40983a4b8f>
- patch: <https://git.kernel.org/stable/c/3aaa7c01cf19d9b9bb64b88b65c3a6fd05da2eb4>
- patch: <https://git.kernel.org/stable/c/46c15c9d0f65c9ba857d63f53264f4b17e8a715f>
- patch: <https://git.kernel.org/stable/c/e3f6745006dc9423d2b065b90f191cfa11b1b584>
- patch: <https://git.kernel.org/stable/c/93f9eeb678d4c9c1abf720b3615fa8299a490845>
- patch: <https://git.kernel.org/stable/c/d35acc1be3480505b5931f17e4ea9b7617fea4d3>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-082556.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-38083>

HTML: <https://flawdb.com/CVE-2025-38083> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-38083>
