1. Accueil
  2. Vulnérabilités
  3. CVE-2023-53474

CVE-2023-53474

x86/MCE/AMD: Use an u64 for bank_map

Publiée le 1 oct. 2025 · modifiée le 15 oct. 2026 · Sources : NVD, CNA (éditeur ou attributeur), EPSS (FIRST)

Faible 24/100

Résumé

In the Linux kernel, the following vulnerability has been resolved: x86/MCE/AMD: Use an u64 for bank_map Thee maximum number of MCA banks is 64 (MAX_NR_BANKS), see a0bc32b3cacf ("x86/mce: Increase maximum number of banks to 64"). However, the bank_map which contains a bitfield of which banks to initialize is of type unsigned int and that overflows when those bit numbers are >= 32, leading to UBSAN complaining correctly: UBSAN: shift-out-of-bounds in arch/x86/kernel/cpu/mce/amd.c:1365:38 shift exponent 32 is too large for 32-bit type 'int' Change the bank_map to a u64 and use the proper BIT_ULL() macro when modifying bits in there. [ bp: Rewrite commit message. ]

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

Produits et versions affectés

Linux (6 ligne(s))
Linux
ProduitVersionsCorrigé dansSource
Linux 5.10 — CNA (éditeur ou attributeur)
Linux kernel de 5.10 (inclus) à 5.10.180 (exclu) — NVD
Linux kernel de 5.11 (inclus) à 5.15.111 (exclu) — NVD
Linux kernel de 5.16 (inclus) à 6.1.28 (exclu) — NVD
Linux kernel de 6.2 (inclus) à 6.2.15 (exclu) — NVD
Linux kernel de 6.3 (inclus) à 6.3.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
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-190 · Corruption mémoire

Comment sont obtenues et calculées ces données