CWE
476
Advisory Published
Updated

CVE-2024-46742: smb/server: fix potential null-ptr-deref of lease_ctx_info in smb2_open()

First published: Wed Sep 18 2024(Updated: )

In the Linux kernel, the following vulnerability has been resolved: smb/server: fix potential null-ptr-deref of lease_ctx_info in smb2_open() null-ptr-deref will occur when (req_op_level == SMB2_OPLOCK_LEVEL_LEASE) and parse_lease_state() return NULL. Fix this by check if 'lease_ctx_info' is NULL. Additionally, remove the redundant parentheses in parse_durable_handle_context().

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

Affected SoftwareAffected VersionHow to fix
Linux kernel<6.6.51
Linux kernel>=6.7<6.10.10
Linux kernel=6.11-rc1
Linux kernel=6.11-rc2
Linux kernel=6.11-rc3
Linux kernel=6.11-rc4

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.

Frequently Asked Questions

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

    CVE-2024-46742 is a critical vulnerability that can lead to potential null pointer dereference in the Linux kernel.

  • How do I fix CVE-2024-46742?

    To address CVE-2024-46742, upgrade the Linux kernel to version 6.6.51 or ensure you are using versions that are not affected.

  • Which versions of Linux kernel are affected by CVE-2024-46742?

    CVE-2024-46742 affects Linux kernel versions from 6.7 up to but not including 6.6.51, as well as specific 6.11 release candidates.

  • What component in the Linux kernel is impacted by CVE-2024-46742?

    CVE-2024-46742 impacts the SMB server component within the Linux kernel.

  • Is there a workaround for CVE-2024-46742?

    There is no documented workaround for CVE-2024-46742; updating the kernel is the recommended mitigation.

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