Review reviewHigh

CVE-2025-38568

Linux Linux, linux kernel

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.

CVSS
7.8
EPSS
-
- percentile
CISA KEV
Not listed
Published
2025.08.20
PRIORITY ASSESSMENT

Review review

The CVSS severity warrants an early asset and exposure review.

Known exploitationNot established by KEV
Exploit probability-
Technical severityCVSS 7.8

Vulnerability overview

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 product and versions

Product
Linux Linux, linux kernel
Affected versions
>= f62af20bed2d9e824f51cfc97ff01bc261f40e58 < 39491e859fd494d0b51adc5c7d54c8a7dcf1d198, >= f62af20bed2d9e824f51cfc97ff01bc261f40e58 < d00e4125680f7074c4f42ce3c297336f23128e70, >= f62af20bed2d9e824f51cfc97ff01bc261f40e58 < 66fc2ebdd9d5dd6e5a9c7edeace5a61a0ab2cd86, >= f62af20bed2d9e824f51cfc97ff01bc261f40e58 < f1a9dbcb7d17bf0abb325cdc984957cfabc59693, >= f62af20bed2d9e824f51cfc97ff01bc261f40e58 < ffd2dc4c6c49ff4f1e5d34e454a6a55608104c17, >= 6.4, >= 6.4 < 6.6.102, >= 6.7 < 6.12.42, >= 6.13 < 6.15.10, >= 6.16 < 6.16.1
Fixed versions
6.6.102, 6.12.42, 6.15.10, 6.16.1

Recommended response sequence

Confirm exposure before applying a vendor-supported change.

Full remediation guide
  1. 1
    Identify

    Confirm that Linux Linux, linux kernel and an affected version are present.

  2. 2
    Prioritize

    Combine exploitation signals with asset exposure and business criticality.

  3. 3
    Remediate

    Follow the vendor advisory or supported update path and preserve rollback options.

  4. 4
    Verify

    Recheck the version, service health, access paths, and relevant logs.

Technical data

CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE
CWE-787