usb: gadget: core: Check for unset descriptor (Linux Linux)

CVE-2024-44960
MEDIUM 5.5

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: usb: gadget: core: Check for unset descriptor Make sure the descriptor has been set before looking at maxpacket. This fixes a null pointer panic in this case. This may happen if the gadget doesn't properly set up the endpoint for the current speed, or the gadget descriptors are malformed and the descriptor for the speed/endpoint are not found. No current gadget driver is known to have this problem, but this may cause a hard-to-find bug during development of new gadgets.

Faiblesses (CWE)

  • CWE-476 — Déréférencement de pointeur nul

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/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 d1c188d330ca33cc35d1590441ba276f31144299 < ba15815dd24cc5ec0d23e2170dc58c7db1e03b4a ; affected 54f83b8c8ea9b22082a496deadf90447a326954e < df8e734ae5e605348aa0ca2498aedb73e815f244 ; affected 54f83b8c8ea9b22082a496deadf90447a326954e < 7cc9ebcfe58be22f18056ad8bc6272d120bdcb3e ; affected 54f83b8c8ea9b22082a496deadf90447a326954e < 50c5248b0ea8aae0529fdf28dac42a41312d3b62 ; affected 54f83b8c8ea9b22082a496deadf90447a326954e < a0362cd6e503278add954123957fd47990e8d9bf ; affected 54f83b8c8ea9b22082a496deadf90447a326954e < 1a9df57d57452b104c46c918569143cf21d7ebf1
Linux · Linuxaffected 5.4 ; unaffected 0 < 5.4 ; unaffected 4.19.320 ≤ 4.19.* ; unaffected 5.4.282 ≤ 5.4.* ; unaffected 5.10.224 ≤ 5.10.* ; unaffected 5.15.165 ≤ 5.15.*

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