net/sched: taprio: always validate TCA_TAPRIO_ATTR_PRIOMAP (Linux Linux)

CVE-2024-36974
HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.28 % · centile 21 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

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.

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected a3d43c0d56f1b94e74963a2fbadfb70126d92213 < c6041e7124464ce7e896ee3f912897ce88a0c4ec ; affected a3d43c0d56f1b94e74963a2fbadfb70126d92213 < 6db4af09987cc5d5f0136bd46148b0e0460dae5b ; affected a3d43c0d56f1b94e74963a2fbadfb70126d92213 < d3dde4c217f0c31ab0621912e682b57e677dd923 ; affected a3d43c0d56f1b94e74963a2fbadfb70126d92213 < 0bf6cc96612bd396048f57d63f1ad454a846e39c ; affected a3d43c0d56f1b94e74963a2fbadfb70126d92213 < 724050ae4b76e4fae05a923cb54101d792cf4404 ; affected a3d43c0d56f1b94e74963a2fbadfb70126d92213 < c37a27a35eadb59286c9092c49c241270c802ae2
Linux · Linuxaffected 5.2 ; unaffected 0 < 5.2 ; unaffected 5.4.279 ≤ 5.4.* ; unaffected 5.10.221 ≤ 5.10.* ; unaffected 5.15.162 ≤ 5.15.* ; unaffected 6.1.95 ≤ 6.1.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD