CVE-2024-46742
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux_kernel | linux | 6.10.10, 6.6.51 |
| Linux | Linux | 878f32878351104448b86ef5b85d1f8ed6f599fb |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 0626e6641f6b467447c81dd7678a69c66f7746cf, 0626e6641f6b467447c81dd7678a69c66f7746cf, 0626e6641f6b467447c81dd7678a69c66f7746cf |
| Linux | Linux | 5.15, 0, 5.15.181 |
| Linux | Linux | 5.15, 5.15.181, 6.1.135 |
| linux | linux_kernel | 5.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