usb: gadget: uvc: Fix ERR_PTR dereference in uvc_v4l2.c (Linux Linux)

CVE-2024-50056
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.22 % · centile 12 ()
É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: uvc: Fix ERR_PTR dereference in uvc_v4l2.c Fix potential dereferencing of ERR_PTR() in find_format_by_pix() and uvc_v4l2_enum_format(). Fix the following smatch errors: drivers/usb/gadget/function/uvc_v4l2.c:124 find_format_by_pix() error: 'fmtdesc' dereferencing possible ERR_PTR() drivers/usb/gadget/function/uvc_v4l2.c:392 uvc_v4l2_enum_format() error: 'fmtdesc' dereferencing possible ERR_PTR() Also, fix similar issue in uvc_v4l2_try_format() for potential dereferencing of ERR_PTR().

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 588b9e85609bcb2f84a2be83591480aa943943b6 < 03fa71e97e9bb116993ec1d51b8a6fe776db0984 ; affected 588b9e85609bcb2f84a2be83591480aa943943b6 < 72a68d2bede3284b95ee93a5ab3a81758bba95b0 ; affected 588b9e85609bcb2f84a2be83591480aa943943b6 < cedeb36c3ff4acd0f3d09918dfd8ed1df05efdd6 ; affected 588b9e85609bcb2f84a2be83591480aa943943b6 < a7bb96b18864225a694e3887ac2733159489e4b0
Linux · Linuxaffected 6.1 ; unaffected 0 < 6.1 ; unaffected 6.1.133 ≤ 6.1.* ; unaffected 6.6.86 ≤ 6.6.* ; unaffected 6.11.4 ≤ 6.11.* ; unaffected 6.12 ≤ *

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