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

CVE-2021-46993

In the Linux kernel, the following vulnerability has been resolved: sched: Fix out-of-bound access in uclamp…

Publiée le 28 févr. 2024 · modifiée le 4 août 2026 · Sources : NVD, EPSS (FIRST)

Faible 32/100

Résumé

In the Linux kernel, the following vulnerability has been resolved: sched: Fix out-of-bound access in uclamp Util-clamp places tasks in different buckets based on their clamp values for performance reasons. However, the size of buckets is currently computed using a rounding division, which can lead to an off-by-one error in some configurations. For instance, with 20 buckets, the bucket size will be 1024/20=51. A task with a clamp of 1024 will be mapped to bucket id 1024/51=20. Sadly, correct indexes are in range [0,19], hence leading to an out of bound memory access. Clamp the bucket id to fix the issue.

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

Produits et versions affectés

Linux (4 ligne(s))
Linux
ProduitVersionsCorrigé dansSource
Linux kernel de 5.3 (inclus) à 5.4.120 (exclu) — NVD
Linux kernel de 5.5 (inclus) à 5.10.38 (exclu) — NVD
Linux kernel de 5.11 (inclus) à 5.11.22 (exclu) — NVD
Linux kernel de 5.12 (inclus) à 5.12.5 (exclu) — 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:N/A:H (CVSS 3.1, NVD)
Faiblesse
CWE-125 · Corruption mémoire

Comment sont obtenues et calculées ces données