1. Accueil
  2. Vulnérabilités
  3. CVE-2021-47500

CVE-2021-47500

In the Linux kernel, the following vulnerability has been resolved: iio: mma8452: Fix trigger reference…

Publiée le 24 mai 2024 · modifiée le 4 août 2026 · Sources : NVD, EPSS (FIRST)

Faible 35/100

Résumé

In the Linux kernel, the following vulnerability has been resolved: iio: mma8452: Fix trigger reference couting The mma8452 driver directly assigns a trigger to the struct iio_dev. The IIO core when done using this trigger will call `iio_trigger_put()` to drop the reference count by 1. Without the matching `iio_trigger_get()` in the driver the reference count can reach 0 too early, the trigger gets freed while still in use and a use-after-free occurs. Fix this by getting a reference to the trigger before assigning it to the IIO device.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Linux (8 ligne(s))
Linux
ProduitVersionsCorrigé dansSource
Linux kernel de 4.2 (inclus) à 4.4.295 (exclu) — NVD
Linux kernel de 4.5 (inclus) à 4.9.293 (exclu) — NVD
Linux kernel de 4.10 (inclus) à 4.14.258 (exclu) — NVD
Linux kernel de 4.15 (inclus) à 4.19.221 (exclu) — NVD
Linux kernel de 4.20 (inclus) à 5.4.165 (exclu) — NVD
Linux kernel de 5.5 (inclus) à 5.10.85 (exclu) — NVD
Linux kernel de 5.11 (inclus) à 5.15.8 (exclu) — NVD
Linux kernel 5.15 — NVD

Correctif

Non renseigné par l’éditeur.

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
NVD
Score CVSS
NVD
Faiblesse (CWE)
NVD
Vecteur CVSS
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1, NVD)
Faiblesse
CWE-416 · Corruption mémoire

Comment sont obtenues et calculées ces données