7.8high
net/sched: taprio: always validate TCA_TAPRIO_ATTR_PRIOMAP
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.34% (higher than 20% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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.* | CVE List |
| 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 | NVD |
All scores
| Linux | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net/sched: taprio: validar siempre TCA_TAPRIO_ATTR_PRIOMAP Si se ha proporcionado un atributo TCA_TAPRIO_ATTR_PRIOMAP, taprio_parse_mqprio_opt() debe validarlo, o el espacio de usuario puede inyectar datos arbitrarios al kernel, la segunda vez taprio_change () se llama. La primera llamada (con atributos vĂ¡lidos) establece dev->num_tc en un valor distinto de cero. La segunda llamada (con atributos mqprio arbitrarios) regresa temprano desde taprio_parse_mqprio_opt() y pueden suceder cosas malas.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-36974 changed 2026-10-15 | CVE Terms of Use |
| NVD | CVE-2024-36974 changed 2026-10-15 | Public domain |