All reports
Medium

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

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2025-38568

Probability of exploitation in the next 30 days: 0.19%

FIRST EPSS · 2026-11-19

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.

A flaw was found in the Linux kernel. An off-by-one bounds-checking error in the mqprio (multiqueue priority) traffic control component allows a local user with administrative network privileges to trigger a stack-based out-of-bounds write using a specially crafted netlink request. This issue leads to a system crash, resulting in a Denial of Service (DoS).