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

CVE-2022-49989

xen/privcmd: fix error exit of privcmd_ioctl_dm_op()

Publiée le 18 juin 2025 · modifiée le 5 nov. 2026 · Sources : NVD, CNA (éditeur ou attributeur), EPSS (FIRST)

Faible 27/100

Résumé

In the Linux kernel, the following vulnerability has been resolved: xen/privcmd: fix error exit of privcmd_ioctl_dm_op() The error exit of privcmd_ioctl_dm_op() is calling unlock_pages() potentially with pages being NULL, leading to a NULL dereference. Additionally lock_pages() doesn't check for pin_user_pages_fast() having been completely successful, resulting in potentially not locking all pages into memory. This could result in sporadic failures when using the related memory in user mode. Fix all of that by calling unlock_pages() always with the real number of pinned pages, which will be zero in case pages being NULL, and by checking the number of pages pinned by pin_user_pages_fast() matching the expected number of pages.

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

Produits et versions affectés

Linux (5 ligne(s))
Linux
ProduitVersionsCorrigé dansSource
Linux 4.11 — CNA (éditeur ou attributeur)
Linux kernel de 4.11 (inclus) à 5.10.140 (exclu) — NVD
Linux kernel de 5.11 (inclus) à 5.15.64 (exclu) — NVD
Linux kernel de 5.16 (inclus) à 5.19.6 (exclu) — NVD
Linux kernel 6.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:N/I:N/A:H (CVSS 3.1, NVD)
Faiblesse
CWE-476 · Corruption mémoire

Comment sont obtenues et calculées ces données