# CVE-2024-36974: net/sched: taprio: always validate TCA_TAPRIO_ATTR_PRIOMAP

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 22% of CVEs (2026-12-01)
- Published: 2024-06-18T19:15:07.892Z
- Modified: 2026-10-15T01:18:26.790Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from a3d43c0d56f1b94e74963a2fbadfb70126d92213 before c6041e7124464ce7e896ee3f912897ce88a0c4ec; from a3d43c0d56f1b94e74963a2fbadfb70126d92213 before 6db4af09987cc5d5f0136bd46148b0e0460dae5b; from a3d43c0d56f1b94e74963a2fbadfb70126d92213 before d3dde4c217f0c31ab0621912e682b57e677dd923; from a3d43c0d56f1b94e74963a2fbadfb70126d92213 before 0bf6cc96612bd396048f57d63f1ad454a846e39c; from a3d43c0d56f1b94e74963a2fbadfb70126d92213 before 724050ae4b76e4fae05a923cb54101d792cf4404; from a3d43c0d56f1b94e74963a2fbadfb70126d92213 before c37a27a35eadb59286c9092c49c241270c802ae2; from a3d43c0d56f1b94e74963a2fbadfb70126d92213 before f921a58ae20852d188f70842431ce6519c4fdc36; 5.2 (not affected: before 5.2; from 5.4.279 up to 5.4.*; from 5.10.221 up to 5.10.*; from 5.15.162 up to 5.15.*; from 6.1.95 up to 6.1.*; from 6.6.35 up to 6.6.*; from 6.9.6 up to 6.9.*; from 6.10 up to *)
- linux linux_kernel: from 5.2 before 5.4.279; from 5.5 before 5.10.221; from 5.11 before 5.15.162; from 5.16 before 6.1.95; from 6.2 before 6.6.35; from 6.7 before 6.9.6; 6.10

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/c6041e7124464ce7e896ee3f912897ce88a0c4ec> (patch)
- <https://git.kernel.org/stable/c/6db4af09987cc5d5f0136bd46148b0e0460dae5b> (patch)
- <https://git.kernel.org/stable/c/d3dde4c217f0c31ab0621912e682b57e677dd923> (patch)
- <https://git.kernel.org/stable/c/0bf6cc96612bd396048f57d63f1ad454a846e39c> (patch)
- <https://git.kernel.org/stable/c/724050ae4b76e4fae05a923cb54101d792cf4404> (patch)
- <https://git.kernel.org/stable/c/c37a27a35eadb59286c9092c49c241270c802ae2> (patch)
- <https://git.kernel.org/stable/c/f921a58ae20852d188f70842431ce6519c4fdc36> (patch)
- <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-613116.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-355557.html>

## Sources

- CVE List: [CVE-2024-36974](https://www.cve.org/CVERecord?id=CVE-2024-36974), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2024-36974](https://nvd.nist.gov/vuln/detail/CVE-2024-36974), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2024-36974 · Whole record: https://cve.day/CVE-2024-36974.json · Rebuilt by cve.day 2026-11-25T22:58:41.985Z
