CVE-2025-38568
net/sched: mqprio: fix stack out-of-bounds write in tc entry parsing
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= f62af20bed2d9e824f51cfc97ff01bc261f40e58, < 39491e859fd494d0b51adc5c7d54c8a7dcf1d198; >= f62af20bed2d9e824f51cfc97ff01bc261f40e58, < d00e4125680f7074c4f42ce3c297336f23128e70; >= f62af20bed2d9e824f51cfc97ff01bc261f40e58, < 66fc2ebdd9d5dd6e5a9c7edeace5a61a0ab2cd86; >= f62af20bed2d9e824f51cfc97ff01bc261f40e58, < f1a9dbcb7d17bf0abb325cdc984957cfabc59693; >= f62af20bed2d9e824f51cfc97ff01bc261f40e58, < ffd2dc4c6c49ff4f1e5d34e454a6a55608104c17
- Anyone running Linux 6.4
Vulnerability facts
- Affected
- Linux >= f62af20bed2d9e824f51cfc97ff01bc261f40e58, < 39491e859fd494d0b51adc5c7d54c8a7dcf1d198; >= f62af20bed2d9e824f51cfc97ff01bc261f40e58, < d00e4125680f7074c4f42ce3c297336f23128e70; >= f62af20bed2d9e824f51cfc97ff01bc261f40e58, < 66fc2ebdd9d5dd6e5a9c7edeace5a61a0ab2cd86; >= f62af20bed2d9e824f51cfc97ff01bc261f40e58, < f1a9dbcb7d17bf0abb325cdc984957cfabc59693; >= f62af20bed2d9e824f51cfc97ff01bc261f40e58, < ffd2dc4c6c49ff4f1e5d34e454a6a55608104c17; Linux 6.4
- Fixed in
- Linux 39491e859fd494d0b51adc5c7d54c8a7dcf1d198, Linux 66fc2ebdd9d5dd6e5a9c7edeace5a61a0ab2cd86
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 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
- EPSS
- 0.28% chance of exploitation in 30 days (percentile 13, 2026-11-26)
- CWE
- CWE-787
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: net/sched: mqprio: fix stack out-of-bounds write in tc entry parsing TCA_MQPRIO_TC_ENTRY_INDEX is validated using NLA_POLICY_MAX(NLA_U32, TC_QOPT_MAX_QUEUE), which allows the value TC_QOPT_MAX_QUEUE (16). This leads to a 4-byte out-of-bounds stack write in the fp[] array, which only has room for 16 elements (0–15). Fix this by changing the policy to allow only up to TC_QOPT_MAX_QUEUE - 1.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= f62af20bed2d9e824f51cfc97ff01bc261f40e58, < 39491e859fd494d0b51adc5c7d54c8a7dcf1d198; >= f62af20bed2d9e824f51cfc97ff01bc261f40e58, < d00e4125680f7074c4f42ce3c297336f23128e70; >= f62af20bed2d9e824f51cfc97ff01bc261f40e58, < 66fc2ebdd9d5dd6e5a9c7edeace5a61a0ab2cd86; >= f62af20bed2d9e824f51cfc97ff01bc261f40e58, < f1a9dbcb7d17bf0abb325cdc984957cfabc59693; >= f62af20bed2d9e824f51cfc97ff01bc261f40e58, < ffd2dc4c6c49ff4f1e5d34e454a6a55608104c17 | — | cvelist |
| Linux | 6.4 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-38568. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-38568.md Affected: Linux >= f62af20bed2d9e824f51cfc97ff01bc261f40e58, < 39491e859fd494d0b51adc5c7d54c8a7dcf1d198; >= f62af20bed2d9e824f51cfc97ff01bc261f40e58, < d00e4125680f7074c4f42ce3c297336f23128e70; >= f62af20bed2d9e824f51cfc97ff01bc261f40e58, < 66fc2ebdd9d5dd6e5a9c7edeace5a61a0ab2cd86; >= f62af20bed2d9e824f51cfc… Fixed in: Linux 39491e859fd494d0b51adc5c7d54c8a7dcf1d198, Linux 66fc2ebdd9d5dd6e5a9c7edeace5a61a0ab2cd86 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.
References
Patches
- https://git.kernel.org/stable/c/39491e859fd494d0b51adc5c7d54c8a7dcf1d198
- https://git.kernel.org/stable/c/d00e4125680f7074c4f42ce3c297336f23128e70
- https://git.kernel.org/stable/c/66fc2ebdd9d5dd6e5a9c7edeace5a61a0ab2cd86
- https://git.kernel.org/stable/c/f1a9dbcb7d17bf0abb325cdc984957cfabc59693
- https://git.kernel.org/stable/c/ffd2dc4c6c49ff4f1e5d34e454a6a55608104c17
FAQ
Is CVE-2025-38568 being exploited?
There is no confirmed exploitation: CVE-2025-38568 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-38568?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2025-38568?
Linux >= f62af20bed2d9e824f51cfc97ff01bc261f40e58, < 39491e859fd494d0b51adc5c7d54c8a7dcf1d198; >= f62af20bed2d9e824f51cfc97ff01bc261f40e58, < d00e4125680f7074c4f42ce3c297336f23128e70; >= f62af20bed2d9e824f51cfc97ff01bc261f40e58, < 66fc2ebdd9d5dd6e5a9c7edeace5a61a0ab2cd86; >= f62af20bed2d9e824f51cfc97ff01bc261f40e58, < f1a9dbcb7d17bf0abb325cdc984957cfabc59693; >= f62af20bed2d9e824f51cfc97ff01bc261f40e58, < ffd2dc4c6c49ff4f1e5d34e454a6a55608104c17; Linux 6.4.
Is there a fix for CVE-2025-38568?
Yes. Fixed in Linux 39491e859fd494d0b51adc5c7d54c8a7dcf1d198, Linux 66fc2ebdd9d5dd6e5a9c7edeace5a61a0ab2cd86. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2025-38568?
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.