CVE-2024-46742

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

MEDIUM
5.5
CVSS Score
Published: September 18, 2024 at 07:12 AM UTC
Updated: June 17, 2026 at 07:55 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 6.6.515.15 ≤ v < 5.15.1815.15 ≤ v < 6.1.1355.15 ≤ v < 6.10.105.15 ≤ v < 6.115.15 ≤ v < 6.6.516.7 ≤ v < 6.10.106.11 rc16.11 rc26.11 rc36.11 rc4626e6641f6b467447c81dd7678a69c66f7746cf
Vendor states this is fixed in 07f384c5be1f8633b13f0a22616e227570450bc6 (fixed)
Vendor states this is fixed in 3b692794b81f2ecad69a4adbba687f3836824ada (fixed)
Vendor states this is fixed in 4e8771a3666c8f216eefd6bd2fd50121c6c437db (fixed)
Vendor states this is fixed in 878f32878351104448b86ef5b85d1f8ed6f599fb (fixed)
Vendor states this is fixed in ec28c35029b7930f31117f9284874b63bea4f31b (fixed)
Vendor states this is fixed in 5.15 (unaffected)
Vendor states this is fixed in 5.15.181 (unaffected)
Vendor states this is fixed in 6.1.135 (unaffected)
Vendor states this is fixed in 6.10.10 (unaffected)
Vendor states this is fixed in 6.11 (unaffected)
Vendor states this is fixed in 6.6.51 (unaffected)

References (6)

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card