{"id":"CVE-2025-38568","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:\n\nnet/sched: mqprio: fix stack out-of-bounds write in tc entry parsing\n\nTCA_MQPRIO_TC_ENTRY_INDEX is validated using\nNLA_POLICY_MAX(NLA_U32, TC_QOPT_MAX_QUEUE), which allows the value\nTC_QOPT_MAX_QUEUE (16). This leads to a 4-byte out-of-bounds stack\nwrite in the fp[] array, which only has room for 16 elements (0–15).\n\nFix this by changing the policy to allow only up to TC_QOPT_MAX_QUEUE - 1.","modified":"2026-03-20T12:42:55.529114Z","published":"2025-08-19T17:02:49.278Z","related":["ALSA-2026:1617","ALSA-2026:1690","MGASA-2025-0234","MGASA-2025-0235","SUSE-SU-2025:03272-1","SUSE-SU-2025:03290-1","SUSE-SU-2025:03301-1","SUSE-SU-2025:03382-1","SUSE-SU-2025:03602-1","SUSE-SU-2025:03633-1","SUSE-SU-2025:03634-1","SUSE-SU-2025:20653-1","SUSE-SU-2025:20669-1","SUSE-SU-2025:20739-1","SUSE-SU-2025:20756-1","SUSE-SU-2025:21074-1","SUSE-SU-2025:21139-1","SUSE-SU-2025:21179-1","openSUSE-SU-2025:20081-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38568.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/39491e859fd494d0b51adc5c7d54c8a7dcf1d198"},{"type":"WEB","url":"https://git.kernel.org/stable/c/66fc2ebdd9d5dd6e5a9c7edeace5a61a0ab2cd86"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d00e4125680f7074c4f42ce3c297336f23128e70"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f1a9dbcb7d17bf0abb325cdc984957cfabc59693"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ffd2dc4c6c49ff4f1e5d34e454a6a55608104c17"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38568.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38568"},{"type":"PACKAGE","url":"https://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"}}],"schema_version":"1.7.5"}