1. Accueil
  2. Vulnérabilités
  3. CVE-2022-50226

CVE-2022-50226

In the Linux kernel, the following vulnerability has been resolved: crypto: ccp - Use kzalloc for sev ioctl…

Publiée le 18 juin 2025 · modifiée le 17 juin 2026 · Sources : NVD, EPSS (FIRST)

Faible 26/100

Résumé

In the Linux kernel, the following vulnerability has been resolved: crypto: ccp - Use kzalloc for sev ioctl interfaces to prevent kernel memory leak For some sev ioctl interfaces, input may be passed that is less than or equal to SEV_FW_BLOB_MAX_SIZE, but larger than the data that PSP firmware returns. In this case, kmalloc will allocate memory that is the size of the input rather than the size of the data. Since PSP firmware doesn't fully overwrite the buffer, the sev ioctl interfaces with the issue may return uninitialized slab memory. Currently, all of the ioctl interfaces in the ccp driver are safe, but to prevent future problems, change all ioctl interfaces that allocate memory with kmalloc to use kzalloc and memset the data buffer to zero in sev_ioctl_do_platform_status.

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

Produits et versions affectés

Linux (4 ligne(s))
Linux
ProduitVersionsCorrigé dansSource
Linux kernel de 4.16 (inclus) à 5.10.173 (exclu) — NVD
Linux kernel de 5.11 (inclus) à 5.15.61 (exclu) — NVD
Linux kernel de 5.16 (inclus) à 5.18.18 (exclu) — NVD
Linux kernel de 5.19 (inclus) à 5.19.2 (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:N/I:N/A:H (CVSS 3.1, NVD)
Faiblesse
CWE-401 · Autre (CWE-401)

Comment sont obtenues et calculées ces données