CVE-2024-36974

published 18 Jun 2024 · updated 15 Oct 2026

net/sched: taprio: always validate TCA_TAPRIO_ATTR_PRIOMAP

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 0bf6cc96612bd396048f57d63f1ad454a846e39c, Kernel 6db4af09987cc5d5f0136bd46148b0e0460dae5b, Kernel 724050ae4b76e4fae05a923cb54101d792cf4404 and 4 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.2, >=a3d43c0d56f1b94e74963a2fbadfb70126d92213 <0bf6cc96612bd396048f57d63f1ad454a846e39c, >=a3d43c0d56f1b94e74963a2fbadfb70126d92213 <6db4af09987cc5d5f0136bd46148b0e0460dae5b, >=a3d43c0d56f1b94e74963a2fbadfb70126d92213 <724050ae4b76e4fae05a923cb54101d792cf4404, >=a3d43c0d56f1b94e74963a2fbadfb70126d92213 <c37a27a35eadb59286c9092c49c241270c802ae2, >=a3d43c0d56f1b94e74963a2fbadfb70126d92213 <c6041e7124464ce7e896ee3f912897ce88a0c4ec, >=a3d43c0d56f1b94e74963a2fbadfb70126d92213 <d3dde4c217f0c31ab0621912e682b57e677dd923, >=a3d43c0d56f1b94e74963a2fbadfb70126d92213 <f921a58ae20852d188f70842431ce6519c4fdc360bf6cc96612bd396048f57d63f1ad454a846e39c, 6db4af09987cc5d5f0136bd46148b0e0460dae5b, 724050ae4b76e4fae05a923cb54101d792cf4404, c37a27a35eadb59286c9092c49c241270c802ae2, c6041e7124464ce7e896ee3f912897ce88a0c4ec, d3dde4c217f0c31ab0621912e682b57e677dd923, f921a58ae20852d188f70842431ce6519c4fdc36

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-36974 severity on Zeptric[![CVE-2024-36974](https://zeptric.io/badge/cve/CVE-2024-36974.svg)](https://zeptric.io/cve/CVE-2024-36974)