CVE-2024-46742 json
smb/server: fix potential null-ptr-deref of lease_ctx_info in smb2_open()
published 2024-09-18 2 y ago modified 2026-06-17 4 mo ago also EUVD-2024-42003
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 17%
- public exploits
- 0
- none known
Summary
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().
Patch / fix
- Linux Linux 5.15.181, 6.1.135, 6.6.51, 6.10.10, 6.11
- linux Debian 12 6.1.135-1
- linux Debian 14, Debian 13 6.10.11-1
debian advisories DEBIAN-CVE-2024-46742
- linux Ubuntu 22.04 LTS 5.15.0-144.157
- linux-aws Ubuntu 22.04 LTS 5.15.0-1088.95
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1087.96
- linux-gke Ubuntu 22.04 LTS 5.15.0-1085.91
- linux-ibm Ubuntu 22.04 LTS 5.15.0-1080.83
- linux-kvm Ubuntu 22.04 LTS 5.15.0-1084.89
- linux-azure Ubuntu 22.04 LTS 5.15.0-1094.103
- linux-gkeop Ubuntu 22.04 LTS 5.15.0-1070.78
ubuntu advisories UBUNTU-CVE-2024-46742
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- git.kernel.org/stable/c/878f32878351104448b86ef5b85d1f8ed6f599fb commit
- git.kernel.org/stable/c/ec28c35029b7930f31117f9284874b63bea4f31b commit
- git.kernel.org/stable/c/07f384c5be1f8633b13f0a22616e227570450bc6 commit
- git.kernel.org/stable/c/3b692794b81f2ecad69a4adbba687f3836824ada commit
- git.kernel.org/stable/c/4e8771a3666c8f216eefd6bd2fd50121c6c437db commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-46742 updated cvss 5.5
kernel: smb/server: fix potential null-ptr-deref of lease_ctx_info in smb2_open()
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.26% chance of exploitation in the next 30 days, higher than 17% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected products
- Linux Linux
Classification
- Weakness
-
- CWE-476 NULL Pointer Dereference
- Technology feeds
References
- git.kernel.org /stable/c/878f32878351104448b86ef5b85d1f8ed6f599fb
- git.kernel.org /stable/c/ec28c35029b7930f31117f9284874b63bea4f31b
-
git.kernel.org
/stable/c/07f384c5be1f8633b13f0a22616e227570450bc6
patch
-
git.kernel.org
/stable/c/3b692794b81f2ecad69a4adbba687f3836824ada
patch
-
git.kernel.org
/stable/c/4e8771a3666c8f216eefd6bd2fd50121c6c437db
patch
- lists.debian.org /debian-lts-announce/2025/05/msg00045.html
Sources
- CVE List CVE-2024-46742
- NVD CVE-2024-46742
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.