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 18300 CVEs of Linux →
CVE-2026-99284
net: skbuff: propagate shared-frag marker in skb_zerocopy()
Not rated
CVE-2026-99283
netfilter: conntrack: tcp: use UNACK timeout for non-closing RST packets
Not rated
CVE-2026-99282
net/sched: sch_teql: fix use-after-free on lower qdisc drop
Not rated
CVE-2026-99281
tun: Require CAP_NET_ADMIN to attach to an ownerless device
Not rated