CVE-2025-38568

Severity CVSS v4.0:
Pending analysis
Type:
CWE-787 Out-of-bounds Write
Publication date:
19/08/2025
Last modified:
26/11/2025

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> net/sched: mqprio: fix stack out-of-bounds write in tc entry parsing<br /> <br /> TCA_MQPRIO_TC_ENTRY_INDEX is validated using<br /> NLA_POLICY_MAX(NLA_U32, TC_QOPT_MAX_QUEUE), which allows the value<br /> TC_QOPT_MAX_QUEUE (16). This leads to a 4-byte out-of-bounds stack<br /> write in the fp[] array, which only has room for 16 elements (0–15).<br /> <br /> Fix this by changing the policy to allow only up to TC_QOPT_MAX_QUEUE - 1.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.4 (including) 6.6.102 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.7 (including) 6.12.42 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.13 (including) 6.15.10 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.16 (including) 6.16.1 (excluding)