CVE-2025-38568
published high CVSS 3.1 · 7.8net/sched: mqprio: fix stack out-of-bounds write in tc entry parsing
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxf62af20bed2d9e824f51cfc97ff01bc261f40e58 to < 39491e859fd494d0b51adc5c7d54c8a7dcf1d198 · f62af20bed2d9e824f51cfc97ff01bc261f40e58 to < d00e4125680f7074c4f42ce3c297336f23128e70 · f62af20bed2d9e824f51cfc97ff01bc261f40e58 to < 66fc2ebdd9d5dd6e5a9c7edeace5a61a0ab2cd86 · f62af20bed2d9e824f51cfc97ff01bc261f40e58 to < f1a9dbcb7d17bf0abb325cdc984957cfabc59693 · f62af20bed2d9e824f51cfc97ff01bc261f40e58 to < ffd2dc4c6c49ff4f1e5d34e454a6a55608104c17 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.4 (affected) · 0 to < 6.4 (unaffected · semver) · 6.6.102 through 6.6.* (unaffected · semver) · 6.12.42 through 6.12.* (unaffected · semver) · 6.15.10 through 6.15.* (unaffected · semver) · 6.16.1 through 6.16.* (unaffected · semver) · 6.17 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-1208 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 10 | kernel-abi-stablelists | Advisory build | 6.12.0-124.31.1.el10_1 | ALSA-2026:1690 |
| Oracle Linux | 10 | kernelx86_64 | Advisory build | 0:6.12.0-124.31.1.el10_1 | ELSA-2026-1690 |
| AlmaLinux | 10 | kernel-doc | Advisory build | 6.12.0-124.31.1.el10_1 | ALSA-2026:1690 |
Show 97 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 9 | kernel | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-64k | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-64k-core | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-64k-debug | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-64k-debug-core | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-64k-debug-devel | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-64k-debug-devel-matched | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-64k-debug-modules | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-64k-debug-modules-core | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-64k-debug-modules-extra | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-64k-devel | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-64k-devel-matched | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-64k-modules | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-64k-modules-core | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-64k-modules-extra | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-abi-stablelists | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-core | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-cross-headers | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-debug | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-debug-core | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-debug-devel | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-debug-devel-matched | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-debug-modules | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-debug-modules-core | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-debug-modules-extra | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-debug-uki-virt | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-devel | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-devel-matched | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-doc | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-headers | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-modules | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-modules-core | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-modules-extra | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-rt | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-rt-64k | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-rt-64k-core | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-rt-64k-debug | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-rt-64k-debug-core | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-rt-64k-debug-devel | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules-core | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules-extra | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-rt-64k-devel | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-rt-64k-modules | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-rt-64k-modules-core | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-rt-64k-modules-extra | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-rt-core | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-rt-debug | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-rt-debug-core | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-rt-debug-devel | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-rt-debug-modules | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-rt-debug-modules-core | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-rt-debug-modules-extra | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-rt-devel | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-rt-modules | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-rt-modules-core | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-rt-modules-extra | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-tools | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-tools-libs | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-tools-libs-devel | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-uki-virt | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-uki-virt-addons | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-zfcpdump | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-zfcpdump-core | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-zfcpdump-devel | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-zfcpdump-devel-matched | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-zfcpdump-modules | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-core | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-extra | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | libperf | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | perf | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | python3-perf | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | rtla | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| AlmaLinux | 9 | rv | Advisory build | 5.14.0-611.27.1.el9_7 | ALSA-2026:1617 |
| Oracle Linux | 10 | kernel-abi-stablelistsx86_64 | Advisory build | 0:6.12.0-124.31.1.el10_1 | ELSA-2026-1690 |
| Oracle Linux | 10 | kernel-corex86_64 | Advisory build | 0:6.12.0-124.31.1.el10_1 | ELSA-2026-1690 |
| Oracle Linux | 10 | kernel-cross-headersaarch64 | Advisory build | 0:6.12.0-124.31.1.el10_1 | ELSA-2026-1690 |
| Oracle Linux | 10 | kernel-cross-headersx86_64 | Advisory build | 0:6.12.0-124.31.1.el10_1 | ELSA-2026-1690 |
| Oracle Linux | 10 | kernel-debugx86_64 | Advisory build | 0:6.12.0-124.31.1.el10_1 | ELSA-2026-1690 |
| Oracle Linux | 10 | kernel-debug-corex86_64 | Advisory build | 0:6.12.0-124.31.1.el10_1 | ELSA-2026-1690 |
| Oracle Linux | 10 | kernel-debug-develx86_64 | Advisory build | 0:6.12.0-124.31.1.el10_1 | ELSA-2026-1690 |
| Oracle Linux | 10 | kernel-debug-devel-matchedx86_64 | Advisory build | 0:6.12.0-124.31.1.el10_1 | ELSA-2026-1690 |
| Oracle Linux | 10 | kernel-debug-modulesx86_64 | Advisory build | 0:6.12.0-124.31.1.el10_1 | ELSA-2026-1690 |
| Oracle Linux | 10 | kernel-debug-modules-corex86_64 | Advisory build | 0:6.12.0-124.31.1.el10_1 | ELSA-2026-1690 |
| Oracle Linux | 10 | kernel-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-124.31.1.el10_1 | ELSA-2026-1690 |
| Oracle Linux | 10 | kernel-debug-uki-virtx86_64 | Advisory build | 0:6.12.0-124.31.1.el10_1 | ELSA-2026-1690 |
| Oracle Linux | 10 | kernel-develx86_64 | Advisory build | 0:6.12.0-124.31.1.el10_1 | ELSA-2026-1690 |
| Oracle Linux | 10 | kernel-devel-matchedx86_64 | Advisory build | 0:6.12.0-124.31.1.el10_1 | ELSA-2026-1690 |
| Oracle Linux | 10 | kernel-docx86_64 | Advisory build | 0:6.12.0-124.31.1.el10_1 | ELSA-2026-1690 |
| Oracle Linux | 10 | kernel-headersaarch64 | Advisory build | 0:6.12.0-124.31.1.el10_1 | ELSA-2026-1690 |
| Oracle Linux | 10 | kernel-headersx86_64 | Advisory build | 0:6.12.0-124.31.1.el10_1 | ELSA-2026-1690 |
| Oracle Linux | 10 | kernel-modulesx86_64 | Advisory build | 0:6.12.0-124.31.1.el10_1 | ELSA-2026-1690 |
| Oracle Linux | 10 | kernel-modules-corex86_64 | Advisory build | 0:6.12.0-124.31.1.el10_1 | ELSA-2026-1690 |
| Oracle Linux | 10 | kernel-modules-extrax86_64 | Advisory build | 0:6.12.0-124.31.1.el10_1 | ELSA-2026-1690 |
| Oracle Linux | 10 | kernel-modules-extra-matchedx86_64 | Advisory build | 0:6.12.0-124.31.1.el10_1 | ELSA-2026-1690 |
| Oracle Linux | 10 | kernel-toolsaarch64 | Advisory build | 0:6.12.0-124.31.1.el10_1 | ELSA-2026-1690 |
| Oracle Linux | 10 | kernel-toolsx86_64 | Advisory build | 0:6.12.0-124.31.1.el10_1 | ELSA-2026-1690 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The vulnerability is reached only through an RTM_NEWQDISC rtnetlink message on an AF_NETLINK socket, i.e. a local syscall interface. Per kernel scoring guidance, tc/netlink qdisc configuration paths are Local. AC:L - A single crafted netlink message with TCA_MQPRIO_TC_ENTRY_INDEX=16 deterministically triggers the out-of-bounds write; there is no race, no memory-layout guess, and no timing dependency. The only prerequisite is a multiqueue netdev implementing ndo_setup_tc, which is true of essentially every hardware NIC, DSA user port, and mac80211 wlan interface. PR:L - Triggering requires CAP_NET_ADMIN in the target network namespace, which per kernel scoring guidance for tc/qdisc paths is rated Low rather than High. Realistic low-privilege holders include containers granted NET_ADMIN over a namespace holding an SR-IOV VF or passed-through NIC, and non-root TSN/network configuration daemons on automotive and industrial systems. UI:N - The attacker performs the entire operation themselves via a netlink socket write; no victim action, mount, or file open is needed. S:U - The corruption occurs on the kernel stack of the calling task and stays within the kernel's own security authority. No VM, IOMMU, or sandbox boundary is crossed. C:H - The bug corrupts kernel stack memory beyond the fp[] array, damaging adjacent frame state such as saved registers, the canary, or the in-flight netlink attribute iterator. Such kernel memory corruption is treated as leverageable toward information disclosure, so the higher rating is taken. I:H - This is an out-of-bounds write into the kernel stack frame at an attacker-selected trigger point, overwriting data the attacker was never permitted to modify. Out-of-bounds writes are rated High for integrity. A:H - On stack-protector kernels (the default for distro, Android, and automotive builds) the write lands on the canary region, so returning from mqprio_parse_tc_entries invokes __stack_chk_fail(), which calls panic() and brings the machine down unrecoverably. Even without the stack protector, the corrupted frame state causes a kernel oops.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | f62af20bed2d9e824f51cfc97ff01bc261f40e58 to < 39491e859fd494d0b51adc5c7d54c8a7dcf1d198 (affected · git)f62af20bed2d9e824f51cfc97ff01bc261f40e58 to < d00e4125680f7074c4f42ce3c297336f23128e70 (affected · git)f62af20bed2d9e824f51cfc97ff01bc261f40e58 to < 66fc2ebdd9d5dd6e5a9c7edeace5a61a0ab2cd86 (affected · git)f62af20bed2d9e824f51cfc97ff01bc261f40e58 to < f1a9dbcb7d17bf0abb325cdc984957cfabc59693 (affected · git)f62af20bed2d9e824f51cfc97ff01bc261f40e58 to < ffd2dc4c6c49ff4f1e5d34e454a6a55608104c17 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.4 (affected)0 to < 6.4 (unaffected · semver)6.6.102 through 6.6.* (unaffected · semver)6.12.42 through 6.12.* (unaffected · semver)6.15.10 through 6.15.* (unaffected · semver)6.16.1 through 6.16.* (unaffected · semver)6.17 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
5- https://git.kernel.org/stable/c/39491e859fd494d0b51adc5c7d54c8a7dcf1d198
- https://git.kernel.org/stable/c/66fc2ebdd9d5dd6e5a9c7edeace5a61a0ab2cd86
- https://git.kernel.org/stable/c/d00e4125680f7074c4f42ce3c297336f23128e70
- https://git.kernel.org/stable/c/f1a9dbcb7d17bf0abb325cdc984957cfabc59693
- https://git.kernel.org/stable/c/ffd2dc4c6c49ff4f1e5d34e454a6a55608104c17
Provider assertions
2Linux · cna
net/sched: mqprio: fix stack out-of-bounds write in tc entry parsing
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- cd7d8f8c9b5bdce798e187737888db704d4f6cdec71bb6ce9946a56f85185f18
- Ingested
- 23 Sep 2026, 08:46:47 UTC
- Source record
- Official CVE record