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

CVE-2024-35905

bpf: Protect against int overflow for stack access size

Publiée le 19 mai 2024 · modifiée le 15 oct. 2026 · Sources : NVD, CNA (éditeur ou attributeur), EPSS (FIRST)

Faible 35/100

Résumé

In the Linux kernel, the following vulnerability has been resolved: bpf: Protect against int overflow for stack access size This patch re-introduces protection against the size of access to stack memory being negative; the access size can appear negative as a result of overflowing its signed int representation. This should not actually happen, as there are other protections along the way, but we should protect against it anyway. One code path was missing such protections (fixed in the previous patch in the series), causing out-of-bounds array accesses in check_stack_range_initialized(). This patch causes the verification of a program with such a non-sensical access size to fail. This check used to exist in a more indirect way, but was inadvertendly removed in a833a17aeac7.

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

Produits et versions affectés

Linux (12 ligne(s))
Linux
ProduitVersionsCorrigé dansSource
Linux de 5.10.209 (inclus) à 5.10.215 (exclu) — CNA (éditeur ou attributeur)
Linux de 5.15.148 (inclus) à 5.15.154 (exclu) — CNA (éditeur ou attributeur)
Linux de 6.1.75 (inclus) à 6.1.85 (exclu) — CNA (éditeur ou attributeur)
Linux de 6.6.14 (inclus) à 6.6.26 (exclu) — CNA (éditeur ou attributeur)
Linux de 6.7.2 (inclus) à 6.8 (exclu) — CNA (éditeur ou attributeur)
Linux 6.8 — CNA (éditeur ou attributeur)
Linux kernel de 5.10.209 (inclus) à 5.10.215 (exclu) — NVD
Linux kernel de 5.15.148 (inclus) à 5.15.154 (exclu) — NVD
Linux kernel de 6.1.75 (inclus) à 6.1.85 (exclu) — NVD
Linux kernel de 6.6.14 (inclus) à 6.6.26 (exclu) — NVD
Linux kernel de 6.7.2 (inclus) à 6.8.5 (exclu) — NVD
Linux kernel 6.9 — NVD
Debian (1 ligne(s))
Debian
ProduitVersionsCorrigé dansSource
Debian linux 10.0 — 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
CNA (éditeur ou attributeur)
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-129 · Autre (CWE-129)

Comment sont obtenues et calculées ces données