{"id":"CVE-2024-36974","aliases":["CVE-2024-36974"],"related":[],"kind":"vulnerability","state":"published","title":"net/sched: taprio: always validate TCA_TAPRIO_ATTR_PRIOMAP","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"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-&gt;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.","source":"nvd"}],"published":"2024-06-18T19:15:07.892Z","modified":"2026-10-15T01:18:26.790Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"a3d43c0d56f1b94e74963a2fbadfb70126d92213","fixed":"c6041e7124464ce7e896ee3f912897ce88a0c4ec","status":"affected"},{"type":"git","introduced":"a3d43c0d56f1b94e74963a2fbadfb70126d92213","fixed":"6db4af09987cc5d5f0136bd46148b0e0460dae5b","status":"affected"},{"type":"git","introduced":"a3d43c0d56f1b94e74963a2fbadfb70126d92213","fixed":"d3dde4c217f0c31ab0621912e682b57e677dd923","status":"affected"},{"type":"git","introduced":"a3d43c0d56f1b94e74963a2fbadfb70126d92213","fixed":"0bf6cc96612bd396048f57d63f1ad454a846e39c","status":"affected"},{"type":"git","introduced":"a3d43c0d56f1b94e74963a2fbadfb70126d92213","fixed":"724050ae4b76e4fae05a923cb54101d792cf4404","status":"affected"},{"type":"git","introduced":"a3d43c0d56f1b94e74963a2fbadfb70126d92213","fixed":"c37a27a35eadb59286c9092c49c241270c802ae2","status":"affected"},{"type":"git","introduced":"a3d43c0d56f1b94e74963a2fbadfb70126d92213","fixed":"f921a58ae20852d188f70842431ce6519c4fdc36","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.2","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.2","status":"unaffected"},{"type":"semver","introduced":"5.4.279","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.221","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.162","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.95","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.35","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.9.6","lastAffected":"6.9.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.10","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.2","fixed":"5.4.279"},{"status":"affected","introduced":"5.5","fixed":"5.10.221"},{"status":"affected","introduced":"5.11","fixed":"5.15.162"},{"status":"affected","introduced":"5.16","fixed":"6.1.95"},{"status":"affected","introduced":"6.2","fixed":"6.6.35"},{"status":"affected","introduced":"6.7","fixed":"6.9.6"},{"status":"affected","version":"6.10"},{"status":"affected","version":"6.10"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/c6041e7124464ce7e896ee3f912897ce88a0c4ec","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6db4af09987cc5d5f0136bd46148b0e0460dae5b","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d3dde4c217f0c31ab0621912e682b57e677dd923","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0bf6cc96612bd396048f57d63f1ad454a846e39c","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/724050ae4b76e4fae05a923cb54101d792cf4404","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c37a27a35eadb59286c9092c49c241270c802ae2","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f921a58ae20852d188f70842431ce6519c4fdc36","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-613116.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-355557.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T17:15:26.013Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-36974","url":"https://www.cve.org/CVERecord?id=CVE-2024-36974","licence":"CVE Terms of Use","modified":"2026-10-15T00:43:06.154Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-36974","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-36974","licence":"Public domain","modified":"2026-10-15T01:18:26.790Z"}],"updatedAt":"2026-11-25T22:58:41.985Z","epss":{"score":0.00281,"percentile":0.22184,"date":"2026-12-01T12:00:22.000Z"}}