VDB

CVE-2024-46742

CVE-2024-46742 PUBLISHED

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

Reported by linux · Published September 18, 2024

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().

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux_kernellinux6.10.10, 6.6.51
LinuxLinux878f32878351104448b86ef5b85d1f8ed6f599fb

Affected products

VendorProductVersions
LinuxLinux0626e6641f6b467447c81dd7678a69c66f7746cf, 0626e6641f6b467447c81dd7678a69c66f7746cf, 0626e6641f6b467447c81dd7678a69c66f7746cf
LinuxLinux5.15, 0, 5.15.181
LinuxLinux5.15, 5.15.181, 6.1.135
linuxlinux_kernel5.15, 5.15, 5.15

Timeline

  • Sep 17, 2024 CVE Published
  • Sep 19, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (10 in total, the first dated here)
  • Jan 4, 2026 Security Advisory (180 in total, the first dated here)
  • Nov 15, 2026 CVE Updated
  • Nov 21, 2026 Distribution Patch (166 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-46742
vulnetix vdb fixes CVE-2024-46742

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-46742/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›