Advisory Published
Updated

CVE-2024-42265: protect the fetch of ->fd[fd] in do_dup2() from mispredictions

First published: Sat Aug 17 2024(Updated: )

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.

Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Affected SoftwareAffected VersionHow to fix
IBM Security Verify Governance - Identity Manager<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Software Stack<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Virtual Appliance<=ISVG 10.0.2
IBM Security Verify Governance Identity Manager Container<=ISVG 10.0.2
debian/linux<=5.10.223-1
5.10.234-1
6.1.129-1
6.1.128-1
6.12.21-1
6.12.22-1
debian/linux-6.1
6.1.129-1~deb11u1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is the severity of CVE-2024-42265?

    CVE-2024-42265 has a severity rating that indicates it could potentially lead to a denial of service or compromise of system integrity based on its exploitation.

  • How do I fix CVE-2024-42265?

    To fix CVE-2024-42265, update your Linux kernel to version 5.10.226-1, 6.1.123-1, 6.1.119-1, 6.12.10-1, 6.12.11-1, or the specific patched version provided by your distribution.

  • What systems are affected by CVE-2024-42265?

    CVE-2024-42265 affects specific versions of the Linux kernel, particularly those below version 5.10.226-1 and certain 6.x series versions as listed.

  • What is the nature of the vulnerability CVE-2024-42265?

    CVE-2024-42265 is a flaw in the Linux kernel specifically related to the handling of file descriptors in the do_dup2() function.

  • Is there a workaround for CVE-2024-42265 if I cannot apply the fix?

    While a definitive workaround may not be available, it's generally advised to minimize exposure by implementing strict access controls and monitoring systems for unusual behavior.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203