Not rated
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.
Affected products and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Linux 6.11 | earliest → < 6.11 | 6.11 |
| Linux 6.10 | earliest → < 6.10.4 | 6.10.4 |
| Linux 6.6 | earliest → < 6.6.45 | 6.6.45 |
| Linux 6.1 | earliest → < 6.1.104 | 6.1.104 |
| Linux 5.15 | earliest → < 5.15.165 | 5.15.165 |
| Linux 5.10 | earliest → < 5.10.224 | 5.10.224 |
| Linux 5.4 | earliest → < 5.4.282 | 5.4.282 |
| Linux 4.19 | earliest → < 4.19.320 | 4.19.320 |
| Linux | 3.7 | No fix stated |
Show the other branch Hide the other branch
| Product | Affected versions | Fixed in |
|---|---|---|
| SIMATIC S7-1500 TM MFP - GNU/Linux subsystem 1.1 | earliest → < 1.1.1 | 1.1.1 |
Other CVEs of Linux
The 18286 CVEs of Linux →
CVE-2026-100082
xen-blkback: Avoid UAF when reading I/O statistics
Not rated
CVE-2026-100081
xen-netback: defer xenvif_mcast_addr_list_free()
Not rated
CVE-2026-100080
xen-netback: Fix UAF when reading statistics data
Not rated
CVE-2026-99270
tcp: Fix potential UAF in reqsk_timer_handler().
8.1
High