Vulnerabilities · 2024 · Linux
CVE-2024-46742
Linux Kernel vulnerability
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().
Affected products
Linux Kernel. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/stable/c/07f384c5be1f8633b13f0a22616e227570450bc6 · Patch
- git.kernel.org/stable/c/3b692794b81f2ecad69a4adbba687f3836824ada · Patch
- git.kernel.org/stable/c/4e8771a3666c8f216eefd6bd2fd50121c6c437db · Patch
- git.kernel.org/stable/c/878f32878351104448b86ef5b85d1f8ed6f599fb
- git.kernel.org/stable/c/ec28c35029b7930f31117f9284874b63bea4f31b
- lists.debian.org/debian-lts-announce/2025/05/msg00045.html
- nvd.nist.gov/vuln/detail/CVE-2024-46742
- cve.org/CVERecord?id=CVE-2024-46742
More vulnerabilities in Linux products
CVE-2026-46300CVE-2025-40364CVE-2025-40325CVE-2025-40300CVE-2025-40114CVE-2025-40014CVE-2025-39989CVE-2025-39967All 12,086
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.