CVE-2024-42265
MediumIn 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.
CVSS 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
References
The following references provide additional information about CVE-2024-42265 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
-
-
-
PatchKernel patch commithttps://git.kernel.org/stable/c/08775b3d6ed117cf4518754ec7300ee42b6a5368
-
PatchKernel patch commithttps://git.kernel.org/stable/c/1171ceccabfd596ca370c5d2cbb47d110c3f2fe1
-
PatchKernel patch commithttps://git.kernel.org/stable/c/3f480493550b6a23d3a65d095d6569d4a7f56a0f
Frequently asked questions
-
What is CVE-2024-42265?
CVE-2024-42265 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 . CVE-2024-42265 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2024-42265?
CVE-2024-42265 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2024-42265?
No patch is currently available for CVE-2024-42265. Monitor the NIST NVD and your Linux distribution's security advisories for updates.
-
Is CVE-2024-42265 actively exploited?
No — CVE-2024-42265 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.