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

CVE-2026-142850

crypto: nx - validate 'ignore' before subtracting in decompress

Publiée le 3 déc. 2026 · modifiée le 4 déc. 2026 · Sources : NVD, CNA (éditeur ou attributeur), EPSS (FIRST)

Faible 36/100

Résumé

In the Linux kernel, the following vulnerability has been resolved: crypto: nx - validate 'ignore' before subtracting in decompress The decompress() function subtracts the header-supplied `ignore` value (a u16 from the compressed stream) from `dlen` (the number of bytes produced by the decompressor) without checking that ignore <= dlen. If a caller decompresses a crafted buffer where `hdr->ignore` exceeds the actual decompressed length, the subtraction wraps around to a near-UINT_MAX value. The subsequent memcpy() then copies gigabytes of data past the destination buffer, causing an out-of-bounds kernel write. Add a bounds check before the subtraction and return -EINVAL if the value is inconsistent.

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

Produits et versions affectés

Linux (8 ligne(s))
Linux
ProduitVersionsCorrigé dansSource
Linux avant 5.10.275 (exclu) — CNA (éditeur ou attributeur)
Linux avant 5.15.226 (exclu) — CNA (éditeur ou attributeur)
Linux avant 6.1.193 (exclu) — CNA (éditeur ou attributeur)
Linux avant 6.6.163 (exclu) — CNA (éditeur ou attributeur)
Linux avant 6.12.117 (exclu) — CNA (éditeur ou attributeur)
Linux avant 6.18.63 (exclu) — CNA (éditeur ou attributeur)
Linux avant 7.3.4 (exclu) — CNA (éditeur ou attributeur)
Linux Versions non précisées — CNA (éditeur ou attributeur)

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)
Vecteur CVSS
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1, CNA:416baaa9-dc9f-4396-8d5f-8c081fb06d67)

Comment sont obtenues et calculées ces données