1. Accueil
  2. Vulnérabilités
  3. CVE-2026-43405

CVE-2026-43405

libceph: Use u32 for non-negative values in ceph_monmap_decode()

Publiée le 8 mai 2026 · modifiée le 11 nov. 2026 · Sources : NVD, CNA (éditeur ou attributeur), EPSS (FIRST)

Moyen 46/100

Résumé

In the Linux kernel, the following vulnerability has been resolved: libceph: Use u32 for non-negative values in ceph_monmap_decode() This patch fixes unnecessary implicit conversions that change signedness of blob_len and num_mon in ceph_monmap_decode(). Currently blob_len and num_mon are (signed) int variables. They are used to hold values that are always non-negative and get assigned in ceph_decode_32_safe(), which is meant to assign u32 values. Both variables are subsequently used as unsigned values, and the value of num_mon is further assigned to monmap->num_mon, which is of type u32. Therefore, both variables should be of type u32. This is especially relevant for num_mon. If the value read from the incoming message is very large, it is interpreted as a negative value, and the check for num_mon > CEPH_MAX_MON does not catch it. This leads to the attempt to allocate a very large chunk of memory for monmap, which will most likely fail. In this case, an unnecessary attempt to allocate memory is performed, and -ENOMEM is returned instead of -EINVAL.

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

Produits et versions affectés

Linux (8 ligne(s))
Linux
ProduitVersionsCorrigé dansSource
Linux 5.11 — CNA (éditeur ou attributeur)
Linux kernel de 5.11 (inclus) à 5.15.203 (exclu) — NVD
Linux kernel de 5.16 (inclus) à 6.1.167 (exclu) — NVD
Linux kernel de 6.2 (inclus) à 6.6.130 (exclu) — NVD
Linux kernel de 6.7 (inclus) à 6.12.78 (exclu) — NVD
Linux kernel de 6.13 (inclus) à 6.18.19 (exclu) — NVD
Linux kernel de 6.19 (inclus) à 6.19.9 (exclu) — NVD
Linux kernel 7.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
CNA (éditeur ou attributeur)
Faiblesse (CWE)
NVD
Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1, CNA:416baaa9-dc9f-4396-8d5f-8c081fb06d67)
Faiblesse
CWE-908 · Autre (CWE-908)

Comment sont obtenues et calculées ces données