{"id":"CVE-2024-36974","published":"2024-06-18T19:15:07Z","modified":"2026-10-15T00:43:06Z","title":"net/sched: taprio: always validate TCA_TAPRIO_ATTR_PRIOMAP","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/sched: taprio: always validate TCA_TAPRIO_ATTR_PRIOMAP\n\nIf one TCA_TAPRIO_ATTR_PRIOMAP attribute has been provided,\ntaprio_parse_mqprio_opt() must validate it, or userspace\ncan inject arbitrary data to the kernel, the second time\ntaprio_change() is called.\n\nFirst call (with valid attributes) sets dev->num_tc\nto a non zero value.\n\nSecond call (with arbitrary mqprio attributes)\nreturns early from taprio_parse_mqprio_opt()\nand bad things can happen.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00281,"percentile":0.21149,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/c6041e7124464ce7e896ee3f912897ce88a0c4ec","tags":[]},{"url":"https://git.kernel.org/stable/c/6db4af09987cc5d5f0136bd46148b0e0460dae5b","tags":[]},{"url":"https://git.kernel.org/stable/c/d3dde4c217f0c31ab0621912e682b57e677dd923","tags":[]},{"url":"https://git.kernel.org/stable/c/0bf6cc96612bd396048f57d63f1ad454a846e39c","tags":[]},{"url":"https://git.kernel.org/stable/c/724050ae4b76e4fae05a923cb54101d792cf4404","tags":[]},{"url":"https://git.kernel.org/stable/c/c37a27a35eadb59286c9092c49c241270c802ae2","tags":[]},{"url":"https://git.kernel.org/stable/c/f921a58ae20852d188f70842431ce6519c4fdc36","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-613116.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-355557.html","tags":[]}],"priority":{"score":9.7,"factors":[{"name":"EPSS percentile","points":4.23},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= a3d43c0d56f1b94e74963a2fbadfb70126d92213, < c6041e7124464ce7e896ee3f912897ce88a0c4ec",">= a3d43c0d56f1b94e74963a2fbadfb70126d92213, < 6db4af09987cc5d5f0136bd46148b0e0460dae5b",">= a3d43c0d56f1b94e74963a2fbadfb70126d92213, < d3dde4c217f0c31ab0621912e682b57e677dd923",">= a3d43c0d56f1b94e74963a2fbadfb70126d92213, < 0bf6cc96612bd396048f57d63f1ad454a846e39c",">= a3d43c0d56f1b94e74963a2fbadfb70126d92213, < 724050ae4b76e4fae05a923cb54101d792cf4404",">= a3d43c0d56f1b94e74963a2fbadfb70126d92213, < c37a27a35eadb59286c9092c49c241270c802ae2",">= a3d43c0d56f1b94e74963a2fbadfb70126d92213, < f921a58ae20852d188f70842431ce6519c4fdc36"]},{"vendor":"Linux","product":"Linux","versions":["5.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-10T17:15:26.013777Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-36324","exploited":false,"provenance":"source"}}