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

CVE-2023-54062

ext4: fix invalid free tracking in ext4_xattr_move_to_block()

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

Faible 33/100

Résumé

In the Linux kernel, the following vulnerability has been resolved: ext4: fix invalid free tracking in ext4_xattr_move_to_block() In ext4_xattr_move_to_block(), the value of the extended attribute which we need to move to an external block may be allocated by kvmalloc() if the value is stored in an external inode. So at the end of the function the code tried to check if this was the case by testing entry->e_value_inum. However, at this point, the pointer to the xattr entry is no longer valid, because it was removed from the original location where it had been stored. So we could end up calling kvfree() on a pointer which was not allocated by kvmalloc(); or we could also potentially leak memory by not freeing the buffer when it should be freed. Fix this by storing whether it should be freed in a separate variable.

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

Produits et versions affectés

Linux (8 ligne(s))
Linux
ProduitVersionsCorrigé dansSource
Linux de 4.14.308 (inclus) à 4.14.315 (exclu) — CNA (éditeur ou attributeur)
Linux de 4.19.276 (inclus) à 4.19.283 (exclu) — CNA (éditeur ou attributeur)
Linux de 5.4.235 (inclus) à 5.4.243 (exclu) — CNA (éditeur ou attributeur)
Linux de 5.10.173 (inclus) à 5.10.180 (exclu) — CNA (éditeur ou attributeur)
Linux de 5.15.99 (inclus) à 5.15.112 (exclu) — CNA (éditeur ou attributeur)
Linux de 6.1.16 (inclus) à 6.1.29 (exclu) — CNA (éditeur ou attributeur)
Linux de 6.2.3 (inclus) à 6.2.16 (exclu) — CNA (éditeur ou attributeur)
Linux 6.3 — 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:L/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