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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HAffected software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= a3d43c0d56f1b94e74963a2fbadfb70126d92213, < c6041e7124464ce7e896ee3f912897ce88a0c4ec; >= a3d43c0d56f1b94e74963a2fbadfb70126d92213, < 6db4af09987cc5d5f0136bd46148b0e0460dae5b; >= a3d43c0d56f1b94e74963a2fbadfb70126d92213, < d3dde4c217f0c31ab0621912e682b57e677dd923; >= a3d43c0d56f1b94e74963a2fbadfb70126d92213, < 0bf6cc96612bd396048f57d63f1ad454a846e39c; >= a3d43c0d56f1b94e74963a2fbadfb70126d92213, < 724050ae4b76e4fae05a923cb54101d792cf4404; >= a3d43c0d56f1b94e74963a2fbadfb70126d92213, < c37a27a35eadb59286c9092c49c241270c802ae2; >= a3d43c0d56f1b94e74963a2fbadfb70126d92213, < f921a58ae20852d188f70842431ce6519c4fdc36 |
| Linux | Linux | 5.2 |
| Siemens | RUGGEDCOM RST2428P | < V3.1 |
| Siemens | SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family | — |
| Siemens | SCALANCE XCM-/XRM-/XCH-/XRH-300 family | < V3.1 |
| Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | < V1.1.1 |
References
- https://git.kernel.org/stable/c/0bf6cc96612bd396048f57d63f1ad454a846e39cPatch
- https://git.kernel.org/stable/c/6db4af09987cc5d5f0136bd46148b0e0460dae5bPatch
- https://git.kernel.org/stable/c/724050ae4b76e4fae05a923cb54101d792cf4404Patch
- https://git.kernel.org/stable/c/c37a27a35eadb59286c9092c49c241270c802ae2Patch
- https://git.kernel.org/stable/c/c6041e7124464ce7e896ee3f912897ce88a0c4ecPatch
- https://git.kernel.org/stable/c/d3dde4c217f0c31ab0621912e682b57e677dd923Patch
- https://git.kernel.org/stable/c/f921a58ae20852d188f70842431ce6519c4fdc36Patch
- https://git.kernel.org/stable/c/0bf6cc96612bd396048f57d63f1ad454a846e39cPatch
- https://git.kernel.org/stable/c/6db4af09987cc5d5f0136bd46148b0e0460dae5bPatch
- https://git.kernel.org/stable/c/724050ae4b76e4fae05a923cb54101d792cf4404Patch
- https://git.kernel.org/stable/c/c37a27a35eadb59286c9092c49c241270c802ae2Patch
- https://git.kernel.org/stable/c/c6041e7124464ce7e896ee3f912897ce88a0c4ecPatch
- https://git.kernel.org/stable/c/d3dde4c217f0c31ab0621912e682b57e677dd923Patch
- https://git.kernel.org/stable/c/f921a58ae20852d188f70842431ce6519c4fdc36Patch
- https://cert-portal.siemens.com/productcert/html/ssa-265688.html
- https://cert-portal.siemens.com/productcert/html/ssa-355557.html
- https://cert-portal.siemens.com/productcert/html/ssa-613116.html
Timeline
- Published
- Jun 18, 2024
- Last modified
- Oct 15, 2026
- NVD status
- Modified