Aller au contenu
7.8 Élevée

CVE-2024-49889 In the Linux kernel, the following vulnerability has been resolved: ext4: avoid use-after-free in ext4_ext_show_leaf()…

Description

In the Linux kernel, the following vulnerability has been resolved: ext4: avoid use-after-free in ext4_ext_show_leaf() In ext4_find_extent(), path may be freed by error or be reallocated, so using a previously saved *ppath may have been freed and thus may trigger use-after-free, as follows: ext4_split_extent path = *ppath; ext4_split_extent_at(ppath) path = ext4_find_extent(ppath) ext4_split_extent_at(ppath) // ext4_find_extent fails to free path // but zeroout succeeds ext4_ext_show_leaf(inode, path) eh = path[depth].p_hdr // path use-after-free !!! Similar to ext4_split_extent_at(), we use *ppath directly as an input to ext4_ext_show_leaf(). Fix a spelling error by the way. Same problem in ext4_ext_handle_unwritten_extents(). Since 'path' is only used in ext4_ext_show_leaf(), remove 'path' and use *ppath directly. This issue is triggered only when EXT_DEBUG is defined and therefore does not affect functionality.

Produits et versions touchés

Produit Versions touchées Corrigé en
Linux 6.12 premières → < 6.12 6.12
Linux 6.11 premières → < 6.11.3 6.11.3
Linux 6.10 premières → < 6.10.14 6.10.14
Linux 6.6 premières → < 6.6.55 6.6.55
Linux 6.1 premières → < 6.1.113 6.1.113
Linux 5.15 premières → < 5.15.168 5.15.168
Linux 5.10 premières → < 5.10.227 5.10.227
Linux 3.18 Pas de correctif indiqué
RUGGEDCOM RST2428P 3.2 premières → < 3.2 3.2
Afficher les 3 autres branches
Produit Versions touchées Corrigé en
SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family 3.2 premières → < 3.2 3.2
SCALANCE XCM-/XRM-/XCH-/XRH-300 family 3.2 premières → < 3.2 3.2
SIMATIC S7-1500 TM MFP - GNU/Linux subsystem 1.1 premières → < 1.1.1 1.1.1

Références

Chronologie

  1. Publiée
  2. Dernière modification
Les 18283 CVE de Linux →
Suivre cette CVE