CVE-2025-38568

Source
https://cve.org/CVERecord?id=CVE-2025-38568
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38568.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-38568
Downstream
Related
Published
2025-08-19T17:02:49.278Z
Modified
2026-03-20T12:42:55.529114Z
Summary
net/sched: mqprio: fix stack out-of-bounds write in tc entry parsing
Details

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 TCQOPTMAX_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 TCQOPTMAX_QUEUE - 1.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38568.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
f62af20bed2d9e824f51cfc97ff01bc261f40e58
Fixed
39491e859fd494d0b51adc5c7d54c8a7dcf1d198
Fixed
d00e4125680f7074c4f42ce3c297336f23128e70
Fixed
66fc2ebdd9d5dd6e5a9c7edeace5a61a0ab2cd86
Fixed
f1a9dbcb7d17bf0abb325cdc984957cfabc59693
Fixed
ffd2dc4c6c49ff4f1e5d34e454a6a55608104c17

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38568.json"