CVE-2025-38568

net/sched: mqprio: fix stack out-of-bounds write in tc entry parsing

HIGH
7.8
CVSS Score
Published: August 19, 2025 at 05:02 PM UTC
Updated: August 5, 2026 at 12:44 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

6.13 ≤ v < 6.15.106.16 ≤ v < 6.16.16.4 ≤ v < 6.12.426.4 ≤ v < 6.15.106.4 ≤ v < 6.16.16.4 ≤ v < 6.176.4 ≤ v < 6.6.1026.7 ≤ v < 6.12.426.4f62af20bed2d9e824f51cfc97ff01bc261f40e58
Vendor states this is fixed in 39491e859fd494d0b51adc5c7d54c8a7dcf1d198 (fixed)
Vendor states this is fixed in 66fc2ebdd9d5dd6e5a9c7edeace5a61a0ab2cd86 (fixed)
Vendor states this is fixed in d00e4125680f7074c4f42ce3c297336f23128e70 (fixed)
Vendor states this is fixed in f1a9dbcb7d17bf0abb325cdc984957cfabc59693 (fixed)
Vendor states this is fixed in ffd2dc4c6c49ff4f1e5d34e454a6a55608104c17 (fixed)
Vendor states this is fixed in 6.12.42 (unaffected)
Vendor states this is fixed in 6.15.10 (unaffected)
Vendor states this is fixed in 6.16.1 (unaffected)
Vendor states this is fixed in 6.17 (unaffected)
Vendor states this is fixed in 6.4 (unaffected)
Vendor states this is fixed in 6.6.102 (unaffected)

References (5)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/39491e859fd494d0b51adc5c7d54c8a7dcf1d198
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/66fc2ebdd9d5dd6e5a9c7edeace5a61a0ab2cd86
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d00e4125680f7074c4f42ce3c297336f23128e70
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f1a9dbcb7d17bf0abb325cdc984957cfabc59693
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ffd2dc4c6c49ff4f1e5d34e454a6a55608104c17

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-787

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card