CVE-2024-36974

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-36974
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-36974.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-36974
Downstream
Related
Published
2024-06-18T20:15:13Z
Modified
2025-10-01T15:15:45Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

In the Linux kernel, the following vulnerability has been resolved:

net/sched: taprio: always validate TCATAPRIOATTR_PRIOMAP

If one TCATAPRIOATTRPRIOMAP attribute has been provided, taprioparsemqprioopt() 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 taprioparsemqprio_opt() and bad things can happen.

References

Affected packages