VDB

CVE-2025-38568

CVE-2025-38568 PUBLISHED CVSS 7.8 HIGH

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

Reported by linux · Published August 19, 2025

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.12-libbpf-develAmazon Linux1:6.12.46-66.121.amzn2023
kernel6.12-libbpf-staticAmazon Linux1:6.12.46-66.121.amzn2023
kernel6.12-tools-develAmazon Linux1:6.12.46-66.121.amzn2023
linux_kernellinux6.16.1, 6.15.10, 6.12.42, 6.6.102
LinuxLinux6.4

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinuxf62af20bed2d9e824f51cfc97ff01bc261f40e58, f62af20bed2d9e824f51cfc97ff01bc261f40e58, f62af20bed2d9e824f51cfc97ff01bc261f40e58
LinuxLinux6.4, 0, 6.6.102
amazon:2023kernel6.12-libbpf-devel0
amazon:2023kernel6.12-libbpf-static0
amazon:2023kernel6.12-tools-devel0
LinuxLinux6.15.10, *, *
amazon:2023perf6.120
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel6.12-libbpf0
amazon:2023python3-perf6.120
amazon:2023bpftool6.120
amazon:2023kernel6.120
amazon:2023kernel6.12-modules-extra-common0
linuxlinux_kernel6.4, 6.4, 6.4
amazon:2023kernel6.12-headers0
amazon:2023kernel6.12-devel0
amazon:2023kernel6.12-tools0
amazon:2023kernel-livepatch-6.12.46-66.1210

Timeline

  • Aug 19, 2025 CVE Published
  • Aug 20, 2025 EPSS Score (30 in total, the first dated here)
  • Aug 20, 2025 Coalition ESS Score (7 in total, the first dated here)
  • Oct 12, 2025 PoC Published (10 in total, the first dated here)
  • Dec 15, 2025 Security Advisory (204 in total, the first dated here)
  • Mar 29, 2026 Distribution Patch (180 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-38568
vulnetix vdb fixes CVE-2025-38568

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-38568/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›