1. Accueil
  2. Vulnérabilités
  3. CVE-2024-56662

CVE-2024-56662

In the Linux kernel, the following vulnerability has been resolved: acpi: nfit: vmalloc-out-of-bounds Read in…

Publiée le 27 déc. 2024 · modifiée le 4 août 2026 · Sources : NVD, EPSS (FIRST)

Faible 37/100

Résumé

In the Linux kernel, the following vulnerability has been resolved: acpi: nfit: vmalloc-out-of-bounds Read in acpi_nfit_ctl Fix an issue detected by syzbot with KASAN: BUG: KASAN: vmalloc-out-of-bounds in cmd_to_func drivers/acpi/nfit/ core.c:416 [inline] BUG: KASAN: vmalloc-out-of-bounds in acpi_nfit_ctl+0x20e8/0x24a0 drivers/acpi/nfit/core.c:459 The issue occurs in cmd_to_func when the call_pkg->nd_reserved2 array is accessed without verifying that call_pkg points to a buffer that is appropriately sized as a struct nd_cmd_pkg. This can lead to out-of-bounds access and undefined behavior if the buffer does not have sufficient space. To address this, a check was added in acpi_nfit_ctl() to ensure that buf is not NULL and that buf_len is less than sizeof(*call_pkg) before accessing it. This ensures safe access to the members of call_pkg, including the nd_reserved2 array.

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.14.176 (inclus) à 4.15 (exclu) — NVD
Linux kernel de 4.19.31 (inclus) à 4.20 (exclu) — NVD
Linux kernel de 5.0.4 (inclus) à 5.10.232 (exclu) — NVD
Linux kernel de 5.11 (inclus) à 5.15.175 (exclu) — NVD
Linux kernel de 5.16 (inclus) à 6.1.121 (exclu) — NVD
Linux kernel de 6.2 (inclus) à 6.6.67 (exclu) — NVD
Linux kernel de 6.7 (inclus) à 6.12.6 (exclu) — NVD
Linux kernel 6.13 — 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:H/UI:N/S:U/C:H/I:N/A:H (CVSS 3.1, NVD)
Faiblesse
CWE-125 · Corruption mémoire

Comment sont obtenues et calculées ces données