Aller au contenu
Non notée

CVE-2024-42265 In the Linux kernel, the following vulnerability has been resolved: protect the fetch of ->fd[fd] in do_dup2() from…

Description

In the Linux kernel, the following vulnerability has been resolved: protect the fetch of ->fd[fd] in do_dup2() from mispredictions both callers have verified that fd is not greater than ->max_fds; however, misprediction might end up with tofree = fdt->fd[fd]; being speculatively executed. That's wrong for the same reasons why it's wrong in close_fd()/file_close_fd_locked(); the same solution applies - array_index_nospec(fd, fdt->max_fds) could differ from fd only in case of speculative execution on mispredicted path.

Produits et versions touchés

Produit Versions touchées Corrigé en
Linux 6.11 premières → < 6.11 6.11
Linux 6.10 premières → < 6.10.4 6.10.4
Linux 6.6 premières → < 6.6.45 6.6.45
Linux 6.1 premières → < 6.1.104 6.1.104
Linux 5.15 premières → < 5.15.165 5.15.165
Linux 5.10 premières → < 5.10.224 5.10.224
Linux 5.4 premières → < 5.4.282 5.4.282
Linux 4.19 premières → < 4.19.320 4.19.320
Linux 3.7 Pas de correctif indiqué
Afficher l’autre branche
Produit Versions touchées Corrigé en
SIMATIC S7-1500 TM MFP - GNU/Linux subsystem 1.1 premières → < 1.1.1 1.1.1
Les 18286 CVE de Linux →
Suivre cette CVE