1. Accueil
  2. Vulnérabilités
  3. CVE-2025-40022

CVE-2025-40022

crypto: af_alg - Fix incorrect boolean values in af_alg_ctx

Publiée le 24 oct. 2025 · modifiée le 10 nov. 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

Faible 14/100

Résumé

In the Linux kernel, the following vulnerability has been resolved: crypto: af_alg - Fix incorrect boolean values in af_alg_ctx Commit 1b34cbbf4f01 ("crypto: af_alg - Disallow concurrent writes in af_alg_sendmsg") changed some fields from bool to 1-bit bitfields of type u32. However, some assignments to these fields, specifically 'more' and 'merge', assign values greater than 1. These relied on C's implicit conversion to bool, such that zero becomes false and nonzero becomes true. With a 1-bit bitfields of type u32 instead, mod 2 of the value is taken instead, resulting in 0 being assigned in some cases when 1 was intended. Fix this by restoring the bool type.

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

Produits et versions affectés

Linux (4 ligne(s))
Linux
ProduitVersionsCorrigé dansSource
Linux de 6.1.154 (inclus) à 6.1.155 (exclu) — CNA (éditeur ou attributeur)
Linux de 6.6.108 (inclus) à 6.6.109 (exclu) — CNA (éditeur ou attributeur)
Linux de 6.12.49 (inclus) à 6.12.50 (exclu) — CNA (éditeur ou attributeur)
Linux de 6.16.9 (inclus) à 6.16.10 (exclu) — 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)
  2. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1298)
  3. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1335)

Avis CERT-FR

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)

Comment sont obtenues et calculées ces données