CVEvulnerability
CVE-2024-46742
5.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2024-09-18
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-476
Description
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 configurations
• linux linux kernel (< 6.6.51)
• linux linux kernel (>= 6.7 < 6.10.10)
• linux linux kernel 6.11
Related
Weakness · CWE (1)
- CWE-476 NULL Pointer Dereference weakness
References
- https://git.kernel.org/stable/c/07f384c5be1f8633b13f0a22616e227570450bc6 Patch
- https://git.kernel.org/stable/c/3b692794b81f2ecad69a4adbba687f3836824ada Patch
- https://git.kernel.org/stable/c/4e8771a3666c8f216eefd6bd2fd50121c6c437db Patch
- https://git.kernel.org/stable/c/878f32878351104448b86ef5b85d1f8ed6f599fb git.kernel.org
- https://git.kernel.org/stable/c/ec28c35029b7930f31117f9284874b63bea4f31b git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html lists.debian.org