REDHAT-BUG-2389507: Medium severity linux/kernel vulnerability

Published Aug 19, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

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

TCAMQPRIOTCENTRYINDEX is validated using NLAPOLICYMAX(NLAU32, TCQOPTMAXQUEUE), which allows the value TCQOPTMAXQUEUE (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 TCQOPTMAXQUEUE - 1.

Affected Software

1 affected component
linux/kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Change the mqprio policy to allow only up to TC_QOPT_MAX_QUEUE - 1 so that TCA_MQPRIO_TC_ENTRY_INDEX is validated against TC_QOPT_MAX_QUEUE - 1 rather than TC_QOPT_MAX_QUEUE (16), preventing the 4-byte out-of-bounds stack write in the fp[] array (0–15).

    Linux kernel net/sched mqprio NLA_POLICY_MAX(NLA_U32, TC_QOPT_MAX_QUEUE) = NLA_POLICY_MAX(NLA_U32, TC_QOPT_MAX_QUEUE - 1)

Event History

Aug 19, 2025
Data Sourced
via Red Hat·06:04 PM
DescriptionSeverityAffected Software

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203